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


Stefan Knorr wrote:
Markus suggested that you (Thorsten) might be good person to speak to,
if we want perfect squares here. Can you do anything about that? (See
attached screenshot borders-round.png – just a magnification of
Markus's shot.)

Hi Astron,

well easiest would be to wrap border drawing with

 aOutdev.SetAntialiasing( aOutdev.GetAntialiasing() & ~ANTIALIASING_ENABLE_B2DDRAW );

, which simply disables antialiased rendering.

The other thing I noticed is that LibO seems to aim for accuracy a bit
much now, thus borders sometimes look a bit fuzzy – can that at all be
avoided by better aligning them to pixel borders? (See
borders-shouldbe.png for a primitive visualisation of it.)

Same as above, but yeah, if you have pixel-accurate coordinates, and
only vertical & horizontal lines, you shouldn't get _any_ grey
levels (modulo bugs).

Cheers,

-- Thorsten

Attachment: pgp59AK5dGAS9.pgp
Description: PGP 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.