#include <CXWindowsClipboardAnyBitmapConverter.h>
Inherits IXWindowsClipboardConverter.
Inheritance diagram for CXWindowsClipboardAnyBitmapConverter:
Public Member Functions | |
virtual IClipboard::EFormat | getFormat () const |
Get clipboard format. | |
virtual Atom | getAtom () const =0 |
Get X11 format atom. | |
virtual int | getDataSize () const |
Get X11 property datum size. | |
virtual CString | fromIClipboard (const CString &) const |
Convert from IClipboard format. | |
virtual CString | toIClipboard (const CString &) const |
Convert to IClipboard format. | |
Protected Member Functions | |
virtual CString | doBGRFromIClipboard (const UInt8 *bgrData, UInt32 w, UInt32 h) const =0 |
Convert from IClipboard format. | |
virtual CString | doBGRAFromIClipboard (const UInt8 *bgrData, UInt32 w, UInt32 h) const =0 |
Convert from IClipboard format. | |
virtual CString | doToIClipboard (const CString &, UInt32 &w, UInt32 &h, UInt32 &depth) const =0 |
Convert to IClipboard format. |
Definition at line 21 of file CXWindowsClipboardAnyBitmapConverter.h.
|
Convert from IClipboard format. Convert raw BGRA pixel data to another image format. Referenced by fromIClipboard(). |
|
Convert from IClipboard format. Convert raw BGR pixel data to another image format. Referenced by fromIClipboard(). |
|
Convert to IClipboard format. Convert an image into raw BGR or BGRA image data and store the width, height, and image depth (24 or 32). Referenced by toIClipboard(). |
|
Convert from IClipboard format. Convert from the IClipboard format to the X selection format. The input data must be in the IClipboard format returned by getFormat(). The return data will be in the X selection format returned by getAtom(). Implements IXWindowsClipboardConverter. Definition at line 122 of file CXWindowsClipboardAnyBitmapConverter.cpp. References doBGRAFromIClipboard(), and doBGRFromIClipboard(). |
|
Get X11 format atom. Return the atom representing the X selection format that this object converts from/to. Implements IXWindowsClipboardConverter. |
|
Get X11 property datum size. Return the size (in bits) of data elements returned by toIClipboard(). Implements IXWindowsClipboardConverter. Definition at line 116 of file CXWindowsClipboardAnyBitmapConverter.cpp. |
|
Get clipboard format. Return the clipboard format this object converts from/to. Implements IXWindowsClipboardConverter. Definition at line 110 of file CXWindowsClipboardAnyBitmapConverter.cpp. |
|
Convert to IClipboard format. Convert from the X selection format to the IClipboard format (i.e., the reverse of fromIClipboard()). Implements IXWindowsClipboardConverter. Definition at line 160 of file CXWindowsClipboardAnyBitmapConverter.cpp. References doToIClipboard(). |