Index

Package: Rectangle

Description

package Gdk.Rectangle is

Types

GRectangle_Coord

subtype GRectangle_Coord is Gint;

GRectangle_Length

subtype GRectangle_Length is Gint;

Gdk_Rectangle

type Gdk_Rectangle is record
      X      : GRectangle_Coord;
      Y      : GRectangle_Coord;
      Width  : GRectangle_Length;
      Height : GRectangle_Length;
   end record;

Gdk_Rectangle_Access

type Gdk_Rectangle_Access is access all Gdk_Rectangle;

Gdk_Rectangle_Array

type Gdk_Rectangle_Array is array (Natural range <>) of Gdk_Rectangle;
This type is used by Gdk.Region.

Constants & Global variables

Full_Area (Gdk_Rectangle)

Full_Area : constant Gdk_Rectangle;
The constant above can be used in Gtk.Widget.Draw when you want to redraw the whole widget

Subprograms & Entries

Intersect

procedure Intersect 
(Src1: Gdk_Rectangle;
Src2: Gdk_Rectangle;
Dest: out Gdk_Rectangle;
Intersect: out Boolean);

Union

procedure Union 
(Src1: Gdk_Rectangle;
Src2: Gdk_Rectangle;
Dest: out Gdk_Rectangle);