You are reading help file online using chmlib.com
|
Rave Reports Developer Reference TBaseReport. Pie method |
Top Previous Next |
Declaration procedure Pie(X1,Y1,X2,Y2,X3,Y3,X4,Y4: double);
Category
Description This method draws a pie slice inside an ellipse bounded by the rectangle defined by (X1,Y1) and (X2,Y2). The slice starts at the intersection of the line drawn between the ellipse center ((X1+X2) / 2.0,(Y1+Y2) / 2.0) and the point (X3,Y3) and is drawn counterclockwise until it reaches the intersection of the line drawn between the ellipse center and the point (X4,Y4).
See also TBaseReport Class, Arc, Ellipse
Example (Delphi) SetBrush(clBlack, bsHorizontal, nil); Pie(3.25,1.0,5.25,3.0,5.25,2.0,0.0,0.0); SetBrush(clBlack, bsVertical, nil); Pie(3.25,1.0,5.25,3.0,0.0,0.0,3.25,7.0); SetBrush(clBlack, bsBDiagonal, nil); Pie(3.25,1.0,5.25,3.0,3.25,7.0,5.25,2.0);
Example (C++Builder) rp1->SetBrush(clBlack, bsHorizontal, NULL); rp1->Pie(3.25,1.0,5.25,3.0,5.25,2.0,0.0,0.0); rp1->SetBrush(clBlack, bsVertical, NULL); rp1->Pie(3.25,1.0,5.25,3.0,0.0,0.0,3.25,7.0); rp1->SetBrush(clBlack, bsBDiagonal, NULL); rp1->Pie(3.25,1.0,5.25,3.0,3.25,7.0,5.25,2.0); |
You are reading help file online using chmlib.com
|