Canvas SVG parser: Difference between revisions

Jump to navigation Jump to search
m
m (→‎Supported SVG features: http://forum.flightgear.org/viewtopic.php?f=71&t=23299#p213304)
Line 91: Line 91:




== Known Limitations ==
NOTE: As of 08/2012, the Canvas system also provides support for raster images, however the SVG parser has not yet been extended to also support raster images via the "image" tag.
NOTE: As of 08/2012, the Canvas system also provides support for raster images, however the SVG parser has not yet been extended to also support raster images via the "image" tag.


Line 103: Line 104:
     |author=<nowiki>RevHardt</nowiki>
     |author=<nowiki>RevHardt</nowiki>
     |date=<nowiki>Tue Jun 24</nowiki>
     |date=<nowiki>Tue Jun 24</nowiki>
  }}
}}
{{FGCquote
  |Referring to the [https://gitorious.org/fg/canvas-hackers-fgdata/commit/7d249ce9556d52fb7ae066775023087fbd4daa2f#c106578 gitorious discussion  about having a styleable SVGSymbol class] - that is something that will be hard to support/integrate with pre-defined styling unless we patch svg.nas to accept a list of optional SVG attributes that are mapped to a transformation/rewrite-callback so that SVG attributes can be dynamically "rewritten" by the parser based on looking up a certain id (e.g. "background-color") and changing CSS stuff there.
  |{{cite web |url=http://forum.flightgear.org/viewtopic.php?p=209061#p209061
    |title=<nowiki>MapStructure styling</nowiki>
    |author=<nowiki>Hooray</nowiki>
    |date=<nowiki>Sun May 11</nowiki>
   }}
   }}
}}
}}

Navigation menu