|
wxMaxima
|
A bitmap that is only drawn when a program asks for it. More...
#include <ClipboardContents.h>
Public Member Functions | |
| LazyBitmapDataObject (std::shared_ptr< const LazyValue< wxBitmap > > bitmap) | |
| wxBitmap | GetBitmap () const override |
| size_t | GetDataSize () const override |
| bool | GetDataHere (void *buf) const override |
| size_t | GetDataSize (const wxDataFormat &format) const override |
| bool | GetDataHere (const wxDataFormat &format, void *buf) const override |
A bitmap that is only drawn when a program asks for it.
wxBitmapDataObject is platform-specific (PNG on GTK, a HBITMAP or DIB on Windows), so rather than reimplementing any of that this hands the rendered bitmap to the base class the first time any of its data is asked for, and lets it do the rest.