void pset_redbmp(System::Drawing::Graphics^ g){
Bitmap^ bmp = gcnew Bitmap(640,480);
for(int x=0; x< 640; x++){
for (int y= 0; y< 480; y++){
bmp->SetPixel(x,y,Color::Red); // Color::FromArgb(0,0,255)
}
}
g->DrawImage(bmp,Point(0,30));
delete bmp;
}
PSET using drawline.
void pset(Graphics^ g, int x, int y, int color){
g->DrawLine(get8ColPen(color), x, y, x, y+1);
}