The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....



OnBeforeRenderData


Unit:SDL_rot3d
Class: TRot3D
Declaration: OnBeforeRenderData: TRenderEvent;
{ TRenderEvent = procedure (Sender: TObject; var Canvas: TCanvas) of object; }

The events OnDataRendered and OnBeforeRenderData provide a hook for adding user defined graphics to the 3D data display. The event OnBeforeRenderData occurs before the data and any axes are drawn. The variable parameter Canvas provides access to the canvas of the data area. Please note that the state of the canvas (e.g. the color of its pen, or the fill mode of the brush) is undefined.



Last Update: 2007-Mai-19