Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include "core/fxge/cfx_path.h"
#include "core/fxcrt/fx_coordinates.h"
#include "testing/gtest/include/gtest/gtest.h"
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) | |
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.
TEST | ( | CFX_Path | , |
BasicTest | ) |
Definition at line 10 of file cfx_path_unittest.cpp.
References CFX_FloatRect::CFX_FloatRect(), CFX_FloatRect::CFX_FloatRect(), CFX_Matrix::CFX_Matrix(), CFX_Path::AppendFloatRect(), CFX_Path::AppendPoint(), CFX_Path::AppendRect(), CFX_Path::Clear(), CFX_Path::ClosePath(), CFX_Path::GetBoundingBox(), CFX_Path::IsRect(), CFX_Path::Point::kLine, CFX_Path::Point::kMove, and CFX_Path::Transform().
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.
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.
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.
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.
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.
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.
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().
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.