Qt 4.8
Classes | Macros | Typedefs
qtessellator_p.h File Reference
#include <qpoint.h>
#include <qrect.h>

Go to the source code of this file.

Classes

class  QTessellator
 
struct  QTessellator::Trapezoid
 
struct  QTessellator::Vertex
 

Macros

#define FloatToQ27Dot5(i)   (int)((i) * 32)
 
#define IntToQ27Dot5(i)   ((i) << 5)
 
#define Q27Dot5Factor   32
 
#define Q27Dot5ToDouble(i)   ((i)/32.)
 
#define Q27Dot5ToXFixed(i)   ((i) << 11)
 

Typedefs

typedef int Q27Dot5
 

Macro Definition Documentation

◆ FloatToQ27Dot5

#define FloatToQ27Dot5 (   i)    (int)((i) * 32)

◆ IntToQ27Dot5

#define IntToQ27Dot5 (   i)    ((i) << 5)

Definition at line 66 of file qtessellator_p.h.

◆ Q27Dot5Factor

#define Q27Dot5Factor   32

Definition at line 68 of file qtessellator_p.h.

◆ Q27Dot5ToDouble

#define Q27Dot5ToDouble (   i)    ((i)/32.)

◆ Q27Dot5ToXFixed

#define Q27Dot5ToXFixed (   i)    ((i) << 11)

Definition at line 67 of file qtessellator_p.h.

Referenced by QXRenderTessellator::addTrap().

Typedef Documentation

◆ Q27Dot5

typedef int Q27Dot5

Definition at line 61 of file qtessellator_p.h.