Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

FTPoint Class Reference

#include <FTPoint.h>

List of all members.


Detailed Description

FTPoint class is a basic 3 dimensional point or vector.

Definition at line 13 of file FTPoint.h.

Public Member Functions

 FTPoint ()
 Default constructor.

 FTPoint (const FTGL_DOUBLE X, const FTGL_DOUBLE Y, const FTGL_DOUBLE Z)
 Constructor.

 FTPoint (const FT_Vector &ft_vector)
 Constructor.

FTPointoperator+= (const FTPoint &point)
 Operator +=.


Public Attributes

FTGL_DOUBLE x
 The point data.

FTGL_DOUBLE y
 The point data.

FTGL_DOUBLE z
 The point data.


Friends

bool operator== (const FTPoint &a, const FTPoint &b)
 Operator == Tests for eqaulity.

bool operator!= (const FTPoint &a, const FTPoint &b)
 Operator != Tests for non equality.


Constructor & Destructor Documentation

FTPoint::FTPoint  )  [inline]
 

Default constructor.

Point is set to zero.

Definition at line 19 of file FTPoint.h.

FTPoint::FTPoint const FTGL_DOUBLE  X,
const FTGL_DOUBLE  Y,
const FTGL_DOUBLE  Z
[inline]
 

Constructor.

Parameters:
X 
Y 
Z 

Definition at line 30 of file FTPoint.h.

References FTGL_DOUBLE.

FTPoint::FTPoint const FT_Vector &  ft_vector  )  [inline]
 

Constructor.

This converts an FT_Vector to an FT_Point

Parameters:
ft_vector A freetype vector

Definition at line 39 of file FTPoint.h.


Member Function Documentation

FTPoint& FTPoint::operator+= const FTPoint point  )  [inline]
 

Operator +=.

Parameters:
point 
Returns:
this plus point.

Definition at line 49 of file FTPoint.h.

References x, y, and z.


Friends And Related Function Documentation

bool operator!= const FTPoint a,
const FTPoint b
[friend]
 

Operator != Tests for non equality.

Parameters:
a 
b 
Returns:

Definition at line 9 of file FTPoint.cpp.

bool operator== const FTPoint a,
const FTPoint b
[friend]
 

Operator == Tests for eqaulity.

Parameters:
a 
b 
Returns:

Definition at line 4 of file FTPoint.cpp.


Member Data Documentation

FTGL_DOUBLE FTPoint::x
 

The point data.

Definition at line 79 of file FTPoint.h.

Referenced by FTGlyphContainer::Advance(), FTBitmapGlyph::FTBitmapGlyph(), FTBufferGlyph::FTBufferGlyph(), FTContour::FTContour(), FTExtrdGlyph::FTExtrdGlyph(), FTOutlineGlyph::FTOutlineGlyph(), FTPixmapGlyph::FTPixmapGlyph(), FTPolyGlyph::FTPolyGlyph(), FTTextureGlyph::FTTextureGlyph(), FTFace::KernAdvance(), FTVectoriser::MakeMesh(), FTBBox::Move(), operator!=(), operator+=(), operator==(), FTTextureGlyph::Render(), FTPolyGlyph::Render(), FTPixmapGlyph::Render(), FTOutlineGlyph::Render(), FTGlyphContainer::Render(), FTFont::Render(), FTExtrdGlyph::Render(), and FTBitmapGlyph::Render().

FTGL_DOUBLE FTPoint::y
 

The point data.

Definition at line 79 of file FTPoint.h.

Referenced by FTBitmapGlyph::FTBitmapGlyph(), FTBufferGlyph::FTBufferGlyph(), FTContour::FTContour(), FTExtrdGlyph::FTExtrdGlyph(), FTOutlineGlyph::FTOutlineGlyph(), FTPixmapGlyph::FTPixmapGlyph(), FTPolyGlyph::FTPolyGlyph(), FTTextureGlyph::FTTextureGlyph(), FTBBox::Move(), operator!=(), operator+=(), operator==(), FTTextureGlyph::Render(), FTPolyGlyph::Render(), FTPixmapGlyph::Render(), FTOutlineGlyph::Render(), FTFont::Render(), FTExtrdGlyph::Render(), and FTBitmapGlyph::Render().

FTGL_DOUBLE FTPoint::z
 

The point data.

Definition at line 79 of file FTPoint.h.

Referenced by FTBBox::Move(), operator!=(), operator+=(), and operator==().


The documentation for this class was generated from the following file:
Generated on Mon Aug 16 18:47:21 2004 for FTGL by doxygen 1.3.6