PhRect

Gamma/Photon: Using Gamma™ with the Photon microGUIŽ, Version 4.0
Prev |  | Next

# `PhRect`

`PhRect` -- A rectangular area defined by two points.

## Synopsis

    class PhRect
    {
        lr;    // PhPoint
        ul;    // PhPoint
    }

## Description

This class defines a rectangular area by the upper left (`ul`) and lower right (`lr`) corner points. The position of both points is relative to the upper left-hand corner of the containing widget. The units of all measurements are pixels.

Also see PhRect in the Photon documentation.

## Instance Variables

lr

  A `PhPoint` specifying the lower right corner of the rectangular area.

ul

  A `PhPoint` specifying the upper left corner of the rectangular area.

Prev | Home | Next
`PhPointerEvent` | Up | `PhRegion`

Copyright 1995-2002 by Cogent Real-Time Systems, Inc.