SVG Implementation Status
ImageEn provides a basic implementation of the SVG standard allowing SVG files to be loaded as bitmaps or imported as layers. Our implementation does not work well with:
◼Overly complex SVG files (many tags, or many points for a paths or polygons): May cause memory issues or not render
◼Objects that make use of gradients, CSS styles or clip paths: Styles are not rendered
◼Text, particularly text that uses textPath: May not render correctly
◼Complex transforms: May not position correctly
◼Paths containing Arcs: May not render correctly
Implemented Tag Types
Tag | Properties | Notes |
svg | id, style, x, y, width, height, viewBox | |
a | id, href | |
circle | id, style, cx, cy, r, transform | |
defs | id, style, transform | Only processes start colors for gradients |
desc | id | |
ellipse | id, style, cx, cy, rx, ry, transform | |
g | id, style, transform | |
image | id, style, x, y, width, height, preserveAspectRatio, href, xlink:href, transform | Enable AllowWebDownload to load web-based images |
line | id, style, x1, y1, x2, y2, transform | |
path | id, style, d, transform | |
polygon | id, style, points, transform | |
polyline | id, style, points, transform | |
rect | id, style, x, y, width, height, rx, ry, transform | |
switch | id, style, transform | Conditions are not evaluated, only first tag is processed |
text | id, style, x, y, font-family, font-size, font-style, font-weight, transform | textPath i not supported |
title | id | |
Pending Tag Types Tag | Properties |
clipPath | id, style, clipPathUnits, transform |
use | id, style, x, y, width, height, xlink:href, transform |
linearGradient | id, style, x1, y1, x2, y2, gradientUnits, gradientTransform, spreadMethod, xlink:href |
radialGradient | id, style, cx, cy, r, fx, fy, gradientUnits, gradientTransform, spreadMethod, xlink:href |
stop | id, style, offset |
style (CSS) | * |
Implemented Style Attributes
◼background-color
◼color
◼fill
◼fill-opacity
◼fill-rule
◼opacity
◼stroke
◼stroke-width
Pending Style Attributes◼clip-path
◼clip-rule
◼display
◼overflow
◼stop-color
◼stop-opacity
◼stroke-dasharray
◼stroke-dashoffset
◼stroke-linecap
◼stroke-linejoin
◼stroke-miterlimit
◼stroke-opacity
◼visibility
Implemented Font Attributes
◼font-family
◼font-size
◼font-weight
◼font-style
◼dominant-baseline
Pending Font Attributes◼font-variant
◼font-stretch
◼font
◼text-anchor
◼letter-spacing
◼word-spacing
◼writing-mode
◼text-decoration
◼alignment-baseline
◼baseline-shift
◼line-height
| Demos\InputOutput\SVGParsing\SVGParsing.dpr |
See Also
◼ParseSVG◼AsSVG