|
FIFE
|
#include <atlasbook.h>
Collaboration diagram for FIFE::AtlasBlock:Public Member Functions | |
| AtlasBlock (const Rect &rect, uint32_t page) | |
| AtlasBlock () | |
| void | setTrivial () |
| bool | isTrivial () const |
| uint32_t | getWidth () const |
| uint32_t | getHeight () const |
| AtlasBlock | intersects (AtlasBlock const &rect) const |
| void | merge (AtlasBlock const &rect) |
Public Attributes | |
| uint32_t | page |
| uint32_t | left |
| uint32_t | right |
| uint32_t | top |
| uint32_t | bottom |
Definition at line 40 of file atlasbook.h.
|
inline |
Definition at line 45 of file atlasbook.h.
|
inline |
Definition at line 51 of file atlasbook.h.
|
inline |
Definition at line 77 of file atlasbook.h.
Referenced by FIFE::AtlasPage::getBlock(), isTrivial(), FIFE::GuiImageLoader::load(), and FIFE::AtlasPage::shrink().
Here is the caller graph for this function:
|
inline |
Definition at line 76 of file atlasbook.h.
Referenced by FIFE::AtlasPage::getBlock(), isTrivial(), FIFE::GuiImageLoader::load(), and FIFE::AtlasPage::shrink().
Here is the caller graph for this function:| AtlasBlock FIFE::AtlasBlock::intersects | ( | AtlasBlock const & | rect | ) | const |
Definition at line 31 of file atlasbook.cpp.
References bottom, left, right, setTrivial(), and top.
|
inline |
Definition at line 72 of file atlasbook.h.
References getHeight(), and getWidth().
Referenced by FIFE::AtlasPage::intersects().
Here is the caller graph for this function:| void FIFE::AtlasBlock::merge | ( | AtlasBlock const & | rect | ) |
Definition at line 46 of file atlasbook.cpp.
References bottom, left, right, and top.
Referenced by FIFE::AtlasPage::shrink().
Here is the caller graph for this function:
|
inline |
Definition at line 68 of file atlasbook.h.
References bottom, left, right, and top.
Referenced by intersects().
Here is the caller graph for this function:| uint32_t FIFE::AtlasBlock::bottom |
Definition at line 43 of file atlasbook.h.
Referenced by FIFE::AtlasPage::getBlock(), getHeight(), intersects(), merge(), and setTrivial().
| uint32_t FIFE::AtlasBlock::left |
Definition at line 43 of file atlasbook.h.
Referenced by FIFE::AtlasPage::getBlock(), getWidth(), intersects(), FIFE::GuiImageLoader::load(), merge(), setTrivial(), and FIFE::AtlasPage::shrink().
| uint32_t FIFE::AtlasBlock::page |
Definition at line 42 of file atlasbook.h.
Referenced by FIFE::AtlasPage::getBlock(), and FIFE::GuiImageLoader::load().
| uint32_t FIFE::AtlasBlock::right |
Definition at line 43 of file atlasbook.h.
Referenced by FIFE::AtlasPage::getBlock(), getWidth(), intersects(), merge(), and setTrivial().
| uint32_t FIFE::AtlasBlock::top |
Definition at line 43 of file atlasbook.h.
Referenced by FIFE::AtlasPage::getBlock(), getHeight(), intersects(), FIFE::GuiImageLoader::load(), merge(), setTrivial(), and FIFE::AtlasPage::shrink().