Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Public Attributes
gfxRect Struct Reference

#include <gfxRect.h>

Collaboration diagram for gfxRect:
Collaboration graph

List of all members.

Public Member Functions

 gfxRect ()
 gfxRect (const gfxRect &s)
 gfxRect (const gfxPoint &_pos, const gfxSize &_size)
 gfxRect (gfxFloat _x, gfxFloat _y, gfxFloat _width, gfxFloat _height)
int operator== (const gfxRect &s) const
int operator!= (const gfxRect &s) const

Public Attributes

gfxPoint pos
gfxSize size

Detailed Description

Definition at line 44 of file gfxRect.h.

Constructor & Destructor Documentation

gfxRect::gfxRect ( ) [inline]

Definition at line 49 of file gfxRect.h.

gfxRect::gfxRect ( const gfxRect s) [inline]

Definition at line 50 of file gfxRect.h.

: pos(s.pos), size(s.size) {}
gfxRect::gfxRect ( const gfxPoint _pos,
const gfxSize _size 
) [inline]

Definition at line 51 of file gfxRect.h.

: pos(_pos), size(_size) {}
gfxRect::gfxRect ( gfxFloat  _x,
gfxFloat  _y,
gfxFloat  _width,
gfxFloat  _height 
) [inline]

Definition at line 52 of file gfxRect.h.

        pos(_x, _y), size(_width, _height) {}

Member Function Documentation

int gfxRect::operator!= ( const gfxRect s) const [inline]

Definition at line 58 of file gfxRect.h.

        return (pos != s.pos) || (size != s.size);
int gfxRect::operator== ( const gfxRect s) const [inline]

Definition at line 55 of file gfxRect.h.

        return (pos == s.pos) && (size == s.size);

Member Data Documentation

Definition at line 46 of file gfxRect.h.

Definition at line 47 of file gfxRect.h.

The documentation for this struct was generated from the following file: