DrawStar example for C++ Builder
void __fastcall TForm1::DrawStarClick(TObject *Sender)
{
TPoint ptCenter;
ptCenter.x= (int)(LEADImage1->BitmapWidth /2);
ptCenter.y= (int)(LEADImage1->BitmapHeight /2);
LEADImage1->DrawStar( ptCenter, 5, (int)(LEADImage1->BitmapWidth/2), (int)(LEADImage1->BitmapHeight/2), 50, 0, 0, 0, 0, 0, 0, RGB(255, 0, 255), RGB(0, 255, 255), 100, STR_INSIDE );
}