Rogue Wave Views 5.6 |
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. | |
void | bottom (IlFloat v) |
Sets the bottom coordinate of the y axis. | |
IlFloat | bottom () const |
Gets the bottom coordinate of the y axis. | |
void | left (IlFloat v) |
Sets the left coordinate of the x axis. | |
IlFloat | left () const |
Gets the left coordinate of the x axis. | |
void | right (IlFloat v) |
Sets the right coordinate of the x axis. | |
IlFloat | right () const |
Gets the right coordinate of the x axis. | |
void | top (IlFloat v) |
Sets the top coordinate of the y axis. | |
IlFloat | top () const |
Gets the top coordinate of the y axis. |
Geometric class.
Library: display
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.
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::bottom | ( | ) | const |
Gets the bottom coordinate of the y 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::left | ( | ) | const |
Gets the left 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::right | ( | ) | const |
Gets the right coordinate of the x 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. |
IlFloat IlvFloatRect::top | ( | ) | const |
Gets the top coordinate of the y axis.
© Copyright 2012, 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.