Lines Matching refs:rx
190 static void _draw_ellipse(int16_t x, int16_t y, int16_t rx, int16_t ry) in _draw_ellipse() argument
204 if ((rx <= 0) || (ry <= 0)) in _draw_ellipse()
212 if (rx > ry) in _draw_ellipse()
215 iy = rx * 64; in _draw_ellipse()
221 j = (h * ry) / rx; in _draw_ellipse()
222 k = (i * ry) / rx; in _draw_ellipse()
262 ix = ix + iy / rx; in _draw_ellipse()
263 iy = iy - ix / rx; in _draw_ellipse()
275 j = (h * rx) / ry; in _draw_ellipse()
276 k = (i * rx) / ry; in _draw_ellipse()
321 x -= rx; in _draw_ellipse()
328 lcd_update(x, y, 2 * rx + 1, 2 * ry + 1); in _draw_ellipse()