LibreOffice
LibreOffice 24.2 SDK API Reference
|
provides information about a graphical output device and offers a factory for the graphics which provides write operations on the device. More...
import"XDevice.idl";
Public Member Functions | |
XGraphics | createGraphics () |
creates a new graphics whose output operation is directed to this device. More... | |
XDevice | createDevice ([in] long nWidth, [in] long nHeight) |
creates a new device which is compatible with this one. More... | |
com::sun::star::awt::DeviceInfo | getInfo () |
returns information about the device. More... | |
sequence< FontDescriptor > | getFontDescriptors () |
returns the list of available font descriptors. More... | |
com::sun::star::awt::XFont | getFont ([in] FontDescriptor aDescriptor) |
returns information about a font offered by this device. More... | |
XBitmap | createBitmap ([in] long nX, [in] long nY, [in] long nWidth, [in] long nHeight) |
creates a bitmap with the current device depth. More... | |
XDisplayBitmap | createDisplayBitmap ([in] XBitmap Bitmap) |
creates a device compatible bitmap. More... | |
Public Member Functions inherited from XInterface | |
any | queryInterface ([in] type aType) |
queries for a new interface to an existing UNO object. More... | |
void | acquire () |
increases the reference counter by one. More... | |
void | release () |
decreases the reference counter by one. More... | |
provides information about a graphical output device and offers a factory for the graphics which provides write operations on the device.
XBitmap createBitmap | ( | [in] long | nX, |
[in] long | nY, | ||
[in] long | nWidth, | ||
[in] long | nHeight | ||
) |
creates a bitmap with the current device depth.
If the specified area does not lie entirely in the device, the bits outside are not specified.
XDevice createDevice | ( | [in] long | nWidth, |
[in] long | nHeight | ||
) |
creates a new device which is compatible with this one.
If the device does not support the GETBITS device capability, this method returns NULL
.
XDisplayBitmap createDisplayBitmap | ( | [in] XBitmap | Bitmap | ) |
creates a device compatible bitmap.
The data of the bitmap is in process memory instead of in the device, so that the output operation is fast.
XGraphics createGraphics | ( | ) |
creates a new graphics whose output operation is directed to this device.
com::sun::star::awt::XFont getFont | ( | [in] FontDescriptor | aDescriptor | ) |
returns information about a font offered by this device.
aDescriptor | specifies the description of a font. The unit of measure is pixel for this device. |
sequence<FontDescriptor> getFontDescriptors | ( | ) |
returns the list of available font descriptors.
com::sun::star::awt::DeviceInfo getInfo | ( | ) |
returns information about the device.