QtBase  v6.3.1
Classes | Enumerations | Functions
tst_qpoint.cpp File Reference
#include <QTest>
#include <QBuffer>
#include <qpoint.h>
#include "tst_qpoint.moc"
Include dependency graph for tst_qpoint.cpp:

Go to the source code of this file.

Classes

class  tst_QPoint
 

Enumerations

enum  PrimitiveType {
  Int , Float , Double , Primitive_Int_DiagLine ,
  Primitive_Int_VerLine , Primitive_Int_HorLine , Primitive_Int_Rect , Primitive_Int_Ellipse ,
  Primitive_Int_Pie , Primitive_Int_Arc , Primitive_Int_Chord , Primitive_Int_TriPoly ,
  Primitive_Int_RectPoly , Primitive_Int_2RectPoly , Primitive_Float_DiagLine , Primitive_Float_VerLine ,
  Primitive_Float_HorLine , Primitive_Float_Rect , Primitive_Float_Ellipse , Primitive_Float_Pie ,
  Primitive_Float_Arc , Primitive_Float_Chord , Primitive_Float_TriPoly , Primitive_Float_RectPoly ,
  Primitive_Float_2RectPoly , Primitive_Float_TriPath , Primitive_Float_RectPath , Primitive_Float_2RectPath ,
  Primitive_Float_EllipsePath , Primitive_Last_Primitive
}
 

Functions

template<typename T >
void multiplyTest (QPoint point, double factor, const QPoint &expected)
 

Enumeration Type Documentation

◆ PrimitiveType

Enumerator
Int 
Float 
Double 
Primitive_Int_DiagLine 
Primitive_Int_VerLine 
Primitive_Int_HorLine 
Primitive_Int_Rect 
Primitive_Int_Ellipse 
Primitive_Int_Pie 
Primitive_Int_Arc 
Primitive_Int_Chord 
Primitive_Int_TriPoly 
Primitive_Int_RectPoly 
Primitive_Int_2RectPoly 
Primitive_Float_DiagLine 
Primitive_Float_VerLine 
Primitive_Float_HorLine 
Primitive_Float_Rect 
Primitive_Float_Ellipse 
Primitive_Float_Pie 
Primitive_Float_Arc 
Primitive_Float_Chord 
Primitive_Float_TriPoly 
Primitive_Float_RectPoly 
Primitive_Float_2RectPoly 
Primitive_Float_TriPath 
Primitive_Float_RectPath 
Primitive_Float_2RectPath 
Primitive_Float_EllipsePath 
Primitive_Last_Primitive 

Definition at line 201 of file tst_qpoint.cpp.

Function Documentation

◆ multiplyTest()

template<typename T >
void multiplyTest ( QPoint  point,
double  factor,
const QPoint expected 
)

Definition at line 225 of file tst_qpoint.cpp.

Here is the call graph for this function: