Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include "public/fpdf_edit.h"
#include <memory>
#include <utility>
#include "core/fpdfapi/page/cpdf_path.h"
#include "core/fpdfapi/page/cpdf_pathobject.h"
#include "core/fxcrt/fx_system.h"
#include "core/fxcrt/stl_util.h"
#include "fpdfsdk/cpdfsdk_helpers.h"
#include "third_party/base/containers/span.h"
Go to the source code of this file.
FPDF_EXPORT FPDF_PAGEOBJECT FPDF_CALLCONV FPDFPageObj_CreateNewPath | ( | float | x, |
float | y ) |
Definition at line 57 of file fpdf_editpath.cpp.
References CFX_Path::Point::kMove.
Referenced by CheckPDFiumCApi(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), and TEST_F().
FPDF_EXPORT FPDF_PAGEOBJECT FPDF_CALLCONV FPDFPageObj_CreateNewRect | ( | float | x, |
float | y, | ||
float | w, | ||
float | h ) |
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFPath_BezierTo | ( | FPDF_PAGEOBJECT | path, |
float | x1, | ||
float | y1, | ||
float | x2, | ||
float | y2, | ||
float | x3, | ||
float | y3 ) |
Definition at line 123 of file fpdf_editpath.cpp.
References CPDF_Path::AppendPoint(), CFX_Path::Point::kBezier, CPDF_PathObject::path(), and CPDF_PageObject::SetDirty().
Referenced by CheckPDFiumCApi(), TEST_F(), TEST_F(), TEST_F(), and TEST_F().
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFPath_Close | ( | FPDF_PAGEOBJECT | path | ) |
Definition at line 142 of file fpdf_editpath.cpp.
References CPDF_Path::ClosePath(), CPDF_PathObject::path(), and CPDF_PageObject::SetDirty().
Referenced by CheckPDFiumCApi(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), and TEST_F().
FPDF_EXPORT int FPDF_CALLCONV FPDFPath_CountSegments | ( | FPDF_PAGEOBJECT | path | ) |
Definition at line 79 of file fpdf_editpath.cpp.
References CPDF_PathObject::path().
Referenced by CheckPDFiumCApi(), TEST_F(), TEST_F(), TEST_F(), and TEST_F().
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFPath_GetDrawMode | ( | FPDF_PAGEOBJECT | path, |
int * | fillmode, | ||
FPDF_BOOL * | stroke ) |
Definition at line 174 of file fpdf_editpath.cpp.
References CPDF_PathObject::has_alternate_filltype(), CPDF_PathObject::has_winding_filltype(), and CPDF_PathObject::stroke().
Referenced by CheckPDFiumCApi(), and TEST_F().
FPDF_EXPORT FPDF_PATHSEGMENT FPDF_CALLCONV FPDFPath_GetPathSegment | ( | FPDF_PAGEOBJECT | path, |
int | index ) |
Definition at line 87 of file fpdf_editpath.cpp.
Referenced by CheckPDFiumCApi(), TEST_F(), TEST_F(), TEST_F(), and TEST_F().
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFPath_LineTo | ( | FPDF_PAGEOBJECT | path, |
float | x, | ||
float | y ) |
Definition at line 111 of file fpdf_editpath.cpp.
References CPDF_Path::AppendPoint(), CFX_Path::Point::kLine, CPDF_PathObject::path(), and CPDF_PageObject::SetDirty().
Referenced by CheckPDFiumCApi(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), and TEST_F().
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFPath_MoveTo | ( | FPDF_PAGEOBJECT | path, |
float | x, | ||
float | y ) |
Definition at line 99 of file fpdf_editpath.cpp.
References CPDF_Path::AppendPoint(), CFX_Path::Point::kMove, CPDF_PathObject::path(), and CPDF_PageObject::SetDirty().
Referenced by CheckPDFiumCApi(), TEST_F(), and TEST_F().
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFPath_SetDrawMode | ( | FPDF_PAGEOBJECT | path, |
int | fillmode, | ||
FPDF_BOOL | stroke ) |
Definition at line 156 of file fpdf_editpath.cpp.
References CPDF_PathObject::set_alternate_filltype(), CPDF_PathObject::set_no_filltype(), CPDF_PathObject::set_stroke(), CPDF_PathObject::set_winding_filltype(), and CPDF_PageObject::SetDirty().
Referenced by CheckPDFiumCApi(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), and TEST_F().
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFPathSegment_GetClose | ( | FPDF_PATHSEGMENT | segment | ) |
Definition at line 211 of file fpdf_editpath.cpp.
References FXPathPointFromFPDFPathSegment(), and CFX_Path::Point::m_CloseFigure.
Referenced by CheckPDFiumCApi(), TEST_F(), TEST_F(), TEST_F(), and TEST_F().
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFPathSegment_GetPoint | ( | FPDF_PATHSEGMENT | segment, |
float * | x, | ||
float * | y ) |
Definition at line 193 of file fpdf_editpath.cpp.
References FXPathPointFromFPDFPathSegment().
Referenced by CheckPDFiumCApi(), TEST_F(), TEST_F(), TEST_F(), and TEST_F().
FPDF_EXPORT int FPDF_CALLCONV FPDFPathSegment_GetType | ( | FPDF_PATHSEGMENT | segment | ) |
Definition at line 204 of file fpdf_editpath.cpp.
References FXPathPointFromFPDFPathSegment(), and CFX_Path::Point::m_Type.
Referenced by CheckPDFiumCApi(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), and TEST_F().