Skip to content
Vadim Grigoruk edited this page Apr 29, 2021 · 8 revisions

ellib

ellib x y a b color

Parameters

  • x : the x coordinate of the ellipse center
  • y : the y coordinate of the ellipse 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