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

touchgfx::CanvasWidgetRenderer::setScanlineWidth() method

@fn static bool CanvasWidgetRenderer::setScanlineWidth(unsigned width) Sets scanline width. Sets scanline width. Setting the scanline width will initialize the buffers for scanline and outline. If the width set is too large to fit the scanline buffers in the allocated memory buffer, false will be returned and all buffer pointers will be cleared.

Syntax

static bool setScanlineWidth(unsigned width);

Arguments

width

The width of the scanline on screen.

Return value

true if it succeeds, false if it fails.

References

LocationText
CanvasWidgetRenderer.hpp:73
static bool setScanlineWidth(unsigned width);