Login
Back to forumSee the full topicGo to last reply

Posted By

Chicken
on 2009-11-26
06:07:58
 Some details about circles in Multi Botticelli

SVS...

I think Luca is not refering to the aspect issue (which is caused by different pixel apect ratios).

Draw a circle in Multi Botticelli and you will see what he's talking about: The left or the right side (depending ONLY on the circles' "radius" not on the x/y position*) will look flattened and less curvy. I'm not sure but to me this looks like a rounding/truncation issue.

The BASIC circle command does NOT have this "flattening" issue.

*Since the radius in Multi Botticelli is set by moving the cursor upwards or downwards after setting the center, I think it's better to talk about pixel steps when explaining the exact behavior.
An even number of pixel steps away from the center will result in a flattened right side, an odd number in a flattened left side. BUT (too make it even more complicated) only if the radius was set by moving the cursor UPWARDS.
If you move the cursor downwards it's the other way around: Even number of pixel steps -> flattened left side. Odd number off pixel steps -> flattened right side.

There's another difference that should be considered when setting the radius:
If you move the cursor upwards, circle's height is 2*(pixel steps)+1.
If you move the cursor downwards, circle's height is 2*(pixel steps)-1

This means you'll get the very same circle (same side flattened) if you you move the cursor x pixel steps upwards or x+1 pixel steps downwards.
Furthermore, as you might have concluded already, ALL circles have an odd height, which makes it impossible to draw a circle vertically aligned exactly within 4x8 areas



Back to top


Copyright © Plus/4 World Team, 2001-2024