Menu

FDdrawline

Anonymous

Details

Draw a line from one point 0 to point 1.

Use

draw_line(x0,y0,x1,y1,color)

  • Arguments:
    • uint8_t x0:
    • The x coordinate of point 0.
    • uint8_t y0:
    • The y coordinate of point 0.
    • uint8_t x1:
    • The x coordinate of point 1.
    • uint8_t y1:
    • The y coordinate of point 1.
    • uint8_t color:
    • The color of the line.
      • 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.