Sign in Join
FPDoc Onlineexperiment

DrawText function

In unit LCLIntf

Draws formatted text on the specified device context.

Declaration

pascal
function DrawText(DC: HDC; Str: PChar; Count: Integer; var Rect: TRect; 
 Flags: Cardinal): Integer

Arguments

DC

Device context used to measure and render the specified Text.

Str

Text drawn in the routine.

Count

Length of the value in Str; calculated when Count is negative.

Rect

Rectangle where the text was drawn.

Flags

DrawText flags examined in the routine.

Function result

1 on success, 0 when text could not be drawn.

Description

Nothing more than the line above yet.

See also

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