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.
static bool setScanlineWidth(unsigned width); Arguments
width
The width of the scanline on screen.
Return value
true if it succeeds, false if it fails.