Back to index

scribus-ng  1.3.4.dfsg+svn20071115
Functions
smtextstylewidgets.cpp File Reference
#include "smtextstylewidgets.h"
#include "smtextstylewidgets.moc"
#include "units.h"
#include "util.h"
#include "commonstrings.h"
#include "smwidgets.h"
#include <qgroupbox.h>
#include <qlayout.h>
#include <qtoolbutton.h>
#include <qlabel.h>
#include <qpopupmenu.h>
#include <qcombobox.h>
#include <qspinbox.h>
#include <qframe.h>
#include <qpixmap.h>
#include <qtabwidget.h>
#include <qmap.h>
#include <cmath>

Go to the source code of this file.

Functions

static bool isEqual (double a, double b)

Function Documentation

static bool isEqual ( double  a,
double  b 
) [static]

Definition at line 28 of file smtextstylewidgets.cpp.

{
       Q_ASSERT(a >  -21473 && b > -21473 && a < 21474 && b < 21474);
       long al = static_cast<long>(10000 * a);
       long bl = static_cast<long>(10000 * b);
    return al == bl;
}

Here is the caller graph for this function: