LineTo

E724265

LineTo is a Windows GDI function that draws a straight line from the current drawing position to a specified endpoint in a device context.

Jump to: Statements Referenced by

Statements (46)

Predicate Object
instanceOf Windows GDI function
graphics drawing function
affectsObject device context
belongsToAPI Win32 API NERFINISHED
callConvention stdcall
category 2D graphics API
clippedBy current clipping region
coordinateMappingControlledBy SetMapMode
declaredAs BOOL LineTo(HDC hdc, int x, int y);
definedIn wingdi.h
documentationSite Microsoft Learn NERFINISHED
drawsShape straight line
endsAt specified endpoint
errorRetrieval GetLastError
exportedBy gdi32.dll
graphicsType immediate mode rendering
hasParameter HDC hdc
int x
int y
hasReturnType BOOL
languageBinding C
linkLibrary Gdi32.lib
movesCurrentPosition TRUE
partOf Windows GDI NERFINISHED
relatedFunction LineDDA NERFINISHED
MoveToEx
Polyline NERFINISHED
PolylineTo
requires valid device context handle
requiresHeader Windows.h
requiresSubsystem GDI NERFINISHED
returnsOnFailure zero
returnsOnSuccess nonzero
runsOn Microsoft Windows NERFINISHED
startsFrom current drawing position
supportedSince early versions of Windows
threadingModel caller must serialize access to HDC
updatesCurrentPositionTo specified endpoint
usedFor drawing UI element borders
drawing chart axes
rendering vector graphics
usesCoordinateSystem device coordinates
logical coordinates
usesCurrentObject current brush for cosmetic effects only
current pen
current raster operation mode

Referenced by (1)

Full triples — surface form annotated when it differs from this entity's canonical label.

Gdi32 exportsFunction LineTo