Home > Software engineering >  Using vc to draw good graphical output
Using vc to draw good graphical output

Time:10-23

With MFC single document USES double buffer drew a diagram, want to use the save or save output him out, how to set

CodePudding user response:

Are you into the bitmap is to be preserved, baidu "DDB turned DIB"

CodePudding user response:

DDB saved as a bitmap file:
http://blog.csdn.net/wenzhou1219/article/details/26974403

CodePudding user response:

Now display the drawing content is how you use? Map?

CodePudding user response:

refer to the second floor fhw_bin_dl response:
DDB saved as a bitmap file:
http://blog.csdn.net/wenzhou1219/article/details/26974403
not save screenshots, is want to save into BMP

CodePudding user response:

 CBitmap bitmap. 
Bitmap. LoadBitmap (IDB_cusha);
BITMAP bt;
Bitmap. GetBitmap (& amp; Bt);
CRect the Rect (200200400400);
The CBrush brushQueen (& amp; Bitmap);
PDC - & gt; FillRect (the Rect, & amp; BrushQueen);
that fill the bitmap
  • Related