/// Must be called with locked Solar mutex
CanvasBitmap( const BitmapEx& rBitmap,
css::rendering::XGraphicDevice& rDevice, const OutDevProviderSharedPtr& rOutDevProvider );
/// Not threadsafe! Returned object is shared!
BitmapEx getBitmap() const;
// XFastPropertySet // used to retrieve BitmapEx pointer or X Pixmap handles for this bitmap // handle values have these meanings: // 0 ... get pointer to BitmapEx // 1 ... get X pixmap handle to rgb content // 2 ... get X pixmap handle to alpha mask // returned any contains either BitmapEx pointer or array of three Any value // 1st a bool value: true - free the pixmap after used by XFreePixmap, false do nothing, the pixmap is used internally in the canvas // 2nd the pixmap handle (sal_Int64) // 3rd the pixmap depth virtual css::uno::Any SAL_CALL getFastPropertyValue(sal_Int32 nHandle) override; virtualvoid SAL_CALL setFastPropertyValue(sal_Int32, const css::uno::Any&) override {}
private: /** MUST hold here, too, since CanvasHelper only contains a rawpointer(withoutrefcounting)
*/
css::uno::Reference<css::rendering::XGraphicDevice> mxDevice;
};
}
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.