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 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 |
Referenced by ipe::Attribute::color(), ipe::Color::Color(), fromDouble(), ipe::Lex::getFixed(), mult(), and ipe::Attribute::number().
|
static |
References fromInternal().
Referenced by ipe::Text::getAttribute().
|
inline |
|
inline |
Referenced by ipe::Reference::checkStyle(), ipe::Latex::createLatexSource(), ipe::BBoxPainter::doDrawPath(), ipe::CairoPainter::doDrawPath(), ipe::CairoPainter::doDrawText(), ipe::Reference::draw(), ipe::Path::drawArrow(), ipe::CanvasBase::drawGrid(), ipe::CanvasBase::drawPaper(), ipe::Reference::drawSimple(), ipe::CairoPainter::executeStream(), ipe::QIpe(), ipe::PdfViewBase::refreshSurface(), and ipe::Text::setAttribute().
|
inline |
Referenced by ipe::Attribute::Attribute().
Fixed Fixed::mult | ( | int | a, |
int | b | ||
) | const |
|
inline |
|
inline |
|
inline |
|
inline |
Referenced by ipe::ImlParser::parseStyle().