[prev in list] [next in list] [prev in thread] [next in thread] 

List:       koffice-devel
Subject:    Re: koffice/libs/flake
From:       Thorsten Zachmann <t.zachmann () zagge ! de>
Date:       2009-01-18 17:08:51
Message-ID: 200901181808.52071.t.zachmann () zagge ! de
[Download RAW message or body]

Hello,

> SVN commit 912942 by langkamp:
>
> only draw the shape border is the pen isn't a cosmetic pen (line width 0)
>
>  M  +2 -1      KoLineBorder.cpp

I'm not sure that is a good. IF we have a look at what OO saves is that a line 
width of 0 is used as cosmetic point and shows a line. Can you please revert?

Thorsten Zachmann

>
>
> --- trunk/koffice/libs/flake/KoLineBorder.cpp #912941:912942
> @@ -114,7 +114,8 @@
>      else
>          pen.setColor(d->color);
>
> -    painter.strokePath(shape->outline(), pen);
> +    if(!pen.isCosmetic())
> +        painter.strokePath(shape->outline(), pen);
>  }
>
>  void KoLineBorder::setCapStyle(Qt::PenCapStyle style)


_______________________________________________
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