Home » U++ Library support » Draw, Display, Images, Bitmaps, Icons » DrawArc not working in GTK mode
DrawArc not working in GTK mode [message #50230] |
Fri, 31 August 2018 13:04  |
mdelfede
Messages: 1308 Registered: September 2007
|
Ultimate Contributor |
|
|
Hi, I've this code:
iw.DrawArc(Rect(xc - r, yc - r, xc + r, yc + r), Point(xc + r, 0), Point(xc + r, 0), 0, c);
(iw is an ImageDraw)
which should draw the outline of a circle. It works perfectly in X11 mode, it does nothing in GTK mode.
I tried with DrawEllipse and this one DOES work, but fills the circle, which is not what I want.
I tried also to draw half ellipse, to see if the problem is becuse of identical starting and ending points,
but it also doesn't draw anything in GTK mode.
It's a bug or am I missing something ?
Ciao
Massimo
|
|
|
Goto Forum:
Current Time: Tue May 13 10:57:02 CEST 2025
Total time taken to generate the page: 0.04259 seconds
|