Guidance
指路人
g.yi.org
Guidance Forums / wxWidgets (wxWindows) in C++ / wxDC, problems exporting to bit map

Register 
注册
Search 搜索
首页 
Home Home
Software
Upload

  
Forum List • Thread List • Reply • Refresh • New Topic • Search • Previous • Next First 1 Last
Message1. wxDC, problems exporting to bit map
#5122
Posted by: 2004-09-20 15:24:38
I've been drawing on the wxDC class of a wxScrolledWindow, and what puzzles me, is how to export the contents of the DC into a wxBitmap object. I've searched and searched the documentation, and have been unable to find a way for what seems like a straight forward task.

I'm guessing it's glaringly obvious.

Thanks in advance.
Message2. Re: wxDC, problems exporting to bit map
#5124
Posted by: upCASE 2004-09-21 15:09:35
Hi!
Check wxMemoryDC::SelectObject()
upCASE
-----------------------------------
If it was hard to write, it should be hard to read!- Do. Or do not. There is no try!
Forum List • Thread List • Reply • Refresh • New Topic • Search • Previous • Next First 1 Last
掌柜推荐
 
 
 
 
 
 
 
 
 
 
 
 
© Wed 2024-12-11  Guidance Laboratory Inc.
Email:webmaster1g.yi.org Hits:0