Skip to content

Union

Declaration

Source position: typshrdh.inc line 135

class function Union(R1: TRect; R2: TRect) : TRect;  static;
procedure Union(R: TRect);
class function Union
                    (const Points: Array of TPoint = packed record
public
  X : LongInt;
  Y : LongInt;
  class function Zero : TPoint;  static;
  function Add(const apt: TPoint) : TPoint;
  function Distance(const apt: TPoint) : ValReal;
  function IsZero : Boolean;
  function Subtract(const apt: TPoint) : TPoint;
  SetLocation;
  Offset;
  function Angle(const pt: TPoint) : Single;
  class function PointInCircle(const apt: TPoint; const acenter: TPoint; 
                              const aradius: Integer) : Boolean;  static;
  TPoint.class operator =(const apt1: TPoint; const apt2: TPoint)
                          : Boolean;
  TPoint.class operator <>(const apt1: TPoint; const apt2: TPoint)
                           : Boolean;
  TPoint.class operator +(const apt1: TPoint; const apt2: TPoint) : TPoint;
  TPoint.class operator -(const apt1: TPoint; const apt2: TPoint) : TPoint;
  TPoint.class operator :=(const aspt: TSmallPoint) : TPoint;
  TPoint.class operator explicit(const apt: TPoint) : TSmallPoint;
end
)
                     : TRect;  static;