QImage.setDevicePixelRatio(2) seemed to do the trick along with a Image that is
twice as large and manual translation of the appropriate coordinates. QPainter
does the rest.
Good to know.
> On Mar 16, 2017, at 8:32 PM, Patrick Stinson wrote:
>
> That’s a good setting to know about, so thank y
That’s a good setting to know about, so thank you for pointing it out.
Unfortunately, this isn’t what I am trying to accomplish. I have a singleton
QGraphicsItem that acts as a canvas and is always resized to fit the view’s
viewport. This canvas item paints lines to a QImage buffer with each QPo
On 17 March 2017 at 16:01, Patrick Stinson wrote:
> Hi there!
>
> I am implementing handwriting with the apple pencil and am double-buffering
> each stroke on a QImage before passing the resulting pixmap and bounding rect
> for the stroke to a QGraphicsItem. The problem is that painting to the Q
Hi there!
I am implementing handwriting with the apple pencil and am double-buffering
each stroke on a QImage before passing the resulting pixmap and bounding rect
for the stroke to a QGraphicsItem. The problem is that painting to the QImage
is not at retina resolution which is what you get whe