[prev in list] [next in list] [prev in thread] [next in thread]
List: koffice-devel
Subject: Re: QPen
From: Jos van den Oever <Jos.van.den.Oever () kogmbh ! com>
Date: 2010-03-22 15:41:46
Message-ID: 201003221641.46520.Jos.van.den.Oever () kogmbh ! com
[Download RAW message or body]
On Monday 22 March 2010 15:56:10 Korinek Pavol wrote:
> Hi,
>
> yes that's the problem. In documentation is written that width zero (0) is
> cosmetic pen. Why it's used for (0, 1) without 0 ? In MS word there are
> used also used values between 0 and 1. 1/2 for example. Than I can't fix
> this bug completely. Interesting is: When I use:
> QVector<qreal> dashes;
> qreal space = 4;
> qreal dot = 4;
> qreal dash = 8;
> dashes << dot << space << dash << space;
> pen.setDashPattern(dashes);
> instead of
> DotDash style,
> than it's painted also with 1/2 width, but of don't now reason why, right
> side of border isn't. I hoped that I can replace it with it, but actually
> no.
Did you set the pen with with setWidthF(0.5) or with setWidth(0.5)? Only the
version with 'F' might work.
Cheers,
Jos
--
Jos van den Oever, software architect
+49 391 25 19 15 53
http://kogmbh.com/legal/
_______________________________________________
koffice-devel mailing list
koffice-devel@kde.org
https://mail.kde.org/mailman/listinfo/koffice-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic