Menu

FDgetp

Anonymous

Details

Returns the color of the pixel at (x,y).

Use

get_pixel(x,y)

  • Arguments:
    • uint8_t, x:
    • The x coordinate of the pixel.
    • uint8_t, y:
    • The y coordinate of the pixel.
    • Returns:
    • unsigned char, The color of the pixel.
      • WHITE = 1
      • BLACK = 0

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.