Public Member Functions | Public Attributes
sal3d::Frame::Area Struct Reference

An area defining a region of a Frame. More...

#include <Frame.hpp>

List of all members.

Public Member Functions

 Area (int x0, int y0, int x1, int y1)
 Constuctor.
 Area (int width, int height)
 Creates a new area starting at (0, 0) with the specified width and height.
 Area (const sal3d::Frame &frame)
 Creates a new area that is as big as a frame.

Public Attributes

int x0
 The X coordinate of area's top left corner.
int y0
 The Y coordinate of area's top left corner.
int x1
 The X coordinate of area's bottom right corner.
int y1
 The Y coordinate of area's bottom right corner.

Detailed Description

An area defining a region of a Frame.


Constructor & Destructor Documentation

sal3d::Frame::Area::Area ( int  x0,
int  y0,
int  x1,
int  y1 
) [inline]

Constuctor.

Parameters:
x0The X coordinate of area's top left corner.
y0The Y coordinate of area's top left corner.
x1The X coordinate of area's bottom right corner.
y1The Y coordinate of area's bottom right corner.
sal3d::Frame::Area::Area ( int  width,
int  height 
) [inline]

Creates a new area starting at (0, 0) with the specified width and height.

Parameters:
widthThe width the area must have.
heightThe height the area must have.
sal3d::Frame::Area::Area ( const sal3d::Frame frame) [inline, explicit]

Creates a new area that is as big as a frame.

Parameters:
frameThe frame the size of which is used to create the Area.

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