Class TCustomCanvasParent
Unit
PXL.Canvas
Declaration
type TCustomCanvasParent = class abstract(TObject)
Description
Abstract class definition that can hold a child reference to canvas. Basically, this is an object that can own canvas internally and have functions that are executed along with canvas's BeginScene and EndScene calls.
Hierarchy
- TObject
- TCustomCanvasParent
Overview
Methods
Description
Methods
 |
function CanvasBeginScene: Boolean; virtual; |
This function is invoked when TCanvas.BeginScene is called for owned canvas to notify this object that the rendering should start.
|
 |
function CanvasInternalBeginScene(const Canvas: TCustomCanvas): Boolean; |
This function calls TCanvas.InternalBeginScene and returns its result.
|
 |
procedure CanvasEndScene; virtual; |
This function is invoked when TCanvas.EndScene is called for owned canvas to notify this object that the rendering should be finished.
|
 |
procedure CanvasInternalEndScene(const Canvas: TCustomCanvas); |
This function calls TCanvas.InternalEndScene.
|
 |
procedure SetCanvasParent(const Canvas: TCustomCanvas; const Parent: TCustomCanvasParent); |
Sets Parent property of specified canvas to the given value. This method is the only way to change TCanvas.Parent attribute.
|
Copyright © 2000 - 2017 Yuriy Kotsarenko. Help files generated by PasDoc.
|