@@ -1980,6 +1980,15 @@ void GFXcanvas1::drawFastHLine(int16_t x, int16_t y, int16_t w,
19801980 }
19811981}
19821982
1983+ /* *************************************************************************/
1984+ /* !
1985+ @brief Speed optimized vertical line drawing into the raw canvas buffer
1986+ @param x Line horizontal start point
1987+ @param y Line vertical start point
1988+ @param h length of vertical line to be drawn, including first point
1989+ @param color Binary (on or off) color to fill with
1990+ */
1991+ /* *************************************************************************/
19831992void GFXcanvas1::drawFastRawVLine (int16_t x, int16_t y, int16_t h,
19841993 uint16_t color) {
19851994 // x & y already in raw (rotation 0) coordinates, no need to transform.
@@ -2010,6 +2019,15 @@ void GFXcanvas1::drawFastRawVLine(int16_t x, int16_t y, int16_t h,
20102019 }
20112020}
20122021
2022+ /* *************************************************************************/
2023+ /* !
2024+ @brief Speed optimized horizontal line drawing into the raw canvas buffer
2025+ @param x Line horizontal start point
2026+ @param y Line vertical start point
2027+ @param w length of horizontal line to be drawn, including first point
2028+ @param color Binary (on or off) color to fill with
2029+ */
2030+ /* *************************************************************************/
20132031void GFXcanvas1::drawFastRawHLine (int16_t x, int16_t y, int16_t w,
20142032 uint16_t color) {
20152033 // x & y already in raw (rotation 0) coordinates, no need to transform.
@@ -2286,6 +2304,16 @@ void GFXcanvas8::drawFastHLine(int16_t x, int16_t y, int16_t w,
22862304 }
22872305}
22882306
2307+ /* *************************************************************************/
2308+ /* !
2309+ @brief Speed optimized vertical line drawing into the raw canvas buffer
2310+ @param x Line horizontal start point
2311+ @param y Line vertical start point
2312+ @param h length of vertical line to be drawn, including first point
2313+ @param color 8-bit Color to fill with. Only lower byte of uint16_t is
2314+ used.
2315+ */
2316+ /* *************************************************************************/
22892317void GFXcanvas8::drawFastRawVLine (int16_t x, int16_t y, int16_t h,
22902318 uint16_t color) {
22912319 // x & y already in raw (rotation 0) coordinates, no need to transform.
@@ -2296,6 +2324,16 @@ void GFXcanvas8::drawFastRawVLine(int16_t x, int16_t y, int16_t h,
22962324 }
22972325}
22982326
2327+ /* *************************************************************************/
2328+ /* !
2329+ @brief Speed optimized horizontal line drawing into the raw canvas buffer
2330+ @param x Line horizontal start point
2331+ @param y Line vertical start point
2332+ @param w length of horizontal line to be drawn, including first point
2333+ @param color 8-bit Color to fill with. Only lower byte of uint16_t is
2334+ used.
2335+ */
2336+ /* *************************************************************************/
22992337void GFXcanvas8::drawFastRawHLine (int16_t x, int16_t y, int16_t w,
23002338 uint16_t color) {
23012339 // x & y already in raw (rotation 0) coordinates, no need to transform.
@@ -2547,6 +2585,15 @@ void GFXcanvas16::drawFastHLine(int16_t x, int16_t y, int16_t w,
25472585 }
25482586}
25492587
2588+ /* *************************************************************************/
2589+ /* !
2590+ @brief Speed optimized vertical line drawing into the raw canvas buffer
2591+ @param x Line horizontal start point
2592+ @param y Line vertical start point
2593+ @param h length of vertical line to be drawn, including first point
2594+ @param color color 16-bit 5-6-5 Color to draw line with
2595+ */
2596+ /* *************************************************************************/
25502597void GFXcanvas16::drawFastRawVLine (int16_t x, int16_t y, int16_t h,
25512598 uint16_t color) {
25522599 // x & y already in raw (rotation 0) coordinates, no need to transform.
@@ -2557,6 +2604,15 @@ void GFXcanvas16::drawFastRawVLine(int16_t x, int16_t y, int16_t h,
25572604 }
25582605}
25592606
2607+ /* *************************************************************************/
2608+ /* !
2609+ @brief Speed optimized horizontal line drawing into the raw canvas buffer
2610+ @param x Line horizontal start point
2611+ @param y Line vertical start point
2612+ @param w length of horizontal line to be drawn, including first point
2613+ @param color color 16-bit 5-6-5 Color to draw line with
2614+ */
2615+ /* *************************************************************************/
25602616void GFXcanvas16::drawFastRawHLine (int16_t x, int16_t y, int16_t w,
25612617 uint16_t color) {
25622618 // x & y already in raw (rotation 0) coordinates, no need to transform.
0 commit comments