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_dib.h"
#include "core/fpdfapi/page/cpdf_image.h"
#include "core/fpdfapi/page/cpdf_imageobject.h"
#include "core/fpdfapi/page/cpdf_page.h"
#include "core/fpdfapi/page/cpdf_pageobject.h"
#include "core/fpdfapi/parser/cpdf_array.h"
#include "core/fpdfapi/parser/cpdf_dictionary.h"
#include "core/fpdfapi/parser/cpdf_name.h"
#include "core/fpdfapi/parser/cpdf_stream.h"
#include "core/fpdfapi/parser/cpdf_stream_acc.h"
#include "core/fpdfapi/render/cpdf_imagerenderer.h"
#include "core/fpdfapi/render/cpdf_rendercontext.h"
#include "core/fpdfapi/render/cpdf_renderstatus.h"
#include "core/fxcrt/stl_util.h"
#include "core/fxge/cfx_defaultrenderdevice.h"
#include "core/fxge/dib/cfx_dibitmap.h"
#include "fpdfsdk/cpdfsdk_customaccess.h"
#include "fpdfsdk/cpdfsdk_helpers.h"
#include "third_party/base/notreached.h"
Go to the source code of this file.
FPDF_EXPORT FPDF_BITMAP FPDF_CALLCONV FPDFImageObj_GetBitmap | ( | FPDF_PAGEOBJECT | image_object | ) |
FPDF_EXPORT unsigned long FPDF_CALLCONV FPDFImageObj_GetImageDataDecoded | ( | FPDF_PAGEOBJECT | image_object, |
void * | buffer, | ||
unsigned long | buflen ) |
Definition at line 330 of file fpdf_editimg.cpp.
Referenced by CheckPDFiumCApi(), and TEST_F().
FPDF_EXPORT unsigned long FPDF_CALLCONV FPDFImageObj_GetImageDataRaw | ( | FPDF_PAGEOBJECT | image_object, |
void * | buffer, | ||
unsigned long | buflen ) |
Definition at line 351 of file fpdf_editimg.cpp.
Referenced by CheckPDFiumCApi(), and TEST_F().
FPDF_EXPORT unsigned long FPDF_CALLCONV FPDFImageObj_GetImageFilter | ( | FPDF_PAGEOBJECT | image_object, |
int | index, | ||
void * | buffer, | ||
unsigned long | buflen ) |
Definition at line 399 of file fpdf_editimg.cpp.
References CPDFPageObjectFromFPDFPageObject(), FPDFImageObj_GetImageFilterCount(), and NulTerminateMaybeCopyAndReturnLength().
Referenced by CheckPDFiumCApi(), and TEST_F().
FPDF_EXPORT int FPDF_CALLCONV FPDFImageObj_GetImageFilterCount | ( | FPDF_PAGEOBJECT | image_object | ) |
Definition at line 372 of file fpdf_editimg.cpp.
Referenced by CheckPDFiumCApi(), FPDFImageObj_GetImageFilter(), and TEST_F().
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFImageObj_GetImageMetadata | ( | FPDF_PAGEOBJECT | image_object, |
FPDF_PAGE | page, | ||
FPDF_IMAGEOBJ_METADATA * | metadata ) |
Definition at line 418 of file fpdf_editimg.cpp.
References FPDF_IMAGEOBJ_METADATA::bits_per_pixel, FPDF_IMAGEOBJ_METADATA::colorspace, CPDFPageFromFPDFPage(), CPDF_Page::GetDocument(), CPDF_PageObject::GetRect(), FPDF_IMAGEOBJ_METADATA::height, FPDF_IMAGEOBJ_METADATA::horizontal_dpi, CPDF_DIB::kFail, CPDF_ColorSpace::kUnknown, FPDF_IMAGEOBJ_METADATA::marked_content_id, FPDF_IMAGEOBJ_METADATA::vertical_dpi, and FPDF_IMAGEOBJ_METADATA::width.
Referenced by CheckPDFiumCApi(), TEST_F(), and TEST_F().
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFImageObj_GetImagePixelSize | ( | FPDF_PAGEOBJECT | image_object, |
unsigned int * | width, | ||
unsigned int * | height ) |
Definition at line 472 of file fpdf_editimg.cpp.
Referenced by CheckPDFiumCApi(), and TEST_F().
FPDF_EXPORT FPDF_BITMAP FPDF_CALLCONV FPDFImageObj_GetRenderedBitmap | ( | FPDF_DOCUMENT | document, |
FPDF_PAGE | page, | ||
FPDF_PAGEOBJECT | image_object ) |
Definition at line 271 of file fpdf_editimg.cpp.
References CFX_Matrix::CFX_Matrix(), CPDF_ImageRenderer::CPDF_ImageRenderer(), CFX_Matrix::a, CFX_DefaultRenderDevice::Attach(), CPDF_ImageRenderer::Continue(), CPDFDocumentFromFPDFDocument(), CPDFPageFromFPDFPage(), CFX_Matrix::d, CFX_Matrix::e, CFX_Matrix::f, CPDF_Page::GetDocument(), CPDF_ImageRenderer::GetResult(), kArgb, kNormal, CPDF_ImageObject::matrix(), CPDF_ImageRenderer::Start(), and CFX_Matrix::Translate().
Referenced by CheckPDFiumCApi(), and TEST_F().
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFImageObj_LoadJpegFile | ( | FPDF_PAGE * | pages, |
int | count, | ||
FPDF_PAGEOBJECT | image_object, | ||
FPDF_FILEACCESS * | file_access ) |
Definition at line 127 of file fpdf_editimg.cpp.
Referenced by CheckPDFiumCApi().
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFImageObj_LoadJpegFileInline | ( | FPDF_PAGE * | pages, |
int | count, | ||
FPDF_PAGEOBJECT | image_object, | ||
FPDF_FILEACCESS * | file_access ) |
Definition at line 135 of file fpdf_editimg.cpp.
Referenced by CheckPDFiumCApi().
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFImageObj_SetBitmap | ( | FPDF_PAGE * | pages, |
int | count, | ||
FPDF_PAGEOBJECT | image_object, | ||
FPDF_BITMAP | bitmap ) |
Definition at line 162 of file fpdf_editimg.cpp.
References CPDF_ImageObject::CalcBoundingBox(), CPDFPageFromFPDFPage(), and CPDF_PageObject::SetDirty().
Referenced by CheckPDFiumCApi(), and TEST_F().
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFImageObj_SetMatrix | ( | FPDF_PAGEOBJECT | image_object, |
double | a, | ||
double | b, | ||
double | c, | ||
double | d, | ||
double | e, | ||
double | f ) |
Definition at line 143 of file fpdf_editimg.cpp.
References CFX_Matrix::CFX_Matrix(), CPDF_PageObject::SetDirty(), and CPDF_ImageObject::SetImageMatrix().
Referenced by CheckPDFiumCApi().
FPDF_EXPORT FPDF_PAGEOBJECT FPDF_CALLCONV FPDFPageObj_NewImageObj | ( | FPDF_DOCUMENT | document | ) |
Definition at line 114 of file fpdf_editimg.cpp.
References CPDFDocumentFromFPDFDocument().
Referenced by CheckPDFiumCApi().