Skip to content
Josh Goebel edited this page Oct 7, 2021 · 8 revisions

ellib

This was added to the API in version 0.90.

ellib x y a b color

Parameters

  • x, y : the coordinates of the ellipse's center
  • a : the horizontal radius of the ellipse in pixels
  • b : the vertical radius of the ellipse in pixels
  • color: the index of the desired color in the current palette

Description

This function draws an ellipse border with the desired radiuses a b and color with its center at x, y. It uses the Bresenham algorithm.

Clone this wiki locally