Home » Developing U++ » U++ TheIDE and Library: Releases and ChangeLogs » MakeImagePaintOnly
MakeImagePaintOnly [message #6734] |
Sat, 25 November 2006 13:38 |
|
mirek
Messages: 13975 Registered: November 2005
|
Ultimate Member |
|
|
Image MakeImagePaintOnly(const ImageMaker& m)
This is optimized version of MakeImage - it is useful when dealing with large images (like images in RichEdit). It instructs Draw to drop "client-side" data when pixels are moved to GDI - therefore pixels are no longer available in Image (it can be painted only, no other operations are allowed), OTOH they are not duplicated (in app memory and GDI memory).
For small images, like toolbar icons, is better to use normal MakeImage (GDI memory is cleaned be keeping number of HBMP handles low).
(While I was using Win32 system terms here, same applies for X11).
|
|
|
Goto Forum:
Current Time: Sat Apr 27 21:01:38 CEST 2024
Total time taken to generate the page: 0.05729 seconds
|