rwlogo
Rogue Wave Views 5.5.1

Rogue Wave Views
Foundation Package API Reference Guide

Product Documentation:

Rogue Wave Views
Documentation Home

IlvWindowsRect Class Reference

This class is a helper to deal with the Windows API structure RECT in Rogue Wave Views code. More...

#include <ilviews/windows/config.h>

Inheritance diagram for IlvWindowsRect:
IlvRect

List of all members.

Public Member Functions

 IlvWindowsRect ()
 The default constructor.
 IlvWindowsRect (const IlvRect &rect)
 Constructor from an IlvRect.
 IlvWindowsRect (IlvPos x, IlvPos y, IlvDim w, IlvDim h)
 Constructor from coordinates.
 IlvWindowsRect (const RECT &rect)
 Conversion constructor from a Windows API structure RECT.
RECT & fill (RECT &rect)
 Fills a Windows API structure RECT.
 operator const RECT ()
 Conversion operator into a Windows API Structure RECT.

Detailed Description

This class is a helper to deal with the Windows API structure RECT in Rogue Wave Views code.

Library: winviews


Constructor & Destructor Documentation

IlvWindowsRect::IlvWindowsRect ( const RECT &  rect  ) 

Conversion constructor from a Windows API structure RECT.

Parameters:
rect A const reference to a RECT to be converted into an IlvWindowsRect.
IlvWindowsRect::IlvWindowsRect ( IlvPos  x,
IlvPos  y,
IlvDim  w,
IlvDim  h 
)

Constructor from coordinates.

Parameters:
x An IlvPos that is the abscissa of the origin of the rectangle.
y An IlvPos that is the ordinate of the origin of the rectangle.
w An IlvDim that is the width of the rectangle.
h An IlvDim that is the height of the rectangle.
IlvWindowsRect::IlvWindowsRect ( const IlvRect rect  ) 

Constructor from an IlvRect.

Parameters:
rect A const reference to an IlvRect.
IlvWindowsRect::IlvWindowsRect (  ) 

The default constructor.

The coordinates of the origin of the rectangle are (0, 0), and the width and the height are equal to 0.


Member Function Documentation

RECT& IlvWindowsRect::fill ( RECT &  rect  ) 

Fills a Windows API structure RECT.

Parameters:
rect A reference to a Windows API structure RECT to be filled with the values of the instance of IlvWindowsRect.
Returns:
A reference to the Windows API structure RECT given as the parameter.
IlvWindowsRect::operator const RECT (  ) 

Conversion operator into a Windows API Structure RECT.

The Windows API Structure RECT is filled with the values of the instance of IlvWindowsRect.

Returns:
A constant Windows API structure RECT.

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