touchgfx::Outline::renderScanline() is only used within TouchGFX.
 
Symbols
loading...
Files
loading...
CodeScopeSTM32 Libraries and SamplesTouchGFXtouchgfx::Outline::renderScanline()

touchgfx::Outline::renderScanline() method

@fn void Outline::renderScanline(int ey, int x1, int y1, int x2, int y2); Render the scanline in the special case where the line is on the same scanline. Render the scanline in the special case where the line is on the same scanline, though it might not be 100% horizontal as the fraction of the y endpoints might differ making the line tilt ever so slightly.

Syntax

void renderScanline(int ey,     int x1,     int y1,     int x2,     int y2);

Arguments

ey

The entire part of the from/to y coordinate (same for both from y and to y as it is a horizontal scanline).

x1

The from x coordinate in poly format.

y1

The from y coordinate fraction part in poly format.

x2

The to x coordinate in poly format.

y2

The to y coordinate fraction part in poly format.

References

LocationText
Outline.hpp:203
void renderScanline(int ey, int x1, int y1, int x2, int y2);