Date: prev next · Thread: first prev next last
2014 Archives by date, by thread · List index


Chris Sherlock wrote:
1. Why is this necessary?

Dunno - that question should go to the committer, if the context is
not clear. ;)

2. What is the difference between SalGraphics::GetGraphicsWidth() and
OutputDevice::GetOutWidthPixel()?

The SalGraphics is the underlying operating system graphics primitive,
so its size might be much bigger than the Window and/or VDev you have
at hand. For the OutputDevice, if mnOutOffX/mnOutOffY is non-zero,
then GetOutputWidthPixel/GetOutputHeightPixel (I presume you meant
those?) will likely be smaller than the size returned by SalGraphics.
VCL Windows are 'lightweight', in that they reuse operating system
windows, by e.g. adjusting output offsets and clips.

For VirtualDevices, you are most probably right, those values will be
equivalent.

HTH,

-- Thorsten

Attachment: signature.asc
Description: Digital signature


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.