decoration.h | [was: Review Request for KDecoration]

Martin Gräßlin mgraesslin at kde.org
Mon Dec 1 10:13:37 GMT 2014


On Wednesday 12 November 2014 15:27:00 Thomas Lübking wrote:
> On Mittwoch, 12. November 2014 08:19:54 CEST, Martin Gräßlin wrote:
> > My thought was that it's going to be
> > * rect for top
> > * rect for left
> > * rect for right
> > * rect for bottom
> > 
> > leaving out the center element. Thus a QRegion to render it in one go.
> 
> My thought was that we'd generate a buffer for each segment, open a painter
> on it and pass that down to the decoration (to avoid allocating a huuuuge
> buffer for virtually no content)
> 
> Otherwise this makes little sense (the painting would not be clipped nor has
> to be and the deco knows the regions it needs to paint anyway)

btw. fixed in kdecoration 1bae00fef3a81af60228f4ca3a0237e23bb1932a
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20141201/0cb098c1/attachment.sig>


More information about the kde-core-devel mailing list