w32tex
About: TeX Live provides a comprehensive TeX system including all the major TeX-related programs, macro packages, and fonts that are free software. Windows sources.
  Fossies Dox: w32tex-src.tar.xz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

graphite2::Position Class Reference

#include <Position.h>

Public Member Functions

 Position ()
 
 Position (const float inx, const float iny)
 
Position operator+ (const Position &a) const
 
Position operator- (const Position &a) const
 
Position operator* (const float m) const
 
Positionoperator+= (const Position &a)
 
Positionoperator*= (const float m)
 
 Position ()
 
 Position (const float inx, const float iny)
 
Position operator+ (const Position &a) const
 
Position operator- (const Position &a) const
 
Position operator* (const float m) const
 
Positionoperator+= (const Position &a)
 
Positionoperator*= (const float m)
 

Public Attributes

float x
 
float y
 

Detailed Description

Definition at line 31 of file Position.h.

Constructor & Destructor Documentation

◆ Position() [1/4]

graphite2::Position::Position ( )
inline

Definition at line 34 of file Position.h.

Referenced by operator*(), operator+(), and operator-().

◆ Position() [2/4]

graphite2::Position::Position ( const float  inx,
const float  iny 
)
inline

Definition at line 35 of file Position.h.

◆ Position() [3/4]

graphite2::Position::Position ( )
inline

Definition at line 34 of file Position.h.

◆ Position() [4/4]

graphite2::Position::Position ( const float  inx,
const float  iny 
)
inline

Definition at line 35 of file Position.h.

Member Function Documentation

◆ operator*() [1/2]

Position graphite2::Position::operator* ( const float  m) const
inline

Definition at line 38 of file Position.h.

References m, Position(), x, and y.

◆ operator*() [2/2]

Position graphite2::Position::operator* ( const float  m) const
inline

Definition at line 38 of file Position.h.

References m, Position(), x, and y.

◆ operator*=() [1/2]

Position& graphite2::Position::operator*= ( const float  m)
inline

Definition at line 40 of file Position.h.

References m, x, and y.

◆ operator*=() [2/2]

Position& graphite2::Position::operator*= ( const float  m)
inline

Definition at line 40 of file Position.h.

References m, x, and y.

◆ operator+() [1/2]

Position graphite2::Position::operator+ ( const Position a) const
inline

Definition at line 36 of file Position.h.

References a, Position(), x, and y.

◆ operator+() [2/2]

Position graphite2::Position::operator+ ( const Position a) const
inline

Definition at line 36 of file Position.h.

References a, Position(), x, and y.

◆ operator+=() [1/2]

Position& graphite2::Position::operator+= ( const Position a)
inline

Definition at line 39 of file Position.h.

References a, x, and y.

◆ operator+=() [2/2]

Position& graphite2::Position::operator+= ( const Position a)
inline

Definition at line 39 of file Position.h.

References a, x, and y.

◆ operator-() [1/2]

Position graphite2::Position::operator- ( const Position a) const
inline

Definition at line 37 of file Position.h.

References a, Position(), x, and y.

◆ operator-() [2/2]

Position graphite2::Position::operator- ( const Position a) const
inline

Definition at line 37 of file Position.h.

References a, Position(), x, and y.

Member Data Documentation

◆ x

◆ y


The documentation for this class was generated from the following files: