TCanvasChord (C++)
Description
This code draws a chord on top of an ellipse bounded by the current window.
Code
void __fastcall TForm1::Button1Click(TObject *Sender)
{
TRect R = GetClientRect(); //Get the coordinates of the current window.
Canvas->Chord(R.Left, R.Top, R.Right, R.Bottom, R.Right, R.Top, R.Left, R.Top);
}
Uses
- Vcl.Graphics.TCanvas.Chord ( fr | de | ja )