Skip to content

Commit

Permalink
Added documentation of the SVG symbol type to the symbol document (#3…
Browse files Browse the repository at this point in the history
…671)

git-svn-id: http://svn.osgeo.org/mapserver/trunk@13306 7532c77e-422f-0410-93f4-f0b67bdd69e2
  • Loading branch information
Havard Tveite committed Mar 26, 2012
1 parent 5a5610a commit f1124da
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions en/mapfile/symbol.txt
Expand Up @@ -50,9 +50,9 @@ ANCHORPOINT [x] [y]
specifies the center of the symbol (in the y direction).

`ANCHORPOINT` can be used with `SYMBOL`\s of `TYPE` `ellipse`,
`pixmap`, `truetype` and `vector`. To ensure proper behaviour for
vector symbols, the left and top edges of the bounding box of the
symbol should be at 0.
`pixmap`, `svg`, `truetype` and `vector`. To ensure proper
behaviour for vector symbols, the left and top edges of the
bounding box of the symbol should be at 0.

.. versionadded:: 6.2

Expand Down Expand Up @@ -199,18 +199,23 @@ TRANSPARENT [color index]
.. index::
triple: SYMBOL; TYPE; simple

.. index::
triple: SYMBOL; TYPE; svg

.. index::
triple: SYMBOL; TYPE; truetype

.. index::
triple: SYMBOL; TYPE; vector

TYPE [ellipse|hatch|pixmap|simple|truetype|vector]
TYPE [ellipse|hatch|pixmap|simple|svg|truetype|vector]
- `ellipse`: radius values in the x and y directions define an ellipse.
- `hatch`: produces hatched lines throughout the (polygon) shape.
- `pixmap`: a user supplied image will be used as the symbol.
- `simple`: default symbol type (1 pixel point, 1 pixel line, solid
fill).
- `svg`: scalable vector graphics (SVG) symbol. Requires the
libsvg-cairo library.
- `truetype`: TrueType font to use as defined in the :ref:`MAP`
:ref:`FONTSET`\.
- `vector`: a vector drawing is used to define the shape of the symbol.
Expand Down

0 comments on commit f1124da

Please sign in to comment.