Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <cpdf_pageobject.h>
Public Types | |
enum class | Type { kText = 1 , kPath , kImage , kShading , kForm } |
Static Public Attributes | |
static constexpr int32_t | kNoContentStream = -1 |
Protected Member Functions | |
void | CopyData (const CPDF_PageObject *pSrcObject) |
Definition at line 27 of file cpdf_pageobject.h.
|
strong |
Enumerator | |
---|---|
kText | |
kPath | |
kImage | |
kShading | |
kForm |
Definition at line 30 of file cpdf_pageobject.h.
|
explicit |
Definition at line 13 of file cpdf_pageobject.cpp.
Referenced by CPDF_FormObject::CPDF_FormObject(), CPDF_ImageObject::CPDF_ImageObject(), CPDF_PathObject::CPDF_PathObject(), CPDF_ShadingObject::CPDF_ShadingObject(), and CPDF_TextObject::CPDF_TextObject().
|
delete |
|
virtualdefault |
|
virtual |
Reimplemented in CPDF_FormObject.
Definition at line 70 of file cpdf_pageobject.cpp.
Referenced by FPDFPageObj_GetMatrix(), FPDFPageObj_HasTransparency(), FPDFPageObj_SetMatrix(), and TEST_F().
|
virtual |
Reimplemented in CPDF_FormObject.
Definition at line 74 of file cpdf_pageobject.cpp.
|
virtual |
Reimplemented in CPDF_ImageObject.
Definition at line 54 of file cpdf_pageobject.cpp.
Referenced by FPDFPageObj_GetMatrix(), FPDFPageObj_GetRotatedBounds(), FPDFPageObj_SetMatrix(), and TEST().
|
virtual |
Reimplemented in CPDF_ImageObject.
Definition at line 58 of file cpdf_pageobject.cpp.
|
virtual |
Reimplemented in CPDF_PathObject.
Definition at line 46 of file cpdf_pageobject.cpp.
Referenced by FPDFPageObj_GetMatrix(), and FPDFPageObj_SetMatrix().
|
virtual |
Reimplemented in CPDF_PathObject.
Definition at line 50 of file cpdf_pageobject.cpp.
|
virtual |
Reimplemented in CPDF_ShadingObject.
Definition at line 62 of file cpdf_pageobject.cpp.
|
virtual |
Reimplemented in CPDF_ShadingObject.
Definition at line 66 of file cpdf_pageobject.cpp.
|
virtual |
Reimplemented in CPDF_TextObject.
Definition at line 38 of file cpdf_pageobject.cpp.
Referenced by FPDFPageObj_GetMatrix(), FPDFPageObj_GetRotatedBounds(), and FPDFPageObj_SetMatrix().
|
virtual |
Reimplemented in CPDF_TextObject.
Definition at line 42 of file cpdf_pageobject.cpp.
|
inline |
Definition at line 100 of file cpdf_pageobject.h.
Referenced by CPDF_ShadingObject::CalcBoundingBox(), CPDF_RenderStatus::ContinueSingleObject(), and CPDF_RenderStatus::RenderSingleObject().
|
inline |
Definition at line 112 of file cpdf_pageobject.h.
Referenced by FPDFPageObj_GetFillColor(), FPDFPageObj_GetStrokeColor(), and CPDF_RenderStatus::GetFillArgbForType3().
|
protected |
Definition at line 87 of file cpdf_pageobject.cpp.
References CFX_FloatRect::operator=().
|
inline |
Definition at line 126 of file cpdf_pageobject.h.
Referenced by CPDF_RenderStatus::DrawShadingPattern(), FPDFPageObj_GetFillColor(), FPDFPageObj_GetStrokeColor(), FPDFPageObj_HasTransparency(), CPDF_RenderStatus::GetFillArgbForType3(), GetGraphicsResourceNames(), and CPDF_TilingPattern::Load().
FX_RECT CPDF_PageObject::GetBBox | ( | ) | const |
Definition at line 111 of file cpdf_pageobject.cpp.
References CFX_FloatRect::GetOuterRect(), and GetRect().
Referenced by CPDF_ClipPath::GetClipBox().
|
inline |
Definition at line 75 of file cpdf_pageobject.h.
Referenced by FPDFPageObj_AddMark(), FPDFPageObj_CountMarks(), FPDFPageObj_GetMark(), and FPDFPageObj_RemoveMark().
|
inline |
Definition at line 76 of file cpdf_pageobject.h.
Referenced by CPDF_OCContext::CheckPageObjectVisible().
|
inline |
Definition at line 88 of file cpdf_pageobject.h.
Referenced by CPDF_PageObjectHolder::RemovePageObject(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), and TEST_F().
pdfium::span< const ByteString > CPDF_PageObject::GetGraphicsResourceNames | ( | ) | const |
Definition at line 78 of file cpdf_pageobject.cpp.
References general_state(), and CPDF_GeneralState::GetGraphicsResourceNames().
|
inline |
Definition at line 69 of file cpdf_pageobject.h.
Referenced by FPDFPageObj_GetRotatedBounds().
|
inline |
Definition at line 71 of file cpdf_pageobject.h.
Referenced by CPDF_ProgressiveRenderer::Continue(), FPDFImageObj_GetImageMetadata(), FPDFPageObj_GetBounds(), FPDFTextObj_GetRenderedBitmap(), GetBBox(), GetTransformedBBox(), and CPDF_ShadingObject::Transform().
|
inline |
Definition at line 93 of file cpdf_pageobject.h.
FX_RECT CPDF_PageObject::GetTransformedBBox | ( | const CFX_Matrix & | matrix | ) | const |
Definition at line 115 of file cpdf_pageobject.cpp.
References CFX_FloatRect::GetOuterRect(), GetRect(), and CFX_Matrix::TransformRect().
|
pure virtual |
Implemented in CPDF_FormObject, CPDF_ImageObject, CPDF_PathObject, CPDF_ShadingObject, and CPDF_TextObject.
Referenced by FPDFPageObj_GetMatrix(), FPDFPageObj_GetRotatedBounds(), FPDFPageObj_GetType(), and FPDFPageObj_SetMatrix().
|
inline |
Definition at line 105 of file cpdf_pageobject.h.
Referenced by CPDF_PathObject::CalcBoundingBox(), FPDFPageObj_GetDashArray(), FPDFPageObj_GetDashCount(), FPDFPageObj_GetDashPhase(), FPDFPageObj_GetLineCap(), FPDFPageObj_GetLineJoin(), and FPDFPageObj_GetStrokeWidth().
|
inline |
Definition at line 133 of file cpdf_pageobject.h.
Referenced by CPDF_RenderTiling::Draw().
|
inline |
Definition at line 64 of file cpdf_pageobject.h.
|
virtual |
Reimplemented in CPDF_FormObject.
Definition at line 34 of file cpdf_pageobject.cpp.
Referenced by CPDF_ProgressiveRenderer::Continue(), and FPDFPageObj_HasTransparency().
|
virtual |
Reimplemented in CPDF_ImageObject.
Definition at line 26 of file cpdf_pageobject.cpp.
Referenced by CPDF_RenderStatus::ContinueSingleObject().
|
virtual |
Reimplemented in CPDF_PathObject.
Definition at line 22 of file cpdf_pageobject.cpp.
Referenced by FPDFPageObj_HasTransparency().
|
virtual |
Reimplemented in CPDF_ShadingObject.
Definition at line 30 of file cpdf_pageobject.cpp.
Referenced by CPDF_ProgressiveRenderer::Continue(), and FPDFPageObj_TransformClipPath().
|
virtual |
Reimplemented in CPDF_TextObject.
Definition at line 18 of file cpdf_pageobject.cpp.
|
inline |
Definition at line 101 of file cpdf_pageobject.h.
Referenced by FPDFPageObj_GetClipPath(), CPDF_ShadingObject::Transform(), and TransformClipPath().
|
inline |
Definition at line 115 of file cpdf_pageobject.h.
Referenced by FPDFPageObj_SetFillColor(), and FPDFPageObj_SetStrokeColor().
|
inline |
Definition at line 129 of file cpdf_pageobject.h.
Referenced by FPDFPageObj_SetBlendMode(), FPDFPageObj_SetFillColor(), FPDFPageObj_SetStrokeColor(), and TransformGeneralState().
|
inline |
Definition at line 108 of file cpdf_pageobject.h.
Referenced by FPDFPageObj_SetDashArray(), FPDFPageObj_SetDashPhase(), FPDFPageObj_SetLineCap(), FPDFPageObj_SetLineJoin(), and FPDFPageObj_SetStrokeWidth().
|
inline |
Definition at line 122 of file cpdf_pageobject.h.
Referenced by CPDF_TextObject::SetTextRenderMode().
|
delete |
|
inline |
Definition at line 77 of file cpdf_pageobject.h.
|
inline |
Definition at line 89 of file cpdf_pageobject.h.
void CPDF_PageObject::SetDefaultStates | ( | ) |
Definition at line 83 of file cpdf_pageobject.cpp.
|
inline |
Definition at line 63 of file cpdf_pageobject.h.
Referenced by FPDFImageObj_SetBitmap(), FPDFImageObj_SetMatrix(), FPDFPage_InsertObject(), FPDFPageObj_AddMark(), FPDFPageObj_RemoveMark(), FPDFPageObj_SetBlendMode(), FPDFPageObj_SetDashArray(), FPDFPageObj_SetDashPhase(), FPDFPageObj_SetFillColor(), FPDFPageObj_SetLineCap(), FPDFPageObj_SetLineJoin(), FPDFPageObj_SetMatrix(), FPDFPageObj_SetStrokeColor(), FPDFPageObj_SetStrokeWidth(), FPDFPageObjMark_RemoveParam(), FPDFPageObjMark_SetBlobParam(), FPDFPageObjMark_SetIntParam(), FPDFPageObjMark_SetStringParam(), FPDFPath_BezierTo(), FPDFPath_Close(), FPDFPath_LineTo(), FPDFPath_MoveTo(), FPDFPath_SetDrawMode(), CPDF_TextObject::SetText(), CPDF_TextObject::SetTextRenderMode(), CPDF_FormObject::Transform(), CPDF_ImageObject::Transform(), CPDF_PathObject::Transform(), CPDF_ShadingObject::Transform(), CPDF_TextObject::Transform(), TransformClipPath(), and TransformGeneralState().
|
inline |
Definition at line 68 of file cpdf_pageobject.h.
References CFX_FloatRect::operator=().
Referenced by CPDF_ImageObject::CalcBoundingBox().
|
inline |
Definition at line 70 of file cpdf_pageobject.h.
References CFX_FloatRect::operator=().
Referenced by CPDF_ImageObject::CalcBoundingBox(), CPDF_PathObject::CalcBoundingBox(), CPDF_ShadingObject::CalcBoundingBox(), and CPDF_ShadingObject::Transform().
|
inline |
Definition at line 94 of file cpdf_pageobject.h.
|
inline |
Definition at line 119 of file cpdf_pageobject.h.
Referenced by CPDF_TextObject::GetFont(), CPDF_TextObject::GetFontSize(), and CPDF_TextObject::GetTextRenderMode().
|
pure virtual |
Implemented in CPDF_FormObject, CPDF_ImageObject, CPDF_PathObject, CPDF_ShadingObject, and CPDF_TextObject.
Referenced by FPDFPageObj_Transform().
void CPDF_PageObject::TransformClipPath | ( | const CFX_Matrix & | matrix | ) |
Definition at line 93 of file cpdf_pageobject.cpp.
References CPDF_ClipPath::HasRef(), mutable_clip_path(), SetDirty(), and CPDF_ClipPath::Transform().
Referenced by FPDFPageObj_TransformClipPath().
void CPDF_PageObject::TransformGeneralState | ( | const CFX_Matrix & | matrix | ) |
Definition at line 102 of file cpdf_pageobject.cpp.
References CFX_Matrix::Concat(), CPDF_GeneralState::GetMutableMatrix(), CPDF_GeneralState::HasRef(), mutable_general_state(), and SetDirty().
Referenced by FPDFPageObj_TransformClipPath().
|
staticconstexpr |
Definition at line 38 of file cpdf_pageobject.h.
Referenced by CPDF_ImageObject::CPDF_ImageObject(), CPDF_PathObject::CPDF_PathObject(), CPDF_TextObject::CPDF_TextObject(), and FPDF_NewFormObjectFromXObject().