2011年12月28日 星期三

BCB 畫空心矩形

img->Canvas->Pen->Width = 3;

img->Canvas->Pen->Color = clRed;

img->Canvas->Brush->Style = bsClear;

img->Canvas->MoveTo(0,0);

img->Canvas->LineTo(0,85);

img->Canvas->MoveTo(0,85);

img->Canvas->LineTo(105,85);

img->Canvas->MoveTo(105,85);

img->Canvas->LineTo(105, 0);

img->Canvas->MoveTo(105,0);

img->Canvas->LineTo(0, 0);

沒有留言:

張貼留言