HOG2
|
#include <Graphics.h>
Public Member Functions | |
rect () | |
rect (point center, float rad) | |
rect (point tl, point br) | |
rect (float l, float t, float r, float b) | |
rect | inset (float delta) |
rect | expand (float delta) |
rect & | operator*= (const point &val) |
rect & | operator|= (const rect &val) |
void | lerp (const rect &val, float percentage) |
Public Attributes | |
float | left |
float | top |
float | right |
float | bottom |
Definition at line 94 of file Graphics.h.
|
inline |
Definition at line 95 of file Graphics.h.
|
inline |
Definition at line 96 of file Graphics.h.
Definition at line 97 of file Graphics.h.
|
inline |
Definition at line 98 of file Graphics.h.
|
inline |
|
inline |
|
inline |
Definition at line 121 of file Graphics.h.
References bottom, left, right, and top.
Referenced by PancakePuzzle< N >::Draw(), and HandleFrame().
Definition at line 105 of file Graphics.h.
References bottom, left, right, top, Graphics::point::x, and Graphics::point::y.
float Graphics::rect::bottom |
Definition at line 100 of file Graphics.h.
Referenced by DoDrawCommands(), CanonicalGrid::CanonicalGrid::Draw(), MapEnvironment::Draw(), CanonicalGrid::CanonicalGrid::DrawAlternate(), MapEnvironment::DrawAlternate(), SnakeBird::SnakeBird::DrawObject(), Hexagon::DrawSetup(), SnakeBird::SnakeBird::DrawSnakeSegment(), expand(), GlobalHOGToViewport(), HandleCommand(), inset(), lerp(), operator*=(), Graphics::operator<<(), operator|=(), Graphics::PointInRect(), updateProjection(), ViewportToGlobalHOG(), and ViewportToScreen().
float Graphics::rect::left |
Definition at line 100 of file Graphics.h.
Referenced by DoDrawCommands(), CanonicalGrid::CanonicalGrid::Draw(), MapEnvironment::Draw(), GraphEnvironment::Draw(), CanonicalGrid::CanonicalGrid::DrawAlternate(), MapEnvironment::DrawAlternate(), SnakeBird::SnakeBird::DrawObject(), Hexagon::DrawSetup(), SnakeBird::SnakeBird::DrawSnakeSegment(), expand(), GlobalHOGToViewport(), HandleCommand(), inset(), lerp(), operator*=(), Graphics::operator<<(), operator|=(), Graphics::PointInRect(), updateProjection(), and ViewportToGlobalHOG().
float Graphics::rect::right |
Definition at line 100 of file Graphics.h.
Referenced by DoDrawCommands(), CanonicalGrid::CanonicalGrid::Draw(), MapEnvironment::Draw(), CanonicalGrid::CanonicalGrid::DrawAlternate(), MapEnvironment::DrawAlternate(), SnakeBird::SnakeBird::DrawObject(), Hexagon::DrawSetup(), SnakeBird::SnakeBird::DrawSnakeSegment(), expand(), GlobalHOGToViewport(), HandleCommand(), inset(), lerp(), operator*=(), Graphics::operator<<(), operator|=(), Graphics::PointInRect(), updateProjection(), ViewportToGlobalHOG(), ViewportToScreen(), and ViewportToScreenX().
float Graphics::rect::top |
Definition at line 100 of file Graphics.h.
Referenced by DoDrawCommands(), CanonicalGrid::CanonicalGrid::Draw(), MapEnvironment::Draw(), CanonicalGrid::CanonicalGrid::DrawAlternate(), MapEnvironment::DrawAlternate(), SnakeBird::SnakeBird::DrawObject(), Hexagon::DrawSetup(), SnakeBird::SnakeBird::DrawSnakeSegment(), expand(), GlobalHOGToViewport(), HandleCommand(), inset(), lerp(), operator*=(), Graphics::operator<<(), operator|=(), Graphics::PointInRect(), updateProjection(), and ViewportToGlobalHOG().