Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qtessellator_p.h File Reference

(05fc3aef53348fb58be6308076e000825b704e58)

#include <QPoint>
#include <QRect>
+ Include dependency graph for qtessellator_p.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

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

Macros

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

Typedefs

typedef int Q27Dot5
 

Macro Definition Documentation

◆ FloatToQ27Dot5

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

◆ IntToQ27Dot5

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

Definition at line 17 of file qtessellator_p.h.

◆ Q27Dot5Factor

#define Q27Dot5Factor   32

Definition at line 19 of file qtessellator_p.h.

◆ Q27Dot5ToDouble

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

Definition at line 15 of file qtessellator_p.h.

Referenced by QTessellator::tessellate().

◆ Q27Dot5ToXFixed

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

Definition at line 18 of file qtessellator_p.h.

Typedef Documentation

◆ Q27Dot5

typedef int Q27Dot5

Definition at line 14 of file qtessellator_p.h.