Function makepoint (X, Y: integer): tgppoint; overload; function makepoint (X, Y: single): tgppointf; overload; function makesize (width, height: integer): tgpsize; overload; function makesize (width, height: single): tgpsizef; overload; function makerect (X, Y, width, height: integer): tgprect; overload; function makerect (X, y, width, height: single): tgprectf; overload; function makerect (location: tgppoint; Size: tgpsize): tgprect; overload; function makerect (location: tgppointf; Size: tgpsizef): tgprectf; overload; function makerect (const rect: trect): tgprect; overload; function makecolor (R, G, B: byte): argb; overload; function makecolor (, r, G, B: byte): argb; overload; function makecharacterrange (first, Length: integer): tcharacterrange;
// Obtain the transparency function getalpha (color: argb): byte; // obtain the red component function getred (color: argb): byte; // obtain the green component function getgreen (color: argb): byte; // function getblue (color: argb): byte; // Delphi color conversion to GDI + color function colorreftoargb (RGB: colorref): argb; // convert GDI + color to Delphi color function argbtocolorref (color: argb): colorref;