#include <uboxGeom.hpp>
Inheritance diagram for ubit::UScale:
Public Member Functions | |
UScale (float value=1.) | |
UScale (const UFloat &) | |
operator float () const | |
type conversion: returns value. | |
UScale & | operator= (float v) |
UScale & | operator= (const UFloat &v) |
UScale & | operator= (const UScale &v) |
virtual void | set (float) |
bool | operator== (float v) const |
bool | operator== (const UFloat &v) const |
bool | operator== (const UScale &v) const |
virtual void | mult (float) |
virtual void | div (float) |
virtual void | update () |
updates parents graphics. | |
virtual void | putProp (UContext *, UControl *) |
[impl] changes corresponding value in the UContext | |
Friends | |
UScale & | uscale (float v=1.) |
UScale & | uscale (const UFloat &v) |
this property specifies the scale of a UBox. It is inherited by children but have an multiplicative behavior: if a (direct or indirect) child also have a UScale prop, its rendering scale will be the multiplication of both specifications. As other UProp(s), a UScale instance must be added to the attribute list (or child list, with some restrictions) of the container: