Navigation: Code Documentation > RSVclSVG > RSSVGSyncObjs > Classes
TSVGPaintJob Class
Defines a job for painting or drawing a SVG in a thread
Server jobs are executed by the RSSVGSyncObjs.TSVGServerThread class.
Namespace: RSSVGSyncObjs
TPersistent RSSVGSyncObjs.TSVGServerJob RSSVGSyncObjs.TSVGPaintJob
Delphi
type TSVGPaintJob = class(TSVGServerJob) end;
Name
Description
Create(TSVGDocument,Single,Single)
Overloaded. Initializes a new instance of the TSVGPaintJob class.
Destroy
Represents the destructor of the TSVGPaintJob class. (Overrides RSSVGSyncObjs.TSVGServerJob.Destroy.)
Top
Bitmap
Bitmap to draw the SVG into. The RSSVGSyncObjs.TSVGPaintJob.DefaultWidth and RSSVGSyncObjs.TSVGPaintJob.DefaultHeight properties define the default minimum size of the bitmap, which will be changed based on the size of the SVG and the RSSVGSyncObjs.TSVGPaintJob.WrapMode and RSSVGSyncObjs.TSVGPaintJob.ScaleFactor properties
The bitmap is created when the job is executed if this property is nil
DefaultHeight
Default Height of Bitmap where SVG is to be drawn
DefaultWidth
Default Width of Bitmap where SVG is to be drawn
ScaleFactor
Defines how the SVG is scaled when RSSVGSyncObjs.TSVGPaintJob.WrapMode is iwOriginal
SVG
SVG Document to process in the job (Inherited from RSSVGSyncObjs.TSVGServerJob.)
SVGRootID
Represents property SVGRootID.
WrapMode
Defines how the SVG is drawn to the bitmap
Execute
Execute the job (Overrides RSSVGSyncObjs.TSVGServerJob.Execute.)
•RSSVGSyncObjs