PDA

View Full Version : Filling very small polygons.



maverick_pol
28th February 2008, 10:27
Hi guys,

I have polygons on my map which are created from a set of coordinates which coordinates differ only by 0.01. I have to fill these polygons with some custom brush. I also tried using build-in brush styles: dense1pattern, for instance. When I zoom in, to see the polygons, there is a step when the background completely disappears. Only the solid fill is visible all the time. I attach the example screens.

I appreciate any help.

Thank you,

Kacper

maverick_pol
5th March 2008, 14:26
Maybe someone knows what happens when the : fitInView(QRectF) is invoked?( Scaling and scrolling) ?

Thanks

wysota
5th March 2008, 15:19
Matrix of the viewport is changed and the visible part of the scene is redrawn using the new matrix.