<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-2">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<tt>Hello a</tt><tt>ll,</tt><tt><br>
</tt><tt><br>
</tt><tt>The Windows 7 snipping tool has a feature what I like very
much: it allows </tt><tt>drawing to the screenshot with a pen and
a marker. </tt><tt><br>
</tt><tt>I would like to implement the same functionality in
KSnapshot. </tt><tt><br>
</tt><tt><br>
</tt><tt>My first ide was changing </tt><tt>the label based preview
to QGraphicsView based one, and creating QGraphicsItem based
objects for storing the user's drawings. <br>
<br>
</tt><tt></tt><b><tt>What do you think about this approach?</tt></b><tt><br>
</tt><tt><br>
</tt><tt>Currently I am having a problem with the anti-aliasing:</tt><tt><br>
</tt><tt><br>
</tt><tt><img src="cid:part1.05030308.08070508@gmail.com" alt=""></tt><tt><br>
</tt><tt><br>
</tt><tt>The bottom widget is the current label based one and the
upper one is a QGraphicsView displaying the same QPixmap through a
QGraphicsPixmapItem. </tt><tt><br>
</tt><tt><br>
</tt><tt>I have set
setRenderHint(QPainter::HighQualityAntialiasing, true); and
setRenderHint(QPainter::SmoothPixmapTransform, true); on the view
and setTransformationMode(Qt::SmoothTransformation); on the
QPixmapItem but it did not helped.</tt><tt><br>
<br>
<b>Do you have any idea how could it be worka</b><b>rounded?<br>
<br>
</b>Thank you for your answers in advance!<b><br>
</b></tt>
<pre class="moz-signature" cols="72">--
Regards,
Márton Miklós
+36-30-52-11-052</pre>
</body>
</html>