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