TheCanvasobjectcombinestheactualWindowcanvaswith theXGraphicDeviceinterface.Thisisbecausethere'sa one-to-onerelationbetweenthem,anyway,sinceeachwindow canhaveexactlyonecanvasandoneassociated XGraphicDevice.Andtoavoidmessingaroundwithcircular references,thisisimplementedasonesingleobject.
*/ class Canvas : public CanvasBaseT, public RepaintTarget
{ public:
Canvas( const css::uno::Sequence<
css::uno::Any >& aArguments, const css::uno::Reference<
css::uno::XComponentContext >& rxContext );
void initialize();
/// For resource tracking virtual ~Canvas() 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( Canvas, GraphicDeviceBase_Base, ::cppu::WeakComponentImplHelperBase )
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.