chickadee » s9fes-char-graphics » circle-octant-point

circle-octant-point OCTANT X0 Y0 X Yprocedure

Returns coordinates for octant 0 point X Y in the specified OCTANT, centered at X0 Y0.

OCTANT
fixnum ; octant, 0..7, coordinates to calculate
X0 Y0
fixnum fixnum ; center
X Y
fixnum fixnum ; offset