Post Reply 
Bresenham Circle VS others
07-04-2021, 03:05 PM
Post: #4
RE: Bresenham Circle VS others
(07-04-2021 12:17 PM)Liamtoh Resu Wrote:  [...]I had to grok m's code to figure out how to get an output from c's code.
(eg. 160,120,100,255) gave me a blue circle.[...]

Sorry, I don't have commented the code in my previous post. The Col variable is expecting regular color code for the HP Prime.

The best way is to use the RGB(r,b,g,α) function or a valid structured #rrggbbαα binary integer.

Beware that in this code, I produce the method used by matalog and I am not sure that the variable D is correctly set.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Bresenham Circle VS others - matalog - 07-04-2021, 01:10 AM
RE: Bresenham Circle VS others - C.Ret - 07-04-2021, 06:41 AM
RE: Bresenham Circle VS others - C.Ret - 07-04-2021 03:05 PM



User(s) browsing this thread: 1 Guest(s)