TTMSFNCGraphicsSVG Class
SVG graphics engine alias used for SVG-based rendering output.
API unit family: TMSFNCGraphicsSVGEngine
Inherits from: TTMSFNCGraphicsSVGEngine
Syntax
TTMSFNCGraphicsSVG = class(TTMSFNCGraphicsSVGEngine)
Properties
| Name | Description |
|---|---|
| SVG | Provides read access to the raw SVG lines as they are generated. (inherited from TTMSFNCGraphicsSVGEngine) |
Methods
| Name | Description |
|---|---|
| BeginPrinting | Signals the start of a print pass; initializes the SVG output buffer. (inherited from TTMSFNCGraphicsSVGEngine) |
| BeginScene | Begins an SVG drawing scene and returns True when the scene is ready to accept drawing commands. (inherited from TTMSFNCGraphicsSVGEngine) |
| Build | Returns the accumulated SVG markup as a string. (inherited from TTMSFNCGraphicsSVGEngine) |
| ClipRect | Clips subsequent drawing to the specified rectangle using an SVG clipPath element. (inherited from TTMSFNCGraphicsSVGEngine) |
| DrawArc | Emits an SVG arc segment as a <path> element. (inherited from TTMSFNCGraphicsSVGEngine) |
| DrawBitmap | Embeds a bitmap into the SVG output as a <image> element encoded in base-64. (inherited from TTMSFNCGraphicsSVGEngine) |
| DrawEllipse | Emits an SVG <ellipse> element bounded by the given coordinates. (inherited from TTMSFNCGraphicsSVGEngine) |
| DrawLine | Emits an SVG <line> element between two points. (inherited from TTMSFNCGraphicsSVGEngine) |
| DrawPath | Emits an SVG <path> element from the given path object. (inherited from TTMSFNCGraphicsSVGEngine) |
| DrawPolygon | Emits an SVG <polygon> element for a closed shape. (inherited from TTMSFNCGraphicsSVGEngine) |
| DrawPolyline | Emits an SVG <polyline> element for an open shape. (inherited from TTMSFNCGraphicsSVGEngine) |
| DrawRectangle | Emits an SVG <rect> element using all four sides. (inherited from TTMSFNCGraphicsSVGEngine) |
| DrawRoundRectangle | Emits an SVG rounded rectangle using a <rect> element with rx/ry attributes. (inherited from TTMSFNCGraphicsSVGEngine) |
| EndPrinting | Signals the end of a print pass and finalizes the SVG output. (inherited from TTMSFNCGraphicsSVGEngine) |
| EndScene | Ends the current SVG drawing scene and finalizes the accumulated markup. (inherited from TTMSFNCGraphicsSVGEngine) |
| GetMatrix | Returns the current transformation matrix of the SVG context. (inherited from TTMSFNCGraphicsSVGEngine) |
| ResetTextAngle | Resets the text rotation applied by a previous call to SetTextAngle. (inherited from TTMSFNCGraphicsSVGEngine) |
| RestoreState | Restores a previously saved graphics state. (inherited from TTMSFNCGraphicsSVGEngine) |
| SaveState | Saves the current graphics state and returns a snapshot that can be passed to RestoreState. (inherited from TTMSFNCGraphicsSVGEngine) |
| SetFill | Applies a fill definition to the current SVG rendering state. (inherited from TTMSFNCGraphicsSVGEngine) |
| SetFillColor | Sets the solid fill color in the current SVG rendering state. (inherited from TTMSFNCGraphicsSVGEngine) |
| SetFillKind | Sets the fill kind (solid, gradient, none, etc.) in the current SVG rendering state. (inherited from TTMSFNCGraphicsSVGEngine) |
| SetFont | Applies a complete font definition to the current SVG rendering state. (inherited from TTMSFNCGraphicsSVGEngine) |
| SetFontColor | Sets the text color in the current SVG rendering state. (inherited from TTMSFNCGraphicsSVGEngine) |
| SetFontName | Sets the font family name in the current SVG rendering state. (inherited from TTMSFNCGraphicsSVGEngine) |
| SetFontSize | Sets the font size in points in the current SVG rendering state. (inherited from TTMSFNCGraphicsSVGEngine) |
| SetFontStyles | Sets the font style flags (bold, italic, etc.) in the current SVG rendering state. (inherited from TTMSFNCGraphicsSVGEngine) |
| SetMatrix | Sets the transformation matrix applied to subsequent SVG drawing operations. (inherited from TTMSFNCGraphicsSVGEngine) |
| SetStroke | Applies a stroke definition to the current SVG rendering state. (inherited from TTMSFNCGraphicsSVGEngine) |
| SetStrokeColor | Sets the stroke color in the current SVG rendering state. (inherited from TTMSFNCGraphicsSVGEngine) |
| SetStrokeKind | Sets the stroke kind (solid, none, etc.) in the current SVG rendering state. (inherited from TTMSFNCGraphicsSVGEngine) |
| SetStrokeWidth | Sets the stroke line width in the current SVG rendering state. (inherited from TTMSFNCGraphicsSVGEngine) |
| SetTextAngle | Applies a rotation angle for subsequent text drawing and returns the adjusted rectangle. (inherited from TTMSFNCGraphicsSVGEngine) |