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 |
bool | isInteger () 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 Symbols | |
(Note that these are not member symbols.) | |
Stream & | operator<< (Stream &stream, const Fixed &f) |
Fixed point number with three (decimal) fractional digits.
|
inlineexplicit |
Referenced by fromDouble(), fromInternal(), mult(), operator!=(), operator<(), operator<<, and operator==().
|
inlineexplicit |
|
inlinestatic |
References Fixed(), and fromInternal().
Referenced by ipe::Color::Color(), ipe::Attribute::color(), fromDouble(), fromInternal(), ipe::Lex::getFixed(), mult(), and ipe::Attribute::number().
|
static |
References Fixed(), and fromInternal().
Referenced by ipe::Text::getAttribute().
|
inline |
|
inline |
Referenced by ipe::Latex::createLatexSource(), ipe::BBoxPainter::doDrawPath(), ipe::CairoPainter::doDrawPath(), ipe::CairoPainter::doDrawText(), ipe::Reference::draw(), ipe::Path::drawArrow(), ipe::Reference::drawSimple(), ipe::CairoPainter::executeStream(), ipe::QIpe(), and ipe::Text::setAttribute().
|
inline |
Referenced by ipe::Attribute::Attribute().
Fixed Fixed::mult | ( | int | a, |
int | b ) const |
Return value times (a/b)
References Fixed(), and fromInternal().
Referenced by ipe::Latex::createLatexSource().
|
inline |
References Fixed(), and operator==().
Referenced by operator==().
|
inline |
References Fixed(), and operator!=().
Referenced by operator!=().
|
inline |
References Fixed(), and operator<().
Referenced by operator<().
|
inline |
References isInteger().
Referenced by isInteger(), and ipe::ImlParser::parseStyle().