Base class for graphics objects (brush, pen, path, image, etc) in the RiverSoftAVG GDI+ library. The base graphics object contains a reference to the owning canvas.
Namespace: RSGdiPlusGraphics
Delphi
|
type
TRSGPGraphicsObject = class(TPersistent)
end;
|
|
Name
|
Description
|
|
Handle
|
Handle of the graphics object, used by the MS GDI+ flat API routines
|
|
OnChange
|
Occurs when the graphics object changes.
Note
|
There are two events that are exactly the same, OnChanged and OnChange. The extra event name is to allow easier transition from other Delphi libraries, either the VCL (OnChanged) or FMX (OnChange) libraries. Use either one as needed. Only one event is triggered.
|
|
|
OnChanged
|
Occurs when the graphics object changes.
Note
|
There are two events that are exactly the same, OnChanged and OnChange. The extra event name is to allow easier transition from other Delphi libraries, either the VCL (OnChanged) or FMX (OnChange) libraries. Use either one as needed. Only one event is triggered.
|
|
|
Owner
|
Canvas that owns the object. The Canvas will free this graphics object if it is destroyed. However, to keep memory use under control, it is recommended that you free graphics objects when you are finished with them.
|
Top
|
|
Name
|
Description
|
|
Changed
|
Call this method when the graphics object changes. It triggers an OnChange event.
|
|
Clone
|
Creates a copy of the graphics object
|
|
GetHandle
|
Call this method to acquire a handle from the GDI+ flat API library
|
|
Notification(TRSGPCanvas)
|
Called when the Canvas is releasing control of the graphics object. The canvas will no longer be responsible for freeing the graphics object.
|
|
Prepare(TRectF,Single)
|
Prepare the graphics object for drawing. Graphics objects respond in this method to upcoming calls. For example, gradient brushes can make sure the gradient will cover the entire rectangle.
|
|
QueryInterface(TGUID,Void)
|
Represents method QueryInterface(TGUID,Void).
|
|
ReleaseHandle
|
Releases the underlying GDI+ object back to the GDI+ library.
|
|
Update
|
Update native graphics object
|
|
_AddRef
|
Represents method _AddRef.
|
|
_Release
|
Represents method _Release.
|
Top
|
|
Name
|
Description
|
|
FHandle
|
Represents field FHandle.
|
Top
|