Menu

FDfillline

Anonymous

Details

This will fill a line with the specified color from one x0 to x1. This function draws only horizontal lines and does it very fast, it is best for filling primitive shapes with any color.

Use

draw_row(line,x0,x1,color)

  • Argument:
    • _uint8_t line: _
    • The row that fill will be performed on.
    • uint8_t x0:
    • Edge 0 of the fill.
    • _uint8_t x1: _
    • Edge 1 of the fill.
    • uint8_t c:
    • The color of the fill.
      • WHITE = 1
      • BLACK = 0
      • INVERT = 2

Related

Wiki: FDBasicGFX
Wiki: FDcomplete
Wiki: TableOfContents

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.