Contents  All Classes  Index A-Z  All Units


TCanvas3D.PyramidTrunc
TCanvas3D

procedure PyramidTrunc(Const R: TRect; StartZ, EndZ, TruncX, TruncZ: Integer); virtual; abstract;

Unit
TeCanvas

Description
Draws a truncated pyramid.

Example

Chart1.Canvas.PyramidTrunc(Rect(30,30,150,150),0,30,0,0);

would plot a pointed Pyramid

Chart1.Canvas.PyramidTrunc(Rect(30,30,150,150),0,30,10,10);

..truncates the Pyramid by 10 pixels in the X direction and by 10 pixels in the Z direction.



Submit your feedback about this page.

Copyright 1995-2007 © by Steema Software. All Rights Reserved.