[Overview][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'LCLProc' (#lcl)

CalculateLeftTopWidthHeight

Converts coordinates into kind of a rectangle with positive Width and Height.

Declaration

Source position: lclproc.pas line 138

procedure CalculateLeftTopWidthHeight(

  X1: Integer;

  Y1: Integer;

  X2: Integer;

  Y2: Integer;

  out Left: Integer;

  out Top: Integer;

  out Width: Integer;

  out Height: Integer

);

The latest version of this document can be found at lazarus-ccr.sourceforge.net.