On Thu, 2013-10-03 at 23:42 +0200, Thorsten Behrens wrote:
Caolan McNamara wrote:
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.
Well, XGraphic can contain other things but bitmaps. Bitmaps are
easy, vcl bitmaps convert trivially to rendering::XBitmaps.
Fair enough, that's all I fundamentally want to do in this case
(507c1c9905ce02c376be4e57a937cde8d01d2c26) anyway. Does seem a bit odd
that we seem to have so much parallel stacks of drawing infrastructures.
C.
Context
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.