rwlogo
Rogue Wave Views 5.6

Rogue Wave Views
Foundation Package API Reference Guide

Product Documentation:

Rogue Wave Views
Documentation Home

IlvFloatRect Class Reference

Geometric class. More...

#include <ilviews/base/geometry.h>

List of all members.

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.

Detailed Description

Geometric class.

Library: display

The IlvFloatRect class provides a floating point coordinates rectangle similar to the class IlvRect.

See also:
IlvRect.

Constructor & Destructor Documentation

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.


Member Function Documentation

void IlvFloatRect::bottom ( IlFloat  v  ) 

Sets the bottom coordinate of the y axis.

Parameters:
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.

Returns:
The bottom coordinate value on the y axis of the absolute coordinate system.
void IlvFloatRect::left ( IlFloat  v  ) 

Sets the left coordinate of the x axis.

Parameters:
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.

Returns:
The left coordinate value on the x axis of the absolute coordinate system.
void IlvFloatRect::right ( IlFloat  v  ) 

Sets the right coordinate of the x axis.

Parameters:
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.

Returns:
The right coordinate value on the x axis of the absolute coordinate system.
void IlvFloatRect::top ( IlFloat  v  ) 

Sets the top coordinate of the y axis.

Parameters:
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.

Returns:
The top coordinate value on the y axis of the absolute coordinate system.
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

© 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.