Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
cfx_path_unittest.cpp File Reference

(ab965b1c2c3e7e4cd62a4b45abfaf393f4fb4618)

+ Include dependency graph for cfx_path_unittest.cpp:

Go to the source code of this file.

Functions

 TEST (CFX_Path, BasicTest)
 
 TEST (CFX_Path, ShearTransform)
 
 TEST (CFX_Path, Hexagon)
 
 TEST (CFX_Path, ClosePath)
 
 TEST (CFX_Path, FivePointRect)
 
 TEST (CFX_Path, SixPlusPointRect)
 
 TEST (CFX_Path, NotRect)
 
 TEST (CFX_Path, EmptyRect)
 
 TEST (CFX_Path, Append)
 
 TEST (CFX_Path, GetBoundingBoxForStrokePath)
 

Function Documentation

◆ TEST() [1/10]

TEST ( CFX_Path ,
Append  )

Definition at line 351 of file cfx_path_unittest.cpp.

References CFX_Matrix::CFX_Matrix(), CFX_Path::Append(), CFX_Path::AppendPoint(), and CFX_Path::Point::kMove.

+ Here is the call graph for this function:

◆ TEST() [2/10]

TEST ( CFX_Path ,
BasicTest  )

◆ TEST() [3/10]

TEST ( CFX_Path ,
ClosePath  )

Definition at line 142 of file cfx_path_unittest.cpp.

References CFX_Path::AppendLine(), CFX_Path::AppendPointAndClose(), CFX_Path::ClosePath(), CFX_Matrix::IsIdentity(), CFX_Path::IsRect(), and CFX_Path::Point::kLine.

+ Here is the call graph for this function:

◆ TEST() [4/10]

TEST ( CFX_Path ,
EmptyRect  )

Definition at line 336 of file cfx_path_unittest.cpp.

References CFX_FloatRect::CFX_FloatRect(), CFX_Path::AppendPoint(), CFX_Path::GetBoundingBox(), CFX_Path::IsRect(), CFX_Path::Point::kLine, and CFX_Path::Point::kMove.

+ Here is the call graph for this function:

◆ TEST() [5/10]

TEST ( CFX_Path ,
FivePointRect  )

Definition at line 192 of file cfx_path_unittest.cpp.

References CFX_Path::AppendPoint(), CFX_Path::ClosePath(), CFX_Path::IsRect(), CFX_Path::Point::kLine, and CFX_Path::Point::kMove.

+ Here is the call graph for this function:

◆ TEST() [6/10]

TEST ( CFX_Path ,
GetBoundingBoxForStrokePath  )

Definition at line 376 of file cfx_path_unittest.cpp.

References CFX_FloatRect::CFX_FloatRect(), CFX_Path::AppendPoint(), CFX_Path::ClosePath(), CFX_Path::GetBoundingBoxForStrokePath(), CFX_Path::Point::kLine, and CFX_Path::Point::kMove.

+ Here is the call graph for this function:

◆ TEST() [7/10]

TEST ( CFX_Path ,
Hexagon  )

Definition at line 98 of file cfx_path_unittest.cpp.

References CFX_FloatRect::CFX_FloatRect(), CFX_Path::AppendPoint(), CFX_Path::Clear(), CFX_Path::ClosePath(), CFX_Path::GetBoundingBox(), CFX_Path::IsRect(), CFX_Path::Point::kLine, and CFX_Path::Point::kMove.

+ Here is the call graph for this function:

◆ TEST() [8/10]

TEST ( CFX_Path ,
NotRect  )

Definition at line 252 of file cfx_path_unittest.cpp.

References CFX_FloatRect::CFX_FloatRect(), CFX_Matrix::CFX_Matrix(), CFX_Path::AppendPoint(), CFX_Path::AppendPointAndClose(), CFX_Path::Clear(), CFX_Path::ClosePath(), CFX_Path::GetBoundingBox(), CFX_Path::IsRect(), CFX_Path::Point::kLine, and CFX_Path::Point::kMove.

+ Here is the call graph for this function:

◆ TEST() [9/10]

TEST ( CFX_Path ,
ShearTransform  )

Definition at line 68 of file cfx_path_unittest.cpp.

References CFX_FloatRect::CFX_FloatRect(), CFX_Matrix::CFX_Matrix(), CFX_Path::AppendRect(), CFX_Path::GetBoundingBox(), CFX_Matrix::GetInverse(), CFX_Path::IsRect(), and CFX_Path::Transform().

+ Here is the call graph for this function:

◆ TEST() [10/10]

TEST ( CFX_Path ,
SixPlusPointRect  )

Definition at line 217 of file cfx_path_unittest.cpp.

References CFX_FloatRect::CFX_FloatRect(), CFX_Path::AppendPoint(), CFX_Path::Clear(), CFX_Path::GetBoundingBox(), CFX_Path::IsRect(), CFX_Path::Point::kLine, and CFX_Path::Point::kMove.

+ Here is the call graph for this function: