TftLineQDN()

Library Description ›› Shapes ›› Line ››
… visits
Parent Previous Next

Syntax

TftLineQDN(wX_Start As Word, wY_Start As Word, wX_Stop As Word, wY_Stop As Word, wColor As Word)

Parameters

Parameter

Description

wX_Start

Starting X-coordinate

wY_Start

Starting Y-coordinate

wX_Stop

Ending X-coordinate

wY_Stop

Ending Y-coordinate

wColor

Line color in 16-bit RGB565 format

Overview

Draws a 1-pixel thick diagonal line from the start coordinates (wX_Start, wY_Start) to the stop coordinates (wX_Stop, wY_Stop) using a fast but less accurate Bresenham's line algorithm, for quick rendering.

Example

TftLineQDN(10,5, 120,50, GREEN)

Note: This is just duplicate of TftLineDNF() for naming consistency   

Created with the Personal Edition of HelpNDoc: Maximize Your CHM Help File Capabilities with HelpNDoc