1.
開啟與儲存 BMP 影像2.
PropertiesColorDialog1->Execute();
Image1->Canvas->Brush->Color =(TColor)RGB(130,67,33);
Image1->Canvas->FillRect(Rect(50,100,80,200));
Image1->Canvas->Pen->Color = ColorDialog1->Color;
Image1->Canvas->MoveTo(100,100);
Image1->Canvas->LineTo(100,200);
Image1->Canvas->Pixels[150][150] = clGreen;
3.
Events4.
TBitmap::ScanLineByte *bPtrImageRow;
bPtrImageRow1 = (Byte *)Image1->Picture->Bitmap->ScanLine[j];
Image1->Refresh();
Sample Program -2011F-Week 3 5. MDI Application
練習
沒有留言:
張貼留言