rwlogo
Rogue Wave Views 5.6

Rogue Wave Views
Foundation Package API Reference Guide

Product Documentation:

Rogue Wave Views
Documentation Home

IlvWindowsPoint Class Reference

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

#include <ilviews/windows/config.h>

Inheritance diagram for IlvWindowsPoint:
IlvPoint

List of all members.

Public Member Functions

 IlvWindowsPoint ()
 The default constructor.
 IlvWindowsPoint (const IlvPoint &pt)
 Constructor from an IlvPoint.
 IlvWindowsPoint (IlvPos x, IlvPos y)
 Constructor from coordinates.
 IlvWindowsPoint (const POINT &pt)
 Conversion constructor from a Windows API structure POINT.
POINT & fill (POINT &pt)
 Fills a Windows API structure POINT.
 operator const POINT ()
 Conversion operator into a Windows API Structure POINT.

Detailed Description

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

Library: winviews


Constructor & Destructor Documentation

IlvWindowsPoint::IlvWindowsPoint ( const POINT &  pt  ) 

Conversion constructor from a Windows API structure POINT.

Parameters:
pt A const reference to a POINT to be converted into an IlvWindowsPoint.
IlvWindowsPoint::IlvWindowsPoint ( IlvPos  x,
IlvPos  y 
)

Constructor from coordinates.

Parameters:
x An IlvPos that is the abscissa of the point.
y An IlvPos that is the ordinate of the point.
IlvWindowsPoint::IlvWindowsPoint ( const IlvPoint pt  ) 

Constructor from an IlvPoint.

Parameters:
pt A const reference to an IlvPoint.
IlvWindowsPoint::IlvWindowsPoint (  ) 

The default constructor.

The coordinates of the point are (0, 0).


Member Function Documentation

POINT& IlvWindowsPoint::fill ( POINT &  pt  ) 

Fills a Windows API structure POINT.

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

Conversion operator into a Windows API Structure POINT.

The Windows API Structure POINT is filled with the values of the instance of IlvWindowsPoint.

Returns:
A constant Windows API structure POINT.
 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.