CHMlib Logo Leading Translation Management System for Translation Agencies, Top Translation Management Software for Freelance Translators, Time Tracking Software, Word Count, Character Count and Line Count Software, Computer Assisted Translation Tool for Easy Word Count, Clipboard Character Count Software, User-Friendly Translation Memory Software, Terminology Management Software, Terminology Management Server, Microsoft Glossary Software, Dictionary of Acronyms, Social Network for Translators and Translation Agencies, Acronyms and Abbreviations Search Engine, Russian Translation Lab, Ukrainian Translation Lab.
You are reading help file online using chmlib.com
CrisisHelper - First Aid in Tough Times of World Economic Crisis


_bm0 Rave Reports Developer Reference

TBaseReport. Pie method

Top  Previous  Next

Declaration

procedure Pie(X1,Y1,X2,Y2,X3,Y3,X4,Y4: double);

 

Category

Graphics

 

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

If you want your help file to be removed or added please send e-mail to chmlibcom@gmail.com