Main Menu

search

You are here

LovyanGFX library

[last updated: 2024-08-18]

WT32-SC01 display
TFT_eSPI library
-----------------------------

  • Commands:
    • from: https://lovyangfx.readthedocs.io/en/latest/02_using.html
      // The basic figure drawing functions are as follows.
      fillScreen ( color);
      drawPixel ( x, y , color);
      drawFastVLine ( x, y , h , color);
      drawFastHLine ( x, y, w , color);
      drawRect ( x, y, w, h , color);
      fillRect ( x, y, w, h , color);
      drawRoundRect ( x, y, w, h, r, color);
      fillRoundRect ( x, y, w, h, r, color);
      drawCircle ( x, y , r, color);
      fillCircle ( x, y , r, color);
      drawEllipse ( x, y, rx, ry , color);
      fillEllipse ( x, y, rx, ry , color);
      drawLine ( x0, y0, x1, y1 , color);
      drawTriangle ( x0, y0, x1, y1, x2, y2, color);
      fillTriangle ( x0, y0, x1, y1, x2, y2, color);
      drawBezier ( x0, y0, x1, y1, x2, y2, color); // 3-point Bezier
      drawBezier ( x0, y0, x1, y1, x2, y2, x3, y3, color); // 4-point Bezier
      drawArc ( x, y, r0, r1, angle0, angle1, color);
      fillArc ( x, y, r0, r1, angle0, angle1, color);

    • great ref: https://lang-ship.com/blog/files/LovyanGFX/