GUIDOLib
1.7.7
Guido Engine Internal Documentation
|
This class manages the Height of Slices. More...
Public Member Functions | |
GRSliceHeight () | |
virtual | ~GRSliceHeight () |
void | AddSystemSlice (const GRSystemSlice *slc, bool doboundingrect=false) |
float | getHeight (bool notoprect=false) const |
float | getPosition (int i) const |
Protected Attributes | |
HeightVector | mHVector |
float | boundingRectTop |
float | boundingRectBottom |
float | minHeight |
This class manages the Height of Slices.
This is important so that we know, how high a collection of slices will really be. The Idea is really simple : we just have to remember the maximum height of each staff within all the slices. Whenever a new slice is added, we check the individual staff-heights and check, wether they are bigger than the stored maximum in which case we update the height.
GRSliceHeight::GRSliceHeight | ( | ) |
|
virtual |
void GRSliceHeight::AddSystemSlice | ( | const GRSystemSlice * | slc, |
bool | doboundingrect = false |
||
) |
float GRSliceHeight::getHeight | ( | bool | notoprect = false | ) | const |
float GRSliceHeight::getPosition | ( | int | i | ) | const |
|
protected |
|
protected |
|
protected |
|
protected |