DrawSVGA
Vector graphics, SVG, Page content
Description
ANSI variant of DrawSVG
Accepts string parameters as ANSI text and otherwise behaves identically to the wide-string entry point
Syntax
DLL
int DLDrawSVGA(int InstanceID, double Left, double Top, double Width, double Height, const wchar_t * SVG, const wchar_t * AltText);Return values
Returns 1 when at least one supported vector shape is drawn, or 0 for empty, invalid, oversized, or unsupported-only input
Remarks
The supported vector subset includes svg, g, defs, use, clipPath, all standard path commands, basic geometry, transforms, view-box alignment, presentation attributes, simple tag, .class, and #id CSS rules, inline styles, fill, stroke, dash, and opacity
Input is limited to 16 MiB, 100000 elements, and 128 nesting levels and does not load external resources
Gradient paint servers use their first colour stop as a solid fallback, while SVG text, external images, masks, and filters are ignored
The DLL DLDrawSVGA variant accepts text according to the configured ANSI mode