Back to index

scribus-ng  1.3.4.dfsg+svn20071115
Classes | Functions
fpoint.h File Reference
#include <qpoint.h>
#include "scribusapi.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

protocol  SCRIBUS_API
 A Bookmark Palette. More...

Functions

const FPoint operator+ (const FPoint &p1, const FPoint &p2)
const FPoint operator- (const FPoint &p1, const FPoint &p2)
const FPoint operator* (const FPoint &p, const double &c)
const FPoint operator* (const double &c, const FPoint &p)
const double operator* (const FPoint &a, const FPoint &b)

Function Documentation

const FPoint operator* ( const FPoint &  p,
const double &  c 
) [inline]

Definition at line 78 of file fpoint.h.

                                                                  { 
       return FPoint(p.xp*c, p.yp*c); 
}
const FPoint operator* ( const double &  c,
const FPoint &  p 
) [inline]

Definition at line 82 of file fpoint.h.

                                                                  { 
       return FPoint(p.xp*c, p.yp*c); 
}
const double operator* ( const FPoint &  a,
const FPoint &  b 
) [inline]

Definition at line 86 of file fpoint.h.

                                                                  {
       return a.xp * b.xp + a.yp * b.yp; 
}
const FPoint operator+ ( const FPoint &  p1,
const FPoint &  p2 
) [inline]

Definition at line 70 of file fpoint.h.

                                                                    { 
       return FPoint(p1.xp+p2.xp, p1.yp+p2.yp); 
}
const FPoint operator- ( const FPoint &  p1,
const FPoint &  p2 
) [inline]

Definition at line 74 of file fpoint.h.

                                                                    { 
       return FPoint(p1.xp-p2.xp, p1.yp-p2.yp); 
}