FLTK logo

Re: [fltk.general] Re: Drawing complex shapes - fl_arc

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 All Forums  |  Back to fltk.general  ]
 
Previous Message ]New Message | Reply ]Next Message ]

Re: Re: Drawing complex shapes - fl_arc "'pvrose' via fltk.general" 05:10 Apr 13  
 

On 13 April 2024, at 11:59, "'Matthias Melcher' via fltk.general" <fltkgeneral@googlegroups.com> wrote:

>The API is from 1998 or earlier. I would implement things differently today, but we need to live with the behavior of `fl_arc` as it is for back compatibility. If you have an idea how to document the peculiarities of `fl_arc` in a better way, we would appreciate text suggestions here or as a PR on GitHub to improve documentation.
>

Thanks Matthias.

My suggestion would be to add a statement or image on how to draw an arc counter-clockwise through 3 o'clock. Something on the lines of: if the second angle is less than the first, then add 360° to the second angle to maintain ccw drawing.

If that is indeed the supported method.

Regards Phil.
>--
>You received this message because you are subscribed to the Google Groups "fltk.general" group.
>To unsubscribe from this group and stop receiving emails from it, send an email to fltkgeneral+unsubscribe@googlegroups.com.
>To view this discussion on the web visit https://groups.google.com/d/msgid/fltkgeneral/c52e30a1-f25f-4446-aa5d-5ae92a3a493fn%40googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "fltk.general" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fltkgeneral+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fltkgeneral/9d7wyci8x2kh4u5sjw9edlns.1713010249180%40email.android.com.
Direct Link to Message ]
 
     
Previous Message ]New Message | Reply ]Next Message ]
 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.