chris.sherlock79 at gmail.com
Sun Nov 23 22:18:57 PST 2014
On Mon, Nov 24, 2014 at 9:40 AM, Thorsten Behrens <
thb at documentfoundation.org> wrote:
> Chris Sherlock wrote:
> > 1. Why is this necessary?
> Dunno - that question should go to the committer, if the context is
> not clear. ;)
I checked the git logs, it predates git history!
> > 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
It does, thanks Thorsten!
> -- Thorsten
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the LibreOffice