#include <TextureLayoutRow.h>
Public Member Functions | |
| int | Generate (TextureLayout &layout, int width, int y) |
| void | Allocate (byte *texture_data, int stride) |
| int | GetHeight () const |
| void | Unplace () |
| Resets the placed status for all of the rectangles within this row. | |
| int Rocket::Core::TextureLayoutRow::Generate | ( | TextureLayout & | layout, | |
| int | width, | |||
| int | y | |||
| ) |
Attempts to position unplaced rectangles from the layout into this row.
| [in] | layout | The layout to position rectangles from. |
| [in] | width | The maximum width of this row. |
| [in] | y | The y-coordinate of this row. |
| void Rocket::Core::TextureLayoutRow::Allocate | ( | byte * | texture_data, | |
| int | stride | |||
| ) |
Assigns allocated texture data to all rectangles in this row.
| [in] | texture_data | The pointer to the beginning of the texture's data. |
| [in] | stride | The stride of the texture's surface, in bytes; |
| int Rocket::Core::TextureLayoutRow::GetHeight | ( | ) | const |
Returns the height of the row.