Sign in Join
FPDoc Onlineexperiment

TWidgetSet.LineTo function

Member of TWidgetSetpublicIn unit InterfaceBase

Draws a line from the current position up to, but not including, the specified point.

Declaration

pascal
function LineTo(DC: HDC; X: Integer; Y: Integer): Boolean; virtual

Arguments

DC

The device context.

X

The endpoint in logical units.

Y

The endpoint in logical units.

Function result

False on failure.

Description

The current position is set to the given endpoint.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.