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/fxcrt/fx_system.h"
#include "core/fxge/cfx_defaultrenderdevice.h"
#include "public/fpdf_edit.h"
#include "testing/embedder_test.h"
#include "testing/embedder_test_constants.h"
Go to the source code of this file.
Classes | |
class | FPDFEditPageEmbedderTest |
Functions | |
TEST_F (FPDFEditPageEmbedderTest, Rotation) | |
TEST_F (FPDFEditPageEmbedderTest, HasTransparencyImage) | |
TEST_F (FPDFEditPageEmbedderTest, HasTransparencyInvalid) | |
TEST_F (FPDFEditPageEmbedderTest, HasTransparencyPath) | |
TEST_F (FPDFEditPageEmbedderTest, HasTransparencyText) | |
TEST_F (FPDFEditPageEmbedderTest, GetFillAndStrokeForImage) | |
TEST_F (FPDFEditPageEmbedderTest, DashingArrayAndPhase) | |
TEST_F (FPDFEditPageEmbedderTest, GetRotatedBoundsBadParameters) | |
TEST_F (FPDFEditPageEmbedderTest, GetBoundsForNormalText) | |
TEST_F (FPDFEditPageEmbedderTest, GetBoundsForRotatedText) | |
TEST_F (FPDFEditPageEmbedderTest, GetBoundsForNormalImage) | |
TEST_F (FPDFEditPageEmbedderTest, GetBoundsForRotatedImage) | |
TEST_F (FPDFEditPageEmbedderTest, VerifyDashArraySaved) | |
TEST_F | ( | FPDFEditPageEmbedderTest | , |
DashingArrayAndPhase | ) |
Definition at line 160 of file fpdf_editpage_embeddertest.cpp.
References FPDFPage_CountObjects(), FPDFPage_GetObject(), FPDFPageObj_GetDashCount(), FPDFPageObj_GetDashPhase(), FPDFPageObj_GetType(), and FPDFPageObj_SetDashPhase().
TEST_F | ( | FPDFEditPageEmbedderTest | , |
GetBoundsForNormalImage | ) |
Definition at line 388 of file fpdf_editpage_embeddertest.cpp.
References FPDFPage_GetObject(), FPDFPageObj_GetBounds(), FPDFPageObj_GetRotatedBounds(), and FPDFPageObj_GetType().
TEST_F | ( | FPDFEditPageEmbedderTest | , |
GetBoundsForNormalText | ) |
Definition at line 314 of file fpdf_editpage_embeddertest.cpp.
References FPDFPage_GetObject(), FPDFPageObj_GetBounds(), FPDFPageObj_GetRotatedBounds(), and FPDFPageObj_GetType().
TEST_F | ( | FPDFEditPageEmbedderTest | , |
GetBoundsForRotatedImage | ) |
Definition at line 425 of file fpdf_editpage_embeddertest.cpp.
References FPDFPage_GetObject(), FPDFPageObj_GetBounds(), FPDFPageObj_GetRotatedBounds(), and FPDFPageObj_GetType().
TEST_F | ( | FPDFEditPageEmbedderTest | , |
GetBoundsForRotatedText | ) |
Definition at line 351 of file fpdf_editpage_embeddertest.cpp.
References FPDFPage_GetObject(), FPDFPageObj_GetBounds(), FPDFPageObj_GetRotatedBounds(), and FPDFPageObj_GetType().
TEST_F | ( | FPDFEditPageEmbedderTest | , |
GetFillAndStrokeForImage | ) |
Definition at line 135 of file fpdf_editpage_embeddertest.cpp.
References FPDFPage_CountObjects(), FPDFPage_GetObject(), FPDFPageObj_GetFillColor(), FPDFPageObj_GetStrokeColor(), and FPDFPageObj_GetType().
TEST_F | ( | FPDFEditPageEmbedderTest | , |
GetRotatedBoundsBadParameters | ) |
Definition at line 298 of file fpdf_editpage_embeddertest.cpp.
References FPDFPage_GetObject(), FPDFPageObj_GetRotatedBounds(), and FPDFPageObj_GetType().
TEST_F | ( | FPDFEditPageEmbedderTest | , |
HasTransparencyImage | ) |
Definition at line 77 of file fpdf_editpage_embeddertest.cpp.
References FPDFPage_CountObjects(), FPDFPage_GetObject(), FPDFPageObj_HasTransparency(), and FPDFPageObj_SetFillColor().
TEST_F | ( | FPDFEditPageEmbedderTest | , |
HasTransparencyInvalid | ) |
Definition at line 95 of file fpdf_editpage_embeddertest.cpp.
References FPDFPageObj_HasTransparency().
TEST_F | ( | FPDFEditPageEmbedderTest | , |
HasTransparencyPath | ) |
Definition at line 99 of file fpdf_editpage_embeddertest.cpp.
References FPDFPage_CountObjects(), FPDFPage_GetObject(), FPDFPageObj_HasTransparency(), and FPDFPageObj_SetStrokeColor().
TEST_F | ( | FPDFEditPageEmbedderTest | , |
HasTransparencyText | ) |
Definition at line 117 of file fpdf_editpage_embeddertest.cpp.
References FPDFPage_CountObjects(), FPDFPage_GetObject(), FPDFPageObj_HasTransparency(), and FPDFPageObj_SetBlendMode().
TEST_F | ( | FPDFEditPageEmbedderTest | , |
Rotation | ) |
Definition at line 13 of file fpdf_editpage_embeddertest.cpp.
References FPDF_GetPageHeight(), FPDF_GetPageWidth(), FPDFPage_GetRotation(), FPDFPage_SetRotation(), pdfium::RectanglesChecksum(), and CFX_DefaultRenderDevice::UseSkiaRenderer().
TEST_F | ( | FPDFEditPageEmbedderTest | , |
VerifyDashArraySaved | ) |
Definition at line 462 of file fpdf_editpage_embeddertest.cpp.
References FPDFPage_GetObject(), FPDFPageObj_CreateNewPath(), FPDFPageObj_GetDashCount(), FPDFPageObj_GetDashPhase(), FPDFPageObj_SetStrokeColor(), FPDFPageObj_SetStrokeWidth(), FPDFPath_LineTo(), and FPDFPath_SetDrawMode().