FilledEllipse

FilledEllipse:

    FilledEllipse(XPixelPosition, YPixelPosition, XRadius, YRadius [,Optional LineColour] )

Explanation:

Draws a filled ellipse on a GLCD centred at XPixelPosition, YPixelPosition with the given XRadius and YRadius.

The constant GLCD_PROTECTOVERRUN can be added to prevent filled ellipses from re-drawing at the screen edges. Ensure the GLCD_WIDTH and GLCD_HEIGHT constants are set correctly when using this additional constant.

Example:

    #include <glcd.h>

    FilledEllipse(63, 31, 20, 10)          ' <<< the FilledEllipse instruction

Key line: FilledEllipse(63, 31, 20, 10) — draws a solid ellipse centred at the middle of a 128x64 display, 40 pixels wide and 20 pixels tall.

See Also:

  • GLCD Overview — category overview
  • Ellipse — the unfilled equivalent of this command
  • FilledBox — related command in the same category
  • FilledCircle — related command in the same category