比如
Graphics::TBitmap *bmp=new Graphics::TBitmap;
bmp->Width=640;
bmp->Height=480;
for
for
bmp->Pixels[x][y]=TColor(RGB(255,255,0));
参考:
C++ Builder利用TBitmap的Canvas->Pixels[x][y]将图片旋转90度示例程序
http://blog.163.com/tab_98/blog/static/11924097201711395726948/