Changes between Version 2 and Version 3 of GSoC_SVG_Symbols_SECOND_DRAFT_OF_THE_MS_RFC


Ignore:
Timestamp:
Aug 10, 2009, 10:47:16 AM (15 years ago)
Author:
kiranvarma
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GSoC_SVG_Symbols_SECOND_DRAFT_OF_THE_MS_RFC

    v2 v3  
    1111
    1212The SVG parsing and rendering will be triggered by the following syntax:
     13
     14{{{
    1315SYMBOL
    1416TYPE SVG
    1517SVGPATH / p a t h / t o / f i l e . svg
    1618END
     19}}}
     20
    1721The choice for using a SYMBOL for the task is to allow for the reuse of the SVG symbol easily within classes.
    1822
     
    38421. Implement an SVG parser. For this, we directly make use of the SVG Viewer example provided along with the AGG
    3943sources.
     44
    40452. Modify the MapServer lexical analyzer and parser to recognize the new keywords (SVG and SVGPATH).
     46
    41473. Modify the symbolObj structure to store information about the SVG symbol requested (eg. File path).
     48
    42494. Write a single function to render a parsed SVG file to a pixmap. The pixmap will be an intermediate form that can then
    4350be rendered. The pixmap will be stored in cache memory to prevent having to constantly be rasterized it every time a
    4451symbol is drawn.
     52
    45535. Create a createBrushFromSVG() function that creates a GD image pixmap. Also modify the basic rendering functions
    4654to support the new symbol type by using the createBrushFromSVG function.
     55
    47566. Render the pixmap into the final image file. This will be done using a mixture of the AGG and GD libraries.
    4857
     
    52614.1 AGG/SVG Parser.
    5362The SVG parsing and pixmap generation functions will be stored in source files stored at
     63
     64{{{
    5465/ maps e rve r / r e n d e r e r s / agg / svg /
     66}}}
     67
    5568The files within the above directory include the files for:
    5669a. SVG Parsing