![]() |
Rogue Wave Views |
Rogue Wave Views Documentation Home |
Geometric class. More...
#include <ilviews/base/geometry.h>
Public Member Functions | |
| IlvFloatRect (IlFloat x1=(IlFloat) 0, IlFloat y1=(IlFloat) 0, IlFloat x2=(IlFloat) 0, IlFloat y2=(IlFloat) 0) | |
| Constructor. More... | |
| IlFloat | bottom () const |
| Gets the bottom coordinate of the y axis. More... | |
| void | bottom (IlFloat v) |
| Sets the bottom coordinate of the y axis. More... | |
| IlFloat | left () const |
| Gets the left coordinate of the x axis. More... | |
| void | left (IlFloat v) |
| Sets the left coordinate of the x axis. More... | |
| IlFloat | right () const |
| Gets the right coordinate of the x axis. More... | |
| void | right (IlFloat v) |
| Sets the right coordinate of the x axis. More... | |
| IlFloat | top () const |
| Gets the top coordinate of the y axis. More... | |
| void | top (IlFloat v) |
| Sets the top coordinate of the y axis. More... | |
Geometric class.
Library: xviews or winviews or mviews (mutually exclusive)
The IlvFloatRect class provides a floating point coordinates rectangle similar to the class IlvRect.
IlvRect. | IlvFloatRect::IlvFloatRect | ( | IlFloat | x1 = (IlFloat)0, |
| IlFloat | y1 = (IlFloat)0, |
||
| IlFloat | x2 = (IlFloat)0, |
||
| IlFloat | y2 = (IlFloat)0 |
||
| ) |
Constructor.
Initializes a new IlvFloatRect with predefined location and size. The two points x1, y1 and x2, y2 are the two points used to create the rectangle.
| IlFloat IlvFloatRect::bottom | ( | ) | const |
Gets the bottom coordinate of the y axis.
| void IlvFloatRect::bottom | ( | IlFloat | v | ) |
Sets the bottom coordinate of the y axis.
| v | The bottom coordinate value on the y axis of the absolute coordinate system. |
| IlFloat IlvFloatRect::left | ( | ) | const |
Gets the left coordinate of the x axis.
| void IlvFloatRect::left | ( | IlFloat | v | ) |
Sets the left coordinate of the x axis.
| v | The left coordinate value on the x axis of the absolute coordinate system. |
| IlFloat IlvFloatRect::right | ( | ) | const |
Gets the right coordinate of the x axis.
| void IlvFloatRect::right | ( | IlFloat | v | ) |
Sets the right coordinate of the x axis.
| v | The right coordinate value on the x axis of the absolute coordinate system. |
| IlFloat IlvFloatRect::top | ( | ) | const |
Gets the top coordinate of the y axis.
| void IlvFloatRect::top | ( | IlFloat | v | ) |
Sets the top coordinate of the y axis.
| v | The top coordinate value on the y axis of the absolute coordinate system. |
© Copyright 2015, Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave is a registered trademark of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.