You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CDrawContext::drawEllipse seems to use incorrect scaling on linux, so that the ellipse is typically much smaller than desired.
CairoGrpahicsDeviceContext::drawEllipse() appears to have two issues:
The inverse of the correct scaling factor is passed to cairo_scale
imp->draw is called with scaling still enabled. This means that a stroke width of 1 will be also be scaled by the ellipse size scaling factors (interestingly causing non-uniform line width when rect width is not equal to rect height). See https://cairo.freedesktop.org/cookbook/ellipses/ for why this happens.
CDrawContext::drawEllipse seems to use incorrect scaling on linux, so that the ellipse is typically much smaller than desired.
CairoGrpahicsDeviceContext::drawEllipse() appears to have two issues:
The following seems to work for me:
I'd assume that similar changes are needed for CairoGraphicsDeviceContext::drawArc().
The text was updated successfully, but these errors were encountered: