[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 145

procedure CalculateLeftTopWidthHeight(

  X1: Integer;

  Y1: Integer;

  X2: Integer;

  Y2: Integer;

  out Left: Integer;

  out Top: Integer;

  out Width: Integer;

  out Height: Integer

);