$treeview $search $mathjax
Stratagus
2.2.7
$projectbrief
|
$projectbrief
|
$searchbox |
_________ __ __ / _____// |_____________ _/ |______ ____ __ __ ______ \_____ \\ __\_ __ \__ \\ __\__ \ / ___\| | \/ ___/ / \| | | | \// __ \| | / __ \_/ /_/ > | /\___ \ /_______ /|__| |__| (____ /__| (____ /\___ /|____//____ > \/ \/ \//_____/ \/ ______________________ ______________________ T H E W A R B E G I N S Stratagus - A free fantasy real time strategy game engine
#include <cliprectangle.h>
Public Member Functions | |
ClipRectangle () | |
ClipRectangle (int x, int y, int width, int height, int xOffset, int yOffset) | |
const ClipRectangle & | operator= (const Rectangle &other) |
Public Attributes | |
int | xOffset |
int | yOffset |
gcn::ClipRectangle::ClipRectangle | ( | ) |
Constructor.
gcn::ClipRectangle::ClipRectangle | ( | int | x, | |
int | y, | |||
int | width, | |||
int | height, | |||
int | xOffset, | |||
int | yOffset | |||
) |
const ClipRectangle & gcn::ClipRectangle::operator= | ( | const Rectangle & | other | ) |
Copies x, y, width and height field from a Rectangle.
other | the Rectangle to copy from. |
x-origin of drawing (used by Graphics).
y-origin of drawing (used by Graphics)