Verovio
Source code documentation
vrv::Point Class Reference

Simple class for representing points. More...

#include <devicecontextbase.h>

Public Member Functions

 Point (int xx, int yy)
 
bool operator== (const Point &p) const
 
bool operator!= (const Point &p) const
 
Point operator+ (const Point &p) const
 
Point operator- (const Point &p) const
 
Pointoperator+= (const Point &p)
 
Pointoperator-= (const Point &p)
 
Point operator- () const
 

Static Public Member Functions

static Point Min (const Point &p1, const Point &p2)
 
static Point Max (const Point &p1, const Point &p2)
 

Public Attributes

int x
 
int y
 

Detailed Description

Simple class for representing points.


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