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

List:       kde-core-devel
Subject:    more on killu
From:       weis <weis () stud ! uni-frankfurt ! de>
Date:       1999-10-21 13:46:22
[Download RAW message or body]

Hi,

there is one more thing:

One may not use setWorldMatrix or setClipRegion directly
in canossa, since canossa passes you a QPainter for drawing
that may already be rotated/scaled/clipped.

Of course you can rotate, scale, clip etc. as usual, but you
must do additional! rotations, scaling etc.
And always add! clip regions, dont just set them.

So for rotation do for example:

QWMatrix m = painter.worldMatrix();
m.rotate ....
painter.setWorldMatrix( m ).

Thanks!

Bye
Torben

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

Configure | About | News | Add a list | Sponsored by KoreLogic