draw a graphic::XGraphic on a rendering::XCanvas ?

Caolán McNamara caolanm at redhat.com
Thu Oct 3 12:47:06 PDT 2013


So I have a graphic::XGraphic and I want to draw it onto a
rendering::XCanvas. How do I do that?

I mean, XCanvas has a drawBitmap which takes a rendering::XBitmap but
it's not clear to me how to get from graphic::XGraphic to
rendering::XBitmap or if that's even the right approach.

Alternatively, if I have a
drawinglayer::primitive2d::Primitive2DSequence can I relatively easily
draw that on a cppcanvas::CanvasSharedPtr ?

C.



More information about the LibreOffice mailing list