News:

Welcome to the Bridgetek Community!

Please read our Welcome Note

Technical Support enquires
please contact the team
@ Bridgetek Support

Please refer to our website for detailed information on all our products - Bridgetek - Bridging Technology

Main Menu

CMD_ARC

Started by Rudolph, December 11, 2024, 05:49:19 PM

Previous topic - Next topic

Rudolph

The BT82X Series Programming Guide 1.0 is released. :-)
I only saw it two days ago and I did not really have much time for it so far though.

One thing, I found CMD_ARC, nice.
But, this is the description:
"The arc command draws a circular arc. The end caps of the arc are rounded. If the angles specify a complete circle, a disc is drawn."

Is that correct? So not a circle, but a a fully filled round area like with POINTS?

void cmd_arc( int16_t x, int16_t y, unint16_t r0, unint16_t r1, uint16_t a0, uint16_t a1 );

That u*n*int16_t is an interesting typo. :-)

But more importantly, why is the inner and out radius limited to 1..511?
Hmm, yes, radius, not diameter, so quite big - but still, no flat arc over the complete height of the display for example.

And is there any way to influence the roundness of the end caps?

BRT Community

Hello,

Thank you for your quesitons!

Quote from: Rudolph on December 11, 2024, 05:49:19 PM
"The arc command draws a circular arc. The end caps of the arc are rounded. If the angles specify a complete circle, a disc is drawn."

Is that correct? So not a circle, but a a fully filled round area like with POINTS?

No, the circle will not be fully filled in in the case of a complete circle being specified in the command.

Quote from: Rudolph on December 11, 2024, 05:49:19 PM

void cmd_arc( int16_t x, int16_t y, unint16_t r0, unint16_t r1, uint16_t a0, uint16_t a1 );

That u*n*int16_t is an interesting typo. :-)

But more importantly, why is the inner and out radius limited to 1..511?
Hmm, yes, radius, not diameter, so quite big - but still, no flat arc over the complete height of the display for example.

And is there any way to influence the roundness of the end caps?

Unfortunately there is no way to alter the end cap roundness with the CMD_ARC command out width adjusting the individual radius values in the command. On the max radius point, i will double check with the developers as to why the maximum limit is 511 for these values.

Best Regards,
BRT Community

Rudolph

This is one of these posts I could have reacted on with just a big thumbs up if that would be an option.  ;D