[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: koffice/karbon/widgets
From: Rob Buis <buis () kde ! org>
Date: 2007-11-10 21:44:24
Message-ID: 1194731064.812497.31832.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 735101 by buis:
Draw the grid with anti-aliasing off, should be quicker and it even
looks better.
M +2 -0 KarbonCanvas.cpp
--- trunk/koffice/karbon/widgets/KarbonCanvas.cpp #735100:735101
@@ -137,7 +137,9 @@
gc.drawRect( d->zoomHandler.documentToView( QRectF( QPointF(0.0, 0.0), \
d->document->pageSize() ) ) );
paintMargins( gc, d->zoomHandler );
+ gc.setRenderHint(QPainter::Antialiasing, false);
paintGrid( gc, d->zoomHandler, d->zoomHandler.viewToDocument( widgetToView( \
clipRect ) ) ); + gc.setRenderHint(QPainter::Antialiasing);
d->shapeManager->paint( gc, d->zoomHandler, false );
d->toolProxy->paint( gc, d->zoomHandler );
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic