TheSpriteCanvasobjectcombinestheactualWindowcanvaswith theXGraphicDeviceinterface.Thisisbecausethere'sa one-to-onerelationbetweenthem,anyway,sinceeachwindow canhaveexactlyonecanvasandoneassociated XGraphicDevice.Andtoavoidmessingaroundwithcircular references,thisisimplementedasonesingleobject.
*/ class SpriteCanvas : public SpriteCanvasBaseT, public RepaintTarget
{ public:
SpriteCanvas( const css::uno::Sequence<
css::uno::Any >& aArguments, const css::uno::Reference<
css::uno::XComponentContext >& rxContext );
void initialize();
/// For resource tracking virtual ~SpriteCanvas() override;
/// Dispose all internal references virtualvoid disposeThis() override;
// Forwarding the XComponent implementation to the // cppu::ImplHelper templated base // Classname Base doing refcounting Base implementing the XComponent interface // | | | // V V V
DECLARE_UNO3_XCOMPONENT_AGG_DEFAULTS( SpriteCanvas, WindowGraphicDeviceBase_Base, ::cppu::WeakComponentImplHelperBase )
/// Get backbuffer for this canvas
OutDevProviderSharedPtr const & getFrontBuffer() const { return maDeviceHelper.getOutDev(); } /// Get window for this canvas
BackBufferSharedPtr const & getBackBuffer() const { return maDeviceHelper.getBackBuffer(); }
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.