|
Ipelib
|
#include <ipebase.h>
Public Member Functions | |
| Fixed (int val) | |
| Fixed () | |
| int | toInt () const |
| double | toDouble () const |
| int | internal () const |
| Fixed | mult (int a, int b) const |
| bool | operator== (const Fixed &rhs) const |
| bool | operator!= (const Fixed &rhs) const |
| bool | operator< (const Fixed &rhs) const |
Static Public Member Functions | |
| static Fixed | fromInternal (int32_t val) |
| static Fixed | fromDouble (double val) |
Friends | |
| Stream & | operator<< (Stream &stream, const Fixed &f) |
Related Functions | |
(Note that these are not member functions.) | |
| Stream & | operator<< (Stream &stream, const Fixed &f) |
Fixed point number with three (decimal) fractional digits.
|
inlineexplicit |
|
inlineexplicit |
|
inlinestatic |
|
static |
References fromInternal().
Referenced by ipe::Text::getAttribute().
|
inline |
|
inline |
|
inline |
Referenced by ipe::Attribute::Attribute(), ipe::PdfPainter::drawAttributes(), and ipe::Canvas::sizeHint().
| Fixed Fixed::mult | ( | int | a, |
| int | b | ||
| ) | const |
Return value times (a/b)
Referenced by ipe::Latex::createLatexSource(), and ipe::String::unicode().
|
inline |
|
inline |
|
inline |
References ipe::Lex::Lex().