|
wxMaxima
|
The same bitmap, as PNG bytes, for ports that can only hand over bytes. More...
#include <ClipboardContents.h>
Public Member Functions | |
| LazyPngDataObject (std::shared_ptr< const LazyValue< wxBitmap > > bitmap) | |
| size_t | GetDataSize () const override |
| bool | GetDataHere (void *buf) const override |
| bool | SetData (size_t len, const void *buf) override |
| Pasting into a LazyPngDataObject is not supported. | |
Static Public Member Functions | |
| static wxDataFormat | GetDataFormat () |
| The format this is offered under: image/png. | |
The same bitmap, as PNG bytes, for ports that can only hand over bytes.
wxQt turns a bitmap into clipboard image data in wxBitmapDataObject::QtAddDataTo(), which only runs when the bitmap is the whole clipboard contents. Inside a composite, wxDataObject::QtAddDataTo() asks every format for its bytes instead, and a bitmap has none to give, so the image reaches no other program at all. PNG bytes are handed over unchanged, and every image editor reads them.