Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   Related Pages  

sjgui::CPointTmpl< T > Class Template Reference

This is a template of a class describing a point primitive. More...

#include <wnd.h>

List of all members.

Public Member Functions

 CPointTmpl (T x=T(), T y=T())
 Initializes class to some point.

void SetX (T x)
 Set X coordinate.

void SetY (T y)
 Set Y coordinate.

void SetPos (T x, T y)
 Set position.

GetX ()
 Get X coordinate.

GetY ()
 Get Y coordinate.

void Translate (T x, T y)
 Move point to this distance.

 operator CSizeTmpl ()
 Convert to size.

CSizeTmpl< T > Sz ()
 Convert to size.

const CPointTmpl< T > & operator= (const CRectTmpl< T > &rect) const
 Takes position of the rectangle.

const CPointTmpl< T > & operator+ (const CPointTmpl< T > &pt)
 Adds two points together.


Detailed Description

template<class T>
class sjgui::CPointTmpl< T >

This is a template of a class describing a point primitive.

Used to define point of the structure.

Author:
Alexander Shyrokov
Version:
Revision
1.1.1.1


The documentation for this class was generated from the following file:
sjgui logo
Quick Links:

 News
 Description
 Screen Shots
 Projects
 Downloads
 Source Code
 Help/FAQ
 Want to help?
 Credits
 Disclaimer


Documentation:

 Documentation
 Reference
 Lessons


Useful links:

sjcomp logo
sjcomp

opengl logo

nehe logo

SourceForge.net Logo

Last modified:


Started by Alexander Shyrokov. Generated at Wed Apr 28 12:31:06 2004 for the sjgui by doxygen 1.3.1. SourceForge.net Logo