Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
fpdf_edit.h File Reference

(9c1f44f67466fea2fb20bb6f31fea388d8c65961)

#include <stdint.h>
#include "fpdfview.h"
+ Include dependency graph for fpdf_edit.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  FPDF_IMAGEOBJ_METADATA
 

Macros

#define FPDF_ARGB(a, r, g, b)
 
#define FPDF_GetBValue(argb)
 
#define FPDF_GetGValue(argb)
 
#define FPDF_GetRValue(argb)
 
#define FPDF_GetAValue(argb)
 
#define FPDF_COLORSPACE_UNKNOWN   0
 
#define FPDF_COLORSPACE_DEVICEGRAY   1
 
#define FPDF_COLORSPACE_DEVICERGB   2
 
#define FPDF_COLORSPACE_DEVICECMYK   3
 
#define FPDF_COLORSPACE_CALGRAY   4
 
#define FPDF_COLORSPACE_CALRGB   5
 
#define FPDF_COLORSPACE_LAB   6
 
#define FPDF_COLORSPACE_ICCBASED   7
 
#define FPDF_COLORSPACE_SEPARATION   8
 
#define FPDF_COLORSPACE_DEVICEN   9
 
#define FPDF_COLORSPACE_INDEXED   10
 
#define FPDF_COLORSPACE_PATTERN   11
 
#define FPDF_PAGEOBJ_UNKNOWN   0
 
#define FPDF_PAGEOBJ_TEXT   1
 
#define FPDF_PAGEOBJ_PATH   2
 
#define FPDF_PAGEOBJ_IMAGE   3
 
#define FPDF_PAGEOBJ_SHADING   4
 
#define FPDF_PAGEOBJ_FORM   5
 
#define FPDF_SEGMENT_UNKNOWN   -1
 
#define FPDF_SEGMENT_LINETO   0
 
#define FPDF_SEGMENT_BEZIERTO   1
 
#define FPDF_SEGMENT_MOVETO   2
 
#define FPDF_FILLMODE_NONE   0
 
#define FPDF_FILLMODE_ALTERNATE   1
 
#define FPDF_FILLMODE_WINDING   2
 
#define FPDF_FONT_TYPE1   1
 
#define FPDF_FONT_TRUETYPE   2
 
#define FPDF_LINECAP_BUTT   0
 
#define FPDF_LINECAP_ROUND   1
 
#define FPDF_LINECAP_PROJECTING_SQUARE   2
 
#define FPDF_LINEJOIN_MITER   0
 
#define FPDF_LINEJOIN_ROUND   1
 
#define FPDF_LINEJOIN_BEVEL   2
 
#define FPDF_PRINTMODE_EMF   0
 
#define FPDF_PRINTMODE_TEXTONLY   1
 
#define FPDF_PRINTMODE_POSTSCRIPT2   2
 
#define FPDF_PRINTMODE_POSTSCRIPT3   3
 
#define FPDF_PRINTMODE_POSTSCRIPT2_PASSTHROUGH   4
 
#define FPDF_PRINTMODE_POSTSCRIPT3_PASSTHROUGH   5
 
#define FPDF_PRINTMODE_EMF_IMAGE_MASKS   6
 
#define FPDF_PRINTMODE_POSTSCRIPT3_TYPE42   7
 
#define FPDF_PRINTMODE_POSTSCRIPT3_TYPE42_PASSTHROUGH   8
 

Typedefs

typedef struct FPDF_IMAGEOBJ_METADATA FPDF_IMAGEOBJ_METADATA
 

Functions

FPDF_EXPORT FPDF_DOCUMENT FPDF_CALLCONV FPDF_CreateNewDocument ()
 
FPDF_EXPORT FPDF_PAGE FPDF_CALLCONV FPDFPage_New (FPDF_DOCUMENT document, int page_index, double width, double height)
 
FPDF_EXPORT void FPDF_CALLCONV FPDFPage_Delete (FPDF_DOCUMENT document, int page_index)
 
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDF_MovePages (FPDF_DOCUMENT document, const int *page_indices, unsigned long page_indices_len, int dest_page_index)
 
FPDF_EXPORT int FPDF_CALLCONV FPDFPage_GetRotation (FPDF_PAGE page)
 
FPDF_EXPORT void FPDF_CALLCONV FPDFPage_SetRotation (FPDF_PAGE page, int rotate)
 
FPDF_EXPORT void FPDF_CALLCONV FPDFPage_InsertObject (FPDF_PAGE page, FPDF_PAGEOBJECT page_object)
 
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFPage_RemoveObject (FPDF_PAGE page, FPDF_PAGEOBJECT page_object)
 
FPDF_EXPORT int FPDF_CALLCONV FPDFPage_CountObjects (FPDF_PAGE page)
 
FPDF_EXPORT FPDF_PAGEOBJECT FPDF_CALLCONV FPDFPage_GetObject (FPDF_PAGE page, int index)
 
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFPage_HasTransparency (FPDF_PAGE page)
 
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFPage_GenerateContent (FPDF_PAGE page)
 
FPDF_EXPORT void FPDF_CALLCONV FPDFPageObj_Destroy (FPDF_PAGEOBJECT page_object)
 
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFPageObj_HasTransparency (FPDF_PAGEOBJECT page_object)
 
FPDF_EXPORT int FPDF_CALLCONV FPDFPageObj_GetType (FPDF_PAGEOBJECT page_object)
 
FPDF_EXPORT void FPDF_CALLCONV FPDFPageObj_Transform (FPDF_PAGEOBJECT page_object, double a, double b, double c, double d, double e, double f)
 
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFPageObj_GetMatrix (FPDF_PAGEOBJECT page_object, FS_MATRIX *matrix)
 
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFPageObj_SetMatrix (FPDF_PAGEOBJECT page_object, const FS_MATRIX *matrix)
 
FPDF_EXPORT void FPDF_CALLCONV FPDFPage_TransformAnnots (FPDF_PAGE page, double a, double b, double c, double d, double e, double f)
 
FPDF_EXPORT FPDF_PAGEOBJECT FPDF_CALLCONV FPDFPageObj_NewImageObj (FPDF_DOCUMENT document)
 
FPDF_EXPORT int FPDF_CALLCONV FPDFPageObj_CountMarks (FPDF_PAGEOBJECT page_object)
 
FPDF_EXPORT FPDF_PAGEOBJECTMARK FPDF_CALLCONV FPDFPageObj_GetMark (FPDF_PAGEOBJECT page_object, unsigned long index)
 
FPDF_EXPORT FPDF_PAGEOBJECTMARK FPDF_CALLCONV FPDFPageObj_AddMark (FPDF_PAGEOBJECT page_object, FPDF_BYTESTRING name)
 
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFPageObj_RemoveMark (FPDF_PAGEOBJECT page_object, FPDF_PAGEOBJECTMARK mark)
 
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFPageObjMark_GetName (FPDF_PAGEOBJECTMARK mark, void *buffer, unsigned long buflen, unsigned long *out_buflen)
 
FPDF_EXPORT int FPDF_CALLCONV FPDFPageObjMark_CountParams (FPDF_PAGEOBJECTMARK mark)
 
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFPageObjMark_GetParamKey (FPDF_PAGEOBJECTMARK mark, unsigned long index, void *buffer, unsigned long buflen, unsigned long *out_buflen)
 
FPDF_EXPORT FPDF_OBJECT_TYPE FPDF_CALLCONV FPDFPageObjMark_GetParamValueType (FPDF_PAGEOBJECTMARK mark, FPDF_BYTESTRING key)
 
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFPageObjMark_GetParamIntValue (FPDF_PAGEOBJECTMARK mark, FPDF_BYTESTRING key, int *out_value)
 
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFPageObjMark_GetParamStringValue (FPDF_PAGEOBJECTMARK mark, FPDF_BYTESTRING key, void *buffer, unsigned long buflen, unsigned long *out_buflen)
 
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFPageObjMark_GetParamBlobValue (FPDF_PAGEOBJECTMARK mark, FPDF_BYTESTRING key, void *buffer, unsigned long buflen, unsigned long *out_buflen)
 
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFPageObjMark_SetIntParam (FPDF_DOCUMENT document, FPDF_PAGEOBJECT page_object, FPDF_PAGEOBJECTMARK mark, FPDF_BYTESTRING key, int value)
 
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFPageObjMark_SetStringParam (FPDF_DOCUMENT document, FPDF_PAGEOBJECT page_object, FPDF_PAGEOBJECTMARK mark, FPDF_BYTESTRING key, FPDF_BYTESTRING value)
 
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFPageObjMark_SetBlobParam (FPDF_DOCUMENT document, FPDF_PAGEOBJECT page_object, FPDF_PAGEOBJECTMARK mark, FPDF_BYTESTRING key, void *value, unsigned long value_len)
 
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFPageObjMark_RemoveParam (FPDF_PAGEOBJECT page_object, FPDF_PAGEOBJECTMARK mark, FPDF_BYTESTRING key)
 
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFImageObj_LoadJpegFile (FPDF_PAGE *pages, int count, FPDF_PAGEOBJECT image_object, FPDF_FILEACCESS *file_access)
 
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFImageObj_LoadJpegFileInline (FPDF_PAGE *pages, int count, FPDF_PAGEOBJECT image_object, FPDF_FILEACCESS *file_access)
 
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFImageObj_SetMatrix (FPDF_PAGEOBJECT image_object, double a, double b, double c, double d, double e, double f)
 
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFImageObj_SetBitmap (FPDF_PAGE *pages, int count, FPDF_PAGEOBJECT image_object, FPDF_BITMAP bitmap)
 
FPDF_EXPORT FPDF_BITMAP FPDF_CALLCONV FPDFImageObj_GetBitmap (FPDF_PAGEOBJECT image_object)
 
FPDF_EXPORT FPDF_BITMAP FPDF_CALLCONV FPDFImageObj_GetRenderedBitmap (FPDF_DOCUMENT document, FPDF_PAGE page, FPDF_PAGEOBJECT image_object)
 
FPDF_EXPORT unsigned long FPDF_CALLCONV FPDFImageObj_GetImageDataDecoded (FPDF_PAGEOBJECT image_object, void *buffer, unsigned long buflen)
 
FPDF_EXPORT unsigned long FPDF_CALLCONV FPDFImageObj_GetImageDataRaw (FPDF_PAGEOBJECT image_object, void *buffer, unsigned long buflen)
 
FPDF_EXPORT int FPDF_CALLCONV FPDFImageObj_GetImageFilterCount (FPDF_PAGEOBJECT image_object)
 
FPDF_EXPORT unsigned long FPDF_CALLCONV FPDFImageObj_GetImageFilter (FPDF_PAGEOBJECT image_object, int index, void *buffer, unsigned long buflen)
 
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFImageObj_GetImageMetadata (FPDF_PAGEOBJECT image_object, FPDF_PAGE page, FPDF_IMAGEOBJ_METADATA *metadata)
 
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFImageObj_GetImagePixelSize (FPDF_PAGEOBJECT image_object, unsigned int *width, unsigned int *height)
 
FPDF_EXPORT FPDF_PAGEOBJECT FPDF_CALLCONV FPDFPageObj_CreateNewPath (float x, float y)
 
FPDF_EXPORT FPDF_PAGEOBJECT FPDF_CALLCONV FPDFPageObj_CreateNewRect (float x, float y, float w, float h)
 
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFPageObj_GetBounds (FPDF_PAGEOBJECT page_object, float *left, float *bottom, float *right, float *top)
 
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFPageObj_GetRotatedBounds (FPDF_PAGEOBJECT page_object, FS_QUADPOINTSF *quad_points)
 
FPDF_EXPORT void FPDF_CALLCONV FPDFPageObj_SetBlendMode (FPDF_PAGEOBJECT page_object, FPDF_BYTESTRING blend_mode)
 
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFPageObj_SetStrokeColor (FPDF_PAGEOBJECT page_object, unsigned int R, unsigned int G, unsigned int B, unsigned int A)
 
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFPageObj_GetStrokeColor (FPDF_PAGEOBJECT page_object, unsigned int *R, unsigned int *G, unsigned int *B, unsigned int *A)
 
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFPageObj_SetStrokeWidth (FPDF_PAGEOBJECT page_object, float width)
 
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFPageObj_GetStrokeWidth (FPDF_PAGEOBJECT page_object, float *width)
 
FPDF_EXPORT int FPDF_CALLCONV FPDFPageObj_GetLineJoin (FPDF_PAGEOBJECT page_object)
 
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFPageObj_SetLineJoin (FPDF_PAGEOBJECT page_object, int line_join)
 
FPDF_EXPORT int FPDF_CALLCONV FPDFPageObj_GetLineCap (FPDF_PAGEOBJECT page_object)
 
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFPageObj_SetLineCap (FPDF_PAGEOBJECT page_object, int line_cap)
 
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFPageObj_SetFillColor (FPDF_PAGEOBJECT page_object, unsigned int R, unsigned int G, unsigned int B, unsigned int A)
 
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFPageObj_GetFillColor (FPDF_PAGEOBJECT page_object, unsigned int *R, unsigned int *G, unsigned int *B, unsigned int *A)
 
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFPageObj_GetDashPhase (FPDF_PAGEOBJECT page_object, float *phase)
 
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFPageObj_SetDashPhase (FPDF_PAGEOBJECT page_object, float phase)
 
FPDF_EXPORT int FPDF_CALLCONV FPDFPageObj_GetDashCount (FPDF_PAGEOBJECT page_object)
 
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFPageObj_GetDashArray (FPDF_PAGEOBJECT page_object, float *dash_array, size_t dash_count)
 
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFPageObj_SetDashArray (FPDF_PAGEOBJECT page_object, const float *dash_array, size_t dash_count, float phase)
 
FPDF_EXPORT int FPDF_CALLCONV FPDFPath_CountSegments (FPDF_PAGEOBJECT path)
 
FPDF_EXPORT FPDF_PATHSEGMENT FPDF_CALLCONV FPDFPath_GetPathSegment (FPDF_PAGEOBJECT path, int index)
 
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFPathSegment_GetPoint (FPDF_PATHSEGMENT segment, float *x, float *y)
 
FPDF_EXPORT int FPDF_CALLCONV FPDFPathSegment_GetType (FPDF_PATHSEGMENT segment)
 
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFPathSegment_GetClose (FPDF_PATHSEGMENT segment)
 
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFPath_MoveTo (FPDF_PAGEOBJECT path, float x, float y)
 
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFPath_LineTo (FPDF_PAGEOBJECT path, float x, float y)
 
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFPath_BezierTo (FPDF_PAGEOBJECT path, float x1, float y1, float x2, float y2, float x3, float y3)
 
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFPath_Close (FPDF_PAGEOBJECT path)
 
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFPath_SetDrawMode (FPDF_PAGEOBJECT path, int fillmode, FPDF_BOOL stroke)
 
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFPath_GetDrawMode (FPDF_PAGEOBJECT path, int *fillmode, FPDF_BOOL *stroke)
 
FPDF_EXPORT FPDF_PAGEOBJECT FPDF_CALLCONV FPDFPageObj_NewTextObj (FPDF_DOCUMENT document, FPDF_BYTESTRING font, float font_size)
 
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFText_SetText (FPDF_PAGEOBJECT text_object, FPDF_WIDESTRING text)
 
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFText_SetCharcodes (FPDF_PAGEOBJECT text_object, const uint32_t *charcodes, size_t count)
 
FPDF_EXPORT FPDF_FONT FPDF_CALLCONV FPDFText_LoadFont (FPDF_DOCUMENT document, const uint8_t *data, uint32_t size, int font_type, FPDF_BOOL cid)
 
FPDF_EXPORT FPDF_FONT FPDF_CALLCONV FPDFText_LoadStandardFont (FPDF_DOCUMENT document, FPDF_BYTESTRING font)
 
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFTextObj_GetFontSize (FPDF_PAGEOBJECT text, float *size)
 
FPDF_EXPORT void FPDF_CALLCONV FPDFFont_Close (FPDF_FONT font)
 
FPDF_EXPORT FPDF_PAGEOBJECT FPDF_CALLCONV FPDFPageObj_CreateTextObj (FPDF_DOCUMENT document, FPDF_FONT font, float font_size)
 
FPDF_EXPORT FPDF_TEXT_RENDERMODE FPDF_CALLCONV FPDFTextObj_GetTextRenderMode (FPDF_PAGEOBJECT text)
 
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFTextObj_SetTextRenderMode (FPDF_PAGEOBJECT text, FPDF_TEXT_RENDERMODE render_mode)
 
FPDF_EXPORT unsigned long FPDF_CALLCONV FPDFTextObj_GetText (FPDF_PAGEOBJECT text_object, FPDF_TEXTPAGE text_page, FPDF_WCHAR *buffer, unsigned long length)
 
FPDF_EXPORT FPDF_BITMAP FPDF_CALLCONV FPDFTextObj_GetRenderedBitmap (FPDF_DOCUMENT document, FPDF_PAGE page, FPDF_PAGEOBJECT text_object, float scale)
 
FPDF_EXPORT FPDF_FONT FPDF_CALLCONV FPDFTextObj_GetFont (FPDF_PAGEOBJECT text)
 
FPDF_EXPORT unsigned long FPDF_CALLCONV FPDFFont_GetFontName (FPDF_FONT font, char *buffer, unsigned long length)
 
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFFont_GetFontData (FPDF_FONT font, uint8_t *buffer, size_t buflen, size_t *out_buflen)
 
FPDF_EXPORT int FPDF_CALLCONV FPDFFont_GetIsEmbedded (FPDF_FONT font)
 
FPDF_EXPORT int FPDF_CALLCONV FPDFFont_GetFlags (FPDF_FONT font)
 
FPDF_EXPORT int FPDF_CALLCONV FPDFFont_GetWeight (FPDF_FONT font)
 
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFFont_GetItalicAngle (FPDF_FONT font, int *angle)
 
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFFont_GetAscent (FPDF_FONT font, float font_size, float *ascent)
 
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFFont_GetDescent (FPDF_FONT font, float font_size, float *descent)
 
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFFont_GetGlyphWidth (FPDF_FONT font, uint32_t glyph, float font_size, float *width)
 
FPDF_EXPORT FPDF_GLYPHPATH FPDF_CALLCONV FPDFFont_GetGlyphPath (FPDF_FONT font, uint32_t glyph, float font_size)
 
FPDF_EXPORT int FPDF_CALLCONV FPDFGlyphPath_CountGlyphSegments (FPDF_GLYPHPATH glyphpath)
 
FPDF_EXPORT FPDF_PATHSEGMENT FPDF_CALLCONV FPDFGlyphPath_GetGlyphPathSegment (FPDF_GLYPHPATH glyphpath, int index)
 
FPDF_EXPORT int FPDF_CALLCONV FPDFFormObj_CountObjects (FPDF_PAGEOBJECT form_object)
 
FPDF_EXPORT FPDF_PAGEOBJECT FPDF_CALLCONV FPDFFormObj_GetObject (FPDF_PAGEOBJECT form_object, unsigned long index)
 

Macro Definition Documentation

◆ FPDF_ARGB

#define FPDF_ARGB ( a,
r,
g,
b )
Value:
((uint32_t)(((uint32_t)(b)&0xff) | (((uint32_t)(g)&0xff) << 8) | \
(((uint32_t)(r)&0xff) << 16) | (((uint32_t)(a)&0xff) << 24)))
GLboolean GLboolean GLboolean b
GLboolean GLboolean GLboolean GLboolean a
[7]
GLboolean r
[2]
GLboolean GLboolean g

Definition at line 15 of file fpdf_edit.h.

◆ FPDF_COLORSPACE_CALGRAY

#define FPDF_COLORSPACE_CALGRAY   4

Definition at line 28 of file fpdf_edit.h.

◆ FPDF_COLORSPACE_CALRGB

#define FPDF_COLORSPACE_CALRGB   5

Definition at line 29 of file fpdf_edit.h.

◆ FPDF_COLORSPACE_DEVICECMYK

#define FPDF_COLORSPACE_DEVICECMYK   3

Definition at line 27 of file fpdf_edit.h.

◆ FPDF_COLORSPACE_DEVICEGRAY

#define FPDF_COLORSPACE_DEVICEGRAY   1

Definition at line 25 of file fpdf_edit.h.

◆ FPDF_COLORSPACE_DEVICEN

#define FPDF_COLORSPACE_DEVICEN   9

Definition at line 33 of file fpdf_edit.h.

◆ FPDF_COLORSPACE_DEVICERGB

#define FPDF_COLORSPACE_DEVICERGB   2

Definition at line 26 of file fpdf_edit.h.

◆ FPDF_COLORSPACE_ICCBASED

#define FPDF_COLORSPACE_ICCBASED   7

Definition at line 31 of file fpdf_edit.h.

◆ FPDF_COLORSPACE_INDEXED

#define FPDF_COLORSPACE_INDEXED   10

Definition at line 34 of file fpdf_edit.h.

◆ FPDF_COLORSPACE_LAB

#define FPDF_COLORSPACE_LAB   6

Definition at line 30 of file fpdf_edit.h.

◆ FPDF_COLORSPACE_PATTERN

#define FPDF_COLORSPACE_PATTERN   11

Definition at line 35 of file fpdf_edit.h.

◆ FPDF_COLORSPACE_SEPARATION

#define FPDF_COLORSPACE_SEPARATION   8

Definition at line 32 of file fpdf_edit.h.

◆ FPDF_COLORSPACE_UNKNOWN

#define FPDF_COLORSPACE_UNKNOWN   0

Definition at line 24 of file fpdf_edit.h.

◆ FPDF_FILLMODE_ALTERNATE

#define FPDF_FILLMODE_ALTERNATE   1

Definition at line 52 of file fpdf_edit.h.

◆ FPDF_FILLMODE_NONE

#define FPDF_FILLMODE_NONE   0

Definition at line 51 of file fpdf_edit.h.

◆ FPDF_FILLMODE_WINDING

#define FPDF_FILLMODE_WINDING   2

Definition at line 53 of file fpdf_edit.h.

◆ FPDF_FONT_TRUETYPE

#define FPDF_FONT_TRUETYPE   2

Definition at line 56 of file fpdf_edit.h.

◆ FPDF_FONT_TYPE1

#define FPDF_FONT_TYPE1   1

Definition at line 55 of file fpdf_edit.h.

◆ FPDF_GetAValue

#define FPDF_GetAValue ( argb)
Value:
((uint8_t)((argb) >> 24))

Definition at line 21 of file fpdf_edit.h.

◆ FPDF_GetBValue

#define FPDF_GetBValue ( argb)
Value:
((uint8_t)(argb))

Definition at line 18 of file fpdf_edit.h.

◆ FPDF_GetGValue

#define FPDF_GetGValue ( argb)
Value:
((uint8_t)(((uint16_t)(argb)) >> 8))

Definition at line 19 of file fpdf_edit.h.

◆ FPDF_GetRValue

#define FPDF_GetRValue ( argb)
Value:
((uint8_t)((argb) >> 16))

Definition at line 20 of file fpdf_edit.h.

◆ FPDF_LINECAP_BUTT

#define FPDF_LINECAP_BUTT   0

Definition at line 58 of file fpdf_edit.h.

◆ FPDF_LINECAP_PROJECTING_SQUARE

#define FPDF_LINECAP_PROJECTING_SQUARE   2

Definition at line 60 of file fpdf_edit.h.

◆ FPDF_LINECAP_ROUND

#define FPDF_LINECAP_ROUND   1

Definition at line 59 of file fpdf_edit.h.

◆ FPDF_LINEJOIN_BEVEL

#define FPDF_LINEJOIN_BEVEL   2

Definition at line 64 of file fpdf_edit.h.

◆ FPDF_LINEJOIN_MITER

#define FPDF_LINEJOIN_MITER   0

Definition at line 62 of file fpdf_edit.h.

◆ FPDF_LINEJOIN_ROUND

#define FPDF_LINEJOIN_ROUND   1

Definition at line 63 of file fpdf_edit.h.

◆ FPDF_PAGEOBJ_FORM

#define FPDF_PAGEOBJ_FORM   5

Definition at line 43 of file fpdf_edit.h.

◆ FPDF_PAGEOBJ_IMAGE

#define FPDF_PAGEOBJ_IMAGE   3

Definition at line 41 of file fpdf_edit.h.

◆ FPDF_PAGEOBJ_PATH

#define FPDF_PAGEOBJ_PATH   2

Definition at line 40 of file fpdf_edit.h.

◆ FPDF_PAGEOBJ_SHADING

#define FPDF_PAGEOBJ_SHADING   4

Definition at line 42 of file fpdf_edit.h.

◆ FPDF_PAGEOBJ_TEXT

#define FPDF_PAGEOBJ_TEXT   1

Definition at line 39 of file fpdf_edit.h.

◆ FPDF_PAGEOBJ_UNKNOWN

#define FPDF_PAGEOBJ_UNKNOWN   0

Definition at line 38 of file fpdf_edit.h.

◆ FPDF_PRINTMODE_EMF

#define FPDF_PRINTMODE_EMF   0

Definition at line 67 of file fpdf_edit.h.

◆ FPDF_PRINTMODE_EMF_IMAGE_MASKS

#define FPDF_PRINTMODE_EMF_IMAGE_MASKS   6

Definition at line 73 of file fpdf_edit.h.

◆ FPDF_PRINTMODE_POSTSCRIPT2

#define FPDF_PRINTMODE_POSTSCRIPT2   2

Definition at line 69 of file fpdf_edit.h.

◆ FPDF_PRINTMODE_POSTSCRIPT2_PASSTHROUGH

#define FPDF_PRINTMODE_POSTSCRIPT2_PASSTHROUGH   4

Definition at line 71 of file fpdf_edit.h.

◆ FPDF_PRINTMODE_POSTSCRIPT3

#define FPDF_PRINTMODE_POSTSCRIPT3   3

Definition at line 70 of file fpdf_edit.h.

◆ FPDF_PRINTMODE_POSTSCRIPT3_PASSTHROUGH

#define FPDF_PRINTMODE_POSTSCRIPT3_PASSTHROUGH   5

Definition at line 72 of file fpdf_edit.h.

◆ FPDF_PRINTMODE_POSTSCRIPT3_TYPE42

#define FPDF_PRINTMODE_POSTSCRIPT3_TYPE42   7

Definition at line 74 of file fpdf_edit.h.

◆ FPDF_PRINTMODE_POSTSCRIPT3_TYPE42_PASSTHROUGH

#define FPDF_PRINTMODE_POSTSCRIPT3_TYPE42_PASSTHROUGH   8

Definition at line 75 of file fpdf_edit.h.

◆ FPDF_PRINTMODE_TEXTONLY

#define FPDF_PRINTMODE_TEXTONLY   1

Definition at line 68 of file fpdf_edit.h.

◆ FPDF_SEGMENT_BEZIERTO

#define FPDF_SEGMENT_BEZIERTO   1

Definition at line 48 of file fpdf_edit.h.

◆ FPDF_SEGMENT_LINETO

#define FPDF_SEGMENT_LINETO   0

Definition at line 47 of file fpdf_edit.h.

◆ FPDF_SEGMENT_MOVETO

#define FPDF_SEGMENT_MOVETO   2

Definition at line 49 of file fpdf_edit.h.

◆ FPDF_SEGMENT_UNKNOWN

#define FPDF_SEGMENT_UNKNOWN   -1

Definition at line 46 of file fpdf_edit.h.

Typedef Documentation

◆ FPDF_IMAGEOBJ_METADATA

typedef struct FPDF_IMAGEOBJ_METADATA FPDF_IMAGEOBJ_METADATA

Function Documentation

◆ FPDF_CreateNewDocument()

FPDF_EXPORT FPDF_DOCUMENT FPDF_CALLCONV FPDF_CreateNewDocument ( )

Definition at line 153 of file fpdf_editpage.cpp.

References fxcrt::ByteString::Format(), FXSYS_localtime(), FXSYS_time(), IsPDFSandboxPolicyEnabled(), and fxcrt::ByteString::operator=().

Referenced by CheckPDFiumCApi(), and main().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FPDF_MovePages()

FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDF_MovePages ( FPDF_DOCUMENT document,
const int * page_indices,
unsigned long page_indices_len,
int dest_page_index )

Definition at line 199 of file fpdf_editpage.cpp.

References CPDFDocumentFromFPDFDocument(), and CPDF_Document::MovePages().

Referenced by CheckPDFiumCApi().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FPDFFont_Close()

FPDF_EXPORT void FPDF_CALLCONV FPDFFont_Close ( FPDF_FONT font)

Definition at line 667 of file fpdf_edittext.cpp.

References CPDFFontFromFPDFFont().

Referenced by CheckPDFiumCApi(), and FPDFFontDeleter::operator()().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FPDFFont_GetAscent()

FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFFont_GetAscent ( FPDF_FONT font,
float font_size,
float * ascent )

Definition at line 785 of file fpdf_edittext.cpp.

References CPDFFontFromFPDFFont(), and CPDF_Font::GetTypeAscent().

Referenced by CheckPDFiumCApi(), and TEST_F().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FPDFFont_GetDescent()

FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFFont_GetDescent ( FPDF_FONT font,
float font_size,
float * descent )

Definition at line 796 of file fpdf_edittext.cpp.

References CPDFFontFromFPDFFont(), and CPDF_Font::GetTypeDescent().

Referenced by CheckPDFiumCApi(), and TEST_F().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FPDFFont_GetFlags()

FPDF_EXPORT int FPDF_CALLCONV FPDFFont_GetFlags ( FPDF_FONT font)

Definition at line 761 of file fpdf_edittext.cpp.

References CPDFFontFromFPDFFont(), and CPDF_Font::GetFontFlags().

Referenced by CheckPDFiumCApi(), and TEST_F().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FPDFFont_GetFontData()

FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFFont_GetFontData ( FPDF_FONT font,
uint8_t * buffer,
size_t buflen,
size_t * out_buflen )

Definition at line 739 of file fpdf_edittext.cpp.

References CPDFFontFromFPDFFont().

Referenced by CheckPDFiumCApi().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FPDFFont_GetFontName()

FPDF_EXPORT unsigned long FPDF_CALLCONV FPDFFont_GetFontName ( FPDF_FONT font,
char * buffer,
unsigned long length )

Definition at line 724 of file fpdf_edittext.cpp.

References fxcrt::ByteString::c_str(), CPDFFontFromFPDFFont(), CFX_Font::GetFamilyName(), and CPDF_Font::GetFont().

Referenced by CheckPDFiumCApi(), and TEST_F().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FPDFFont_GetGlyphPath()

FPDF_EXPORT FPDF_GLYPHPATH FPDF_CALLCONV FPDFFont_GetGlyphPath ( FPDF_FONT font,
uint32_t glyph,
float font_size )

Definition at line 829 of file fpdf_edittext.cpp.

References CPDF_Font::CharCodeFromUnicode(), CPDFFontFromFPDFFont(), CPDF_Font::GetFont(), CPDF_Font::GetFontFallback(), and CFX_Font::LoadGlyphPath().

Referenced by CheckPDFiumCApi(), TEST_F(), and TEST_F().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FPDFFont_GetGlyphWidth()

FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFFont_GetGlyphWidth ( FPDF_FONT font,
uint32_t glyph,
float font_size,
float * width )

Definition at line 807 of file fpdf_edittext.cpp.

References CPDF_Font::AsCIDFont(), CPDF_Font::CharCodeFromUnicode(), CPDF_CIDFont::CIDFromCharCode(), CPDFFontFromFPDFFont(), CPDF_Font::GetCharWidthF(), CPDF_CIDFont::GetVertWidth(), and CPDF_CIDFont::IsVertWriting().

Referenced by CheckPDFiumCApi(), and TEST_F().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FPDFFont_GetIsEmbedded()

FPDF_EXPORT int FPDF_CALLCONV FPDFFont_GetIsEmbedded ( FPDF_FONT font)

Definition at line 754 of file fpdf_edittext.cpp.

References CPDFFontFromFPDFFont(), and CPDF_Font::IsEmbedded().

Referenced by CheckPDFiumCApi(), TEST_F(), and TEST_F().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FPDFFont_GetItalicAngle()

FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFFont_GetItalicAngle ( FPDF_FONT font,
int * angle )

Definition at line 775 of file fpdf_edittext.cpp.

References CPDFFontFromFPDFFont(), and CPDF_Font::GetItalicAngle().

Referenced by CheckPDFiumCApi(), and TEST_F().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FPDFFont_GetWeight()

FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFFont_GetWeight ( FPDF_FONT font)

Definition at line 770 of file fpdf_edittext.cpp.

References CPDFFontFromFPDFFont(), and CPDF_Font::GetFontWeight().

Referenced by CheckPDFiumCApi(), and TEST_F().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FPDFFormObj_CountObjects()

FPDF_EXPORT int FPDF_CALLCONV FPDFFormObj_CountObjects ( FPDF_PAGEOBJECT form_object)

Definition at line 1021 of file fpdf_editpage.cpp.

Referenced by CheckPDFiumCApi(), TEST_F(), and TEST_F().

+ Here is the caller graph for this function:

◆ FPDFFormObj_GetObject()

FPDF_EXPORT FPDF_PAGEOBJECT FPDF_CALLCONV FPDFFormObj_GetObject ( FPDF_PAGEOBJECT form_object,
unsigned long index )

Definition at line 1029 of file fpdf_editpage.cpp.

Referenced by CheckPDFiumCApi(), and TEST_F().

+ Here is the caller graph for this function:

◆ FPDFGlyphPath_CountGlyphSegments()

FPDF_EXPORT int FPDF_CALLCONV FPDFGlyphPath_CountGlyphSegments ( FPDF_GLYPHPATH glyphpath)

Definition at line 861 of file fpdf_edittext.cpp.

Referenced by CheckPDFiumCApi(), and TEST_F().

+ Here is the caller graph for this function:

◆ FPDFGlyphPath_GetGlyphPathSegment()

FPDF_EXPORT FPDF_PATHSEGMENT FPDF_CALLCONV FPDFGlyphPath_GetGlyphPathSegment ( FPDF_GLYPHPATH glyphpath,
int index )

Definition at line 870 of file fpdf_edittext.cpp.

Referenced by CheckPDFiumCApi(), and TEST_F().

+ Here is the caller graph for this function:

◆ FPDFImageObj_GetBitmap()

FPDF_EXPORT FPDF_BITMAP FPDF_CALLCONV FPDFImageObj_GetBitmap ( FPDF_PAGEOBJECT image_object)

Definition at line 189 of file fpdf_editimg.cpp.

References k1bppMask, k1bppRgb, k8bppMask, k8bppRgb, kArgb, kInvalid, kRgb, and kRgb32.

Referenced by CheckPDFiumCApi(), and TEST_F().

+ Here is the caller graph for this function:

◆ FPDFImageObj_GetImageDataDecoded()

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().

+ Here is the caller graph for this function:

◆ FPDFImageObj_GetImageDataRaw()

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().

+ Here is the caller graph for this function:

◆ FPDFImageObj_GetImageFilter()

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FPDFImageObj_GetImageFilterCount()

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().

+ Here is the caller graph for this function:

◆ FPDFImageObj_GetImageMetadata()

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FPDFImageObj_GetImagePixelSize()

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().

+ Here is the caller graph for this function:

◆ FPDFImageObj_GetRenderedBitmap()

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FPDFImageObj_LoadJpegFile()

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().

+ Here is the caller graph for this function:

◆ FPDFImageObj_LoadJpegFileInline()

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().

+ Here is the caller graph for this function:

◆ FPDFImageObj_SetBitmap()

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FPDFImageObj_SetMatrix()

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FPDFPage_CountObjects()

◆ FPDFPage_Delete()

FPDF_EXPORT void FPDF_CALLCONV FPDFPage_Delete ( FPDF_DOCUMENT document,
int page_index )

Definition at line 183 of file fpdf_editpage.cpp.

References CPDFDocumentFromFPDFDocument(), CPDF_Document::DeletePage(), CPDF_Document::Extension::DeletePage(), and CPDF_Document::GetExtension().

Referenced by CheckPDFiumCApi(), and TEST_F().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FPDFPage_GenerateContent()

FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFPage_GenerateContent ( FPDF_PAGE page)

Definition at line 614 of file fpdf_editpage.cpp.

References CPDFPageFromFPDFPage(), and CPDF_PageContentGenerator::GenerateContent().

Referenced by CheckPDFiumCApi(), CPDFSecurityHandlerEmbedderTest::RemoveGoodbyeObject(), 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(), 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(), 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(), TEST_F(), TEST_F(), and TEST_F().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FPDFPage_GetObject()

◆ FPDFPage_GetRotation()

FPDF_EXPORT int FPDF_CALLCONV FPDFPage_GetRotation ( FPDF_PAGE page)

Definition at line 244 of file fpdf_editpage.cpp.

References CPDFPageFromFPDFPage(), and CPDF_Page::GetPageRotation().

Referenced by CheckPDFiumCApi(), TEST_F(), and TEST_F().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FPDFPage_HasTransparency()

FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFPage_HasTransparency ( FPDF_PAGE page)

Definition at line 296 of file fpdf_editpage.cpp.

References CPDF_PageObjectHolder::BackgroundAlphaNeeded(), and CPDFPageFromFPDFPage().

Referenced by CheckPDFiumCApi(), EmbedderTest::RenderPageWithFlags(), FPDFProgressiveRenderEmbedderTest::StartRenderPageWithColorSchemeAndBackground(), FPDFProgressiveRenderEmbedderTest::StartRenderPageWithFlags(), and TEST_F().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FPDFPage_InsertObject()

FPDF_EXPORT void FPDF_CALLCONV FPDFPage_InsertObject ( FPDF_PAGE page,
FPDF_PAGEOBJECT page_object )

Definition at line 250 of file fpdf_editpage.cpp.

References CPDFPageFromFPDFPage(), CPDFPageObjectFromFPDFPageObject(), 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(), TEST_F(), TEST_F(), and TEST_F().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FPDFPage_New()

FPDF_EXPORT FPDF_PAGE FPDF_CALLCONV FPDFPage_New ( FPDF_DOCUMENT document,
int page_index,
double width,
double height )

Definition at line 211 of file fpdf_editpage.cpp.

References CFX_FloatRect::CFX_FloatRect(), CPDFDocumentFromFPDFDocument(), CPDF_Document::GetPageCount(), pdfium::page_object::kMediaBox, pdfium::page_object::kResources, and pdfium::page_object::kRotate.

Referenced by CheckPDFiumCApi(), and main().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FPDFPage_RemoveObject()

FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFPage_RemoveObject ( FPDF_PAGE page,
FPDF_PAGEOBJECT page_object )

Definition at line 266 of file fpdf_editpage.cpp.

References CPDFPageFromFPDFPage(), and CPDFPageObjectFromFPDFPageObject().

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(), and TEST_F().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FPDFPage_SetRotation()

FPDF_EXPORT void FPDF_CALLCONV FPDFPage_SetRotation ( FPDF_PAGE page,
int rotate )

Definition at line 736 of file fpdf_editpage.cpp.

References CPDFPageFromFPDFPage(), pdfium::page_object::kRotate, and CPDF_Page::UpdateDimensions().

Referenced by CheckPDFiumCApi(), and TEST_F().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FPDFPage_TransformAnnots()

FPDF_EXPORT void FPDF_CALLCONV FPDFPage_TransformAnnots ( FPDF_PAGE page,
double a,
double b,
double c,
double d,
double e,
double f )

Definition at line 702 of file fpdf_editpage.cpp.

References CFX_Matrix::CFX_Matrix(), CPDF_AnnotList::CPDF_AnnotList(), CFX_FloatRect::bottom, CPDFPageFromFPDFPage(), CPDF_Annot::GetRect(), CFX_FloatRect::left, CFX_FloatRect::right, CFX_FloatRect::top, and CFX_Matrix::TransformRect().

Referenced by CheckPDFiumCApi(), and TEST_F().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FPDFPageObj_AddMark()

FPDF_EXPORT FPDF_PAGEOBJECTMARK FPDF_CALLCONV FPDFPageObj_AddMark ( FPDF_PAGEOBJECT page_object,
FPDF_BYTESTRING name )

Definition at line 330 of file fpdf_editpage.cpp.

References CPDF_ContentMarks::AddMark(), CPDFPageObjectFromFPDFPageObject(), CPDF_PageObject::GetContentMarks(), and CPDF_PageObject::SetDirty().

Referenced by CheckPDFiumCApi(), TEST_F(), TEST_F(), and TEST_F().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FPDFPageObj_CountMarks()

FPDF_EXPORT int FPDF_CALLCONV FPDFPageObj_CountMarks ( FPDF_PAGEOBJECT page_object)

Definition at line 307 of file fpdf_editpage.cpp.

References CPDFPageObjectFromFPDFPageObject(), and CPDF_PageObject::GetContentMarks().

Referenced by CheckMarkCounts(), CheckPDFiumCApi(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), and TEST_F().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FPDFPageObj_CreateNewPath()

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().

+ Here is the caller graph for this function:

◆ FPDFPageObj_CreateNewRect()

FPDF_EXPORT FPDF_PAGEOBJECT FPDF_CALLCONV FPDFPageObj_CreateNewRect ( float x,
float y,
float w,
float h )

Definition at line 67 of file fpdf_editpath.cpp.

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(), and TEST_F().

+ Here is the caller graph for this function:

◆ FPDFPageObj_CreateTextObj()

FPDF_EXPORT FPDF_PAGEOBJECT FPDF_CALLCONV FPDFPageObj_CreateTextObj ( FPDF_DOCUMENT document,
FPDF_FONT font,
float font_size )

Definition at line 673 of file fpdf_edittext.cpp.

References CPDFDocumentFromFPDFDocument(), CPDFFontFromFPDFFont(), CPDF_DocPageData::FromDocument(), and CPDF_DocPageData::GetFont().

Referenced by CheckPDFiumCApi().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FPDFPageObj_Destroy()

FPDF_EXPORT void FPDF_CALLCONV FPDFPageObj_Destroy ( FPDF_PAGEOBJECT page_object)

Definition at line 302 of file fpdf_editpage.cpp.

References CPDFPageObjectFromFPDFPageObject().

Referenced by CheckPDFiumCApi(), FPDFPageObjectDeleter::operator()(), 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(), TEST_F(), TEST_F(), and TEST_F().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FPDFPageObj_GetBounds()

FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFPageObj_GetBounds ( FPDF_PAGEOBJECT page_object,
float * left,
float * bottom,
float * right,
float * top )

Definition at line 789 of file fpdf_editpage.cpp.

References CFX_FloatRect::bottom, CPDFPageObjectFromFPDFPageObject(), CPDF_PageObject::GetRect(), CFX_FloatRect::left, CFX_FloatRect::right, and CFX_FloatRect::top.

Referenced by CheckPDFiumCApi(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), and TEST_F().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FPDFPageObj_GetDashArray()

FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFPageObj_GetDashArray ( FPDF_PAGEOBJECT page_object,
float * dash_array,
size_t dash_count )

Definition at line 980 of file fpdf_editpage.cpp.

References CPDFPageObjectFromFPDFPageObject(), and CPDF_PageObject::graph_state().

Referenced by CheckPDFiumCApi().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FPDFPageObj_GetDashCount()

FPDF_EXPORT int FPDF_CALLCONV FPDFPageObj_GetDashCount ( FPDF_PAGEOBJECT page_object)

Definition at line 972 of file fpdf_editpage.cpp.

References CPDFPageObjectFromFPDFPageObject(), and CPDF_PageObject::graph_state().

Referenced by CheckPDFiumCApi(), TEST_F(), and TEST_F().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FPDFPageObj_GetDashPhase()

FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFPageObj_GetDashPhase ( FPDF_PAGEOBJECT page_object,
float * phase )

Definition at line 951 of file fpdf_editpage.cpp.

References CPDFPageObjectFromFPDFPageObject(), CFX_GraphState::GetLineDashPhase(), and CPDF_PageObject::graph_state().

Referenced by CheckPDFiumCApi(), TEST_F(), and TEST_F().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FPDFPageObj_GetFillColor()

FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFPageObj_GetFillColor ( FPDF_PAGEOBJECT page_object,
unsigned int * R,
unsigned int * G,
unsigned int * B,
unsigned int * A )

Definition at line 767 of file fpdf_editpage.cpp.

References CPDF_PageObject::color_state(), CPDFPageObjectFromFPDFPageObject(), FXSYS_GetBValue(), FXSYS_GetGValue(), FXSYS_GetRValue(), FXSYS_GetUnsignedAlpha(), CPDF_PageObject::general_state(), CPDF_GeneralState::GetFillAlpha(), CPDF_ColorState::GetFillColorRef(), and CPDF_ColorState::HasRef().

Referenced by CheckPDFiumCApi(), TEST_F(), TEST_F(), and TEST_F().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FPDFPageObj_GetLineCap()

FPDF_EXPORT int FPDF_CALLCONV FPDFPageObj_GetLineCap ( FPDF_PAGEOBJECT page_object)

Definition at line 929 of file fpdf_editpage.cpp.

References CPDFPageObjectFromFPDFPageObject(), CFX_GraphState::GetLineCap(), and CPDF_PageObject::graph_state().

Referenced by CheckPDFiumCApi(), and TEST_F().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FPDFPageObj_GetLineJoin()

FPDF_EXPORT int FPDF_CALLCONV FPDFPageObj_GetLineJoin ( FPDF_PAGEOBJECT page_object)

Definition at line 907 of file fpdf_editpage.cpp.

References CPDFPageObjectFromFPDFPageObject(), CFX_GraphState::GetLineJoin(), and CPDF_PageObject::graph_state().

Referenced by CheckPDFiumCApi(), and TEST_F().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FPDFPageObj_GetMark()

FPDF_EXPORT FPDF_PAGEOBJECTMARK FPDF_CALLCONV FPDFPageObj_GetMark ( FPDF_PAGEOBJECT page_object,
unsigned long index )

Definition at line 317 of file fpdf_editpage.cpp.

References CPDFPageObjectFromFPDFPageObject(), and CPDF_PageObject::GetContentMarks().

Referenced by CheckMarkCounts(), CheckPDFiumCApi(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), and TEST_F().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FPDFPageObj_GetMatrix()

FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFPageObj_GetMatrix ( FPDF_PAGEOBJECT page_object,
FS_MATRIX * matrix )

Definition at line 641 of file fpdf_editpage.cpp.

References CPDF_PageObject::AsForm(), CPDF_PageObject::AsImage(), CPDF_PageObject::AsPath(), CPDF_PageObject::AsText(), CPDFPageObjectFromFPDFPageObject(), CPDF_FormObject::form_matrix(), FSMatrixFromCFXMatrix(), CPDF_TextObject::GetTextMatrix(), CPDF_PageObject::GetType(), CPDF_PageObject::kForm, CPDF_PageObject::kImage, CPDF_PageObject::kPath, CPDF_PageObject::kShading, CPDF_PageObject::kText, CPDF_ImageObject::matrix(), and CPDF_PathObject::matrix().

Referenced by CheckPDFiumCApi(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), and TEST_F().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FPDFPageObj_GetRotatedBounds()

FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFPageObj_GetRotatedBounds ( FPDF_PAGEOBJECT page_object,
FS_QUADPOINTSF * quad_points )

Definition at line 807 of file fpdf_editpage.cpp.

References CPDF_PageObject::AsImage(), CPDF_PageObject::AsText(), CPDFPageObjectFromFPDFPageObject(), CPDF_PageObject::GetOriginalRect(), CPDF_TextObject::GetTextMatrix(), CPDF_PageObject::GetType(), CPDF_PageObject::kImage, CPDF_PageObject::kText, CPDF_ImageObject::matrix(), and CFX_Matrix::operator=().

Referenced by CheckPDFiumCApi(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), and TEST_F().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FPDFPageObj_GetStrokeColor()

FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFPageObj_GetStrokeColor ( FPDF_PAGEOBJECT page_object,
unsigned int * R,
unsigned int * G,
unsigned int * B,
unsigned int * A )

Definition at line 864 of file fpdf_editpage.cpp.

References CPDF_PageObject::color_state(), CPDFPageObjectFromFPDFPageObject(), FXSYS_GetBValue(), FXSYS_GetGValue(), FXSYS_GetRValue(), FXSYS_GetUnsignedAlpha(), CPDF_PageObject::general_state(), CPDF_GeneralState::GetStrokeAlpha(), CPDF_ColorState::GetStrokeColorRef(), and CPDF_ColorState::HasRef().

Referenced by CheckPDFiumCApi(), TEST_F(), and TEST_F().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FPDFPageObj_GetStrokeWidth()

FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFPageObj_GetStrokeWidth ( FPDF_PAGEOBJECT page_object,
float * width )

Definition at line 897 of file fpdf_editpage.cpp.

References CPDFPageObjectFromFPDFPageObject(), CFX_GraphState::GetLineWidth(), and CPDF_PageObject::graph_state().

Referenced by CheckPDFiumCApi(), and TEST_F().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FPDFPageObj_GetType()

FPDF_EXPORT int FPDF_CALLCONV FPDFPageObj_GetType ( FPDF_PAGEOBJECT page_object)

Definition at line 608 of file fpdf_editpage.cpp.

References CPDFPageObjectFromFPDFPageObject(), and CPDF_PageObject::GetType().

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(), 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(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), WriteImages(), and WriteRenderedImages().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FPDFPageObj_HasTransparency()

FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFPageObj_HasTransparency ( FPDF_PAGEOBJECT page_object)

Definition at line 492 of file fpdf_editpage.cpp.

References CPDF_PageObject::AsForm(), CPDFPageObjectFromFPDFPageObject(), CPDF_FormObject::form(), CPDF_PageObject::general_state(), CPDF_GeneralState::GetBlendType(), CPDF_GeneralState::GetFillAlpha(), CPDF_GeneralState::GetSoftMask(), CPDF_GeneralState::GetStrokeAlpha(), CPDF_PageObjectHolder::GetTransparency(), CPDF_PageObject::IsForm(), CPDF_Transparency::IsGroup(), CPDF_Transparency::IsIsolated(), CPDF_PageObject::IsPath(), and kNormal.

Referenced by CheckPDFiumCApi(), TEST_F(), TEST_F(), TEST_F(), and TEST_F().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FPDFPageObj_NewImageObj()

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FPDFPageObj_NewTextObj()

FPDF_EXPORT FPDF_PAGEOBJECT FPDF_CALLCONV FPDFPageObj_NewTextObj ( FPDF_DOCUMENT document,
FPDF_BYTESTRING font,
float font_size )

Definition at line 478 of file fpdf_edittext.cpp.

References CPDFDocumentFromFPDFDocument().

Referenced by CheckPDFiumCApi().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FPDFPageObj_RemoveMark()

FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFPageObj_RemoveMark ( FPDF_PAGEOBJECT page_object,
FPDF_PAGEOBJECTMARK mark )

Definition at line 344 of file fpdf_editpage.cpp.

References CPDFContentMarkItemFromFPDFPageObjectMark(), CPDFPageObjectFromFPDFPageObject(), CPDF_PageObject::GetContentMarks(), CPDF_ContentMarks::RemoveMark(), and CPDF_PageObject::SetDirty().

Referenced by CheckPDFiumCApi(), and TEST_F().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FPDFPageObj_SetBlendMode()

FPDF_EXPORT void FPDF_CALLCONV FPDFPageObj_SetBlendMode ( FPDF_PAGEOBJECT page_object,
FPDF_BYTESTRING blend_mode )

Definition at line 692 of file fpdf_editpage.cpp.

References CPDFPageObjectFromFPDFPageObject(), CPDF_PageObject::mutable_general_state(), CPDF_GeneralState::SetBlendMode(), and CPDF_PageObject::SetDirty().

Referenced by CheckPDFiumCApi(), TEST_F(), and TEST_F().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FPDFPageObj_SetDashArray()

FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFPageObj_SetDashArray ( FPDF_PAGEOBJECT page_object,
const float * dash_array,
size_t dash_count,
float phase )

Definition at line 997 of file fpdf_editpage.cpp.

References CPDFPageObjectFromFPDFPageObject(), CPDF_PageObject::mutable_graph_state(), and CPDF_PageObject::SetDirty().

Referenced by CheckPDFiumCApi().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FPDFPageObj_SetDashPhase()

FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFPageObj_SetDashPhase ( FPDF_PAGEOBJECT page_object,
float phase )

Definition at line 961 of file fpdf_editpage.cpp.

References CPDFPageObjectFromFPDFPageObject(), CPDF_PageObject::mutable_graph_state(), CPDF_PageObject::SetDirty(), and CFX_GraphState::SetLineDashPhase().

Referenced by CheckPDFiumCApi(), and TEST_F().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FPDFPageObj_SetFillColor()

FPDF_BOOL FPDFPageObj_SetFillColor ( FPDF_PAGEOBJECT page_object,
unsigned int R,
unsigned int G,
unsigned int B,
unsigned int A )

Definition at line 748 of file fpdf_editpage.cpp.

References CPDFPageObjectFromFPDFPageObject(), CPDF_ColorSpace::GetStockCS(), CPDF_ColorSpace::kDeviceRGB, CPDF_PageObject::mutable_color_state(), CPDF_PageObject::mutable_general_state(), CPDF_PageObject::SetDirty(), and CPDF_GeneralState::SetFillAlpha().

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FPDFPageObj_SetLineCap()

FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFPageObj_SetLineCap ( FPDF_PAGEOBJECT page_object,
int line_cap )

Definition at line 935 of file fpdf_editpage.cpp.

References CPDFPageObjectFromFPDFPageObject(), CPDF_PageObject::mutable_graph_state(), CPDF_PageObject::SetDirty(), and CFX_GraphState::SetLineCap().

Referenced by CheckPDFiumCApi(), and TEST_F().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FPDFPageObj_SetLineJoin()

FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFPageObj_SetLineJoin ( FPDF_PAGEOBJECT page_object,
int line_join )

Definition at line 914 of file fpdf_editpage.cpp.

References CPDFPageObjectFromFPDFPageObject(), CPDF_PageObject::mutable_graph_state(), CPDF_PageObject::SetDirty(), and CFX_GraphState::SetLineJoin().

Referenced by CheckPDFiumCApi(), and TEST_F().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FPDFPageObj_SetMatrix()

FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFPageObj_SetMatrix ( FPDF_PAGEOBJECT page_object,
const FS_MATRIX * matrix )

Definition at line 665 of file fpdf_editpage.cpp.

References CPDF_PageObject::AsForm(), CPDF_PageObject::AsImage(), CPDF_PageObject::AsPath(), CPDF_PageObject::AsText(), CFXMatrixFromFSMatrix(), CPDFPageObjectFromFPDFPageObject(), CPDF_PageObject::GetType(), CPDF_PageObject::kForm, CPDF_PageObject::kImage, CPDF_PageObject::kPath, CPDF_PageObject::kShading, CPDF_PageObject::kText, CPDF_PageObject::SetDirty(), CPDF_FormObject::SetFormMatrix(), CPDF_ImageObject::SetImageMatrix(), CPDF_PathObject::SetPathMatrix(), and CPDF_TextObject::SetTextMatrix().

Referenced by CheckPDFiumCApi(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), and TEST_F().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FPDFPageObj_SetStrokeColor()

FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFPageObj_SetStrokeColor ( FPDF_PAGEOBJECT page_object,
unsigned int R,
unsigned int G,
unsigned int B,
unsigned int A )

Definition at line 845 of file fpdf_editpage.cpp.

References CPDFPageObjectFromFPDFPageObject(), CPDF_ColorSpace::GetStockCS(), CPDF_ColorSpace::kDeviceRGB, CPDF_PageObject::mutable_color_state(), CPDF_PageObject::mutable_general_state(), CPDF_PageObject::SetDirty(), and CPDF_GeneralState::SetStrokeAlpha().

Referenced by CheckPDFiumCApi(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), and TEST_F().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FPDFPageObj_SetStrokeWidth()

FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFPageObj_SetStrokeWidth ( FPDF_PAGEOBJECT page_object,
float width )

Definition at line 886 of file fpdf_editpage.cpp.

References CPDFPageObjectFromFPDFPageObject(), CPDF_PageObject::mutable_graph_state(), CPDF_PageObject::SetDirty(), and CFX_GraphState::SetLineWidth().

Referenced by CheckPDFiumCApi(), TEST_F(), TEST_F(), and TEST_F().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FPDFPageObj_Transform()

FPDF_EXPORT void FPDF_CALLCONV FPDFPageObj_Transform ( FPDF_PAGEOBJECT page_object,
double a,
double b,
double c,
double d,
double e,
double f )

Definition at line 625 of file fpdf_editpage.cpp.

References CFX_Matrix::CFX_Matrix(), CPDFPageObjectFromFPDFPageObject(), and CPDF_PageObject::Transform().

Referenced by CheckPDFiumCApi(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), and TEST_F().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FPDFPageObjMark_CountParams()

FPDF_EXPORT int FPDF_CALLCONV FPDFPageObjMark_CountParams ( FPDF_PAGEOBJECTMARK mark)

Definition at line 375 of file fpdf_editpage.cpp.

References CPDFContentMarkItemFromFPDFPageObjectMark().

Referenced by CheckMarkCounts(), CheckPDFiumCApi(), TEST_F(), and TEST_F().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FPDFPageObjMark_GetName()

FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFPageObjMark_GetName ( FPDF_PAGEOBJECTMARK mark,
void * buffer,
unsigned long buflen,
unsigned long * out_buflen )

Definition at line 359 of file fpdf_editpage.cpp.

References CPDFContentMarkItemFromFPDFPageObjectMark(), fxcrt::WideString::FromUTF8(), and CPDF_ContentMarkItem::GetName().

Referenced by CheckMarkCounts(), CheckPDFiumCApi(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), and TEST_F().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FPDFPageObjMark_GetParamBlobValue()

FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFPageObjMark_GetParamBlobValue ( FPDF_PAGEOBJECTMARK mark,
FPDF_BYTESTRING key,
void * buffer,
unsigned long buflen,
unsigned long * out_buflen )

Definition at line 464 of file fpdf_editpage.cpp.

References fxcrt::ByteString::c_str().

Referenced by CheckPDFiumCApi(), and TEST_F().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FPDFPageObjMark_GetParamIntValue()

FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFPageObjMark_GetParamIntValue ( FPDF_PAGEOBJECTMARK mark,
FPDF_BYTESTRING key,
int * out_value )

Definition at line 423 of file fpdf_editpage.cpp.

Referenced by CheckMarkCounts(), CheckPDFiumCApi(), TEST_F(), TEST_F(), TEST_F(), and TEST_F().

+ Here is the caller graph for this function:

◆ FPDFPageObjMark_GetParamKey()

FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFPageObjMark_GetParamKey ( FPDF_PAGEOBJECTMARK mark,
unsigned long index,
void * buffer,
unsigned long buflen,
unsigned long * out_buflen )

Definition at line 386 of file fpdf_editpage.cpp.

Referenced by CheckMarkCounts(), CheckPDFiumCApi(), TEST_F(), and TEST_F().

+ Here is the caller graph for this function:

◆ FPDFPageObjMark_GetParamStringValue()

FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFPageObjMark_GetParamStringValue ( FPDF_PAGEOBJECTMARK mark,
FPDF_BYTESTRING key,
void * buffer,
unsigned long buflen,
unsigned long * out_buflen )

Definition at line 442 of file fpdf_editpage.cpp.

References fxcrt::WideString::FromUTF8().

Referenced by CheckMarkCounts(), CheckPDFiumCApi(), TEST_F(), TEST_F(), and TEST_F().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FPDFPageObjMark_GetParamValueType()

FPDF_EXPORT FPDF_OBJECT_TYPE FPDF_CALLCONV FPDFPageObjMark_GetParamValueType ( FPDF_PAGEOBJECTMARK mark,
FPDF_BYTESTRING key )

Definition at line 412 of file fpdf_editpage.cpp.

Referenced by CheckMarkCounts(), CheckPDFiumCApi(), TEST_F(), and TEST_F().

+ Here is the caller graph for this function:

◆ FPDFPageObjMark_RemoveParam()

FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFPageObjMark_RemoveParam ( FPDF_PAGEOBJECT page_object,
FPDF_PAGEOBJECTMARK mark,
FPDF_BYTESTRING key )

Definition at line 589 of file fpdf_editpage.cpp.

References CPDFPageObjectFromFPDFPageObject(), and CPDF_PageObject::SetDirty().

Referenced by CheckPDFiumCApi(), and TEST_F().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FPDFPageObjMark_SetBlobParam()

FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFPageObjMark_SetBlobParam ( FPDF_DOCUMENT document,
FPDF_PAGEOBJECT page_object,
FPDF_PAGEOBJECTMARK mark,
FPDF_BYTESTRING key,
void * value,
unsigned long value_len )

Definition at line 564 of file fpdf_editpage.cpp.

References CPDFPageObjectFromFPDFPageObject(), and CPDF_PageObject::SetDirty().

Referenced by CheckPDFiumCApi().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FPDFPageObjMark_SetIntParam()

FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFPageObjMark_SetIntParam ( FPDF_DOCUMENT document,
FPDF_PAGEOBJECT page_object,
FPDF_PAGEOBJECTMARK mark,
FPDF_BYTESTRING key,
int value )

Definition at line 524 of file fpdf_editpage.cpp.

References CPDFPageObjectFromFPDFPageObject(), and CPDF_PageObject::SetDirty().

Referenced by CheckPDFiumCApi().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FPDFPageObjMark_SetStringParam()

FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFPageObjMark_SetStringParam ( FPDF_DOCUMENT document,
FPDF_PAGEOBJECT page_object,
FPDF_PAGEOBJECTMARK mark,
FPDF_BYTESTRING key,
FPDF_BYTESTRING value )

Definition at line 544 of file fpdf_editpage.cpp.

References CPDFPageObjectFromFPDFPageObject(), and CPDF_PageObject::SetDirty().

Referenced by CheckPDFiumCApi().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FPDFPath_BezierTo()

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FPDFPath_Close()

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FPDFPath_CountSegments()

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FPDFPath_GetDrawMode()

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FPDFPath_GetPathSegment()

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().

+ Here is the caller graph for this function:

◆ FPDFPath_LineTo()

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FPDFPath_MoveTo()

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FPDFPath_SetDrawMode()

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FPDFPathSegment_GetClose()

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FPDFPathSegment_GetPoint()

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FPDFPathSegment_GetType()

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FPDFText_LoadFont()

FPDF_EXPORT FPDF_FONT FPDF_CALLCONV FPDFText_LoadFont ( FPDF_DOCUMENT document,
const uint8_t * data,
uint32_t size,
int font_type,
FPDF_BOOL cid )

Definition at line 536 of file fpdf_edittext.cpp.

References CPDFDocumentFromFPDFDocument().

Referenced by CheckPDFiumCApi().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FPDFText_LoadStandardFont()

FPDF_EXPORT FPDF_FONT FPDF_CALLCONV FPDFText_LoadStandardFont ( FPDF_DOCUMENT document,
FPDF_BYTESTRING font )

Definition at line 563 of file fpdf_edittext.cpp.

References CPDFDocumentFromFPDFDocument(), and CPDF_Font::GetStockFont().

Referenced by CheckPDFiumCApi().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FPDFText_SetCharcodes()

FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFText_SetCharcodes ( FPDF_PAGEOBJECT text_object,
const uint32_t * charcodes,
size_t count )

Definition at line 516 of file fpdf_edittext.cpp.

References CPDF_TextObject::SetText().

Referenced by CheckPDFiumCApi().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FPDFText_SetText()

FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFText_SetText ( FPDF_PAGEOBJECT text_object,
FPDF_WIDESTRING text )

Definition at line 500 of file fpdf_edittext.cpp.

References CPDF_TextObject::SetText(), and WideStringFromFPDFWideString().

Referenced by CheckPDFiumCApi().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FPDFTextObj_GetFont()

FPDF_EXPORT FPDF_FONT FPDF_CALLCONV FPDFTextObj_GetFont ( FPDF_PAGEOBJECT text)

Definition at line 714 of file fpdf_edittext.cpp.

References CPDF_TextObject::GetFont().

Referenced by CheckPDFiumCApi(), TEST_F(), TEST_F(), and TEST_F().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FPDFTextObj_GetFontSize()

FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFTextObj_GetFontSize ( FPDF_PAGEOBJECT text,
float * size )

Definition at line 574 of file fpdf_edittext.cpp.

References CPDF_TextObject::GetFontSize().

Referenced by CheckPDFiumCApi(), TEST_F(), TEST_F(), and TEST_F().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FPDFTextObj_GetRenderedBitmap()

FPDF_EXPORT FPDF_BITMAP FPDF_CALLCONV FPDFTextObj_GetRenderedBitmap ( FPDF_DOCUMENT document,
FPDF_PAGE page,
FPDF_PAGEOBJECT text_object,
float scale )

Definition at line 604 of file fpdf_edittext.cpp.

References CFX_Matrix::CFX_Matrix(), CPDF_Page::RenderContextClearer::RenderContextClearer(), CFX_DefaultRenderDevice::Attach(), CPDFDocumentFromFPDFDocument(), CPDFPageFromFPDFPage(), CPDF_Page::GetDocument(), CFX_FloatRect::GetOuterRect(), CPDF_PageObject::GetRect(), FX_RECT::Height(), CPDF_RenderStatus::Initialize(), FX_RECT::IsEmpty(), kArgb, CFX_FloatRect::left, CFX_Matrix::operator*=(), CPDF_RenderStatus::RenderSingleObject(), CPDF_RenderStatus::SetDeviceMatrix(), CFX_FloatRect::top, CFX_Matrix::TransformRect(), and FX_RECT::Width().

Referenced by CheckPDFiumCApi(), and TEST_F().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FPDFTextObj_GetText()

FPDF_EXPORT unsigned long FPDF_CALLCONV FPDFTextObj_GetText ( FPDF_PAGEOBJECT text_object,
FPDF_TEXTPAGE text_page,
FPDF_WCHAR * buffer,
unsigned long length )

Definition at line 587 of file fpdf_edittext.cpp.

References CPDFTextPageFromFPDFTextPage(), CPDF_TextPage::GetTextByObject(), and Utf16EncodeMaybeCopyAndReturnLength().

Referenced by CheckPDFiumCApi(), and TEST_F().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FPDFTextObj_GetTextRenderMode()

FPDF_EXPORT FPDF_TEXT_RENDERMODE FPDF_CALLCONV FPDFTextObj_GetTextRenderMode ( FPDF_PAGEOBJECT text)

Definition at line 691 of file fpdf_edittext.cpp.

References CPDF_TextObject::GetTextRenderMode().

Referenced by CheckPDFiumCApi(), TEST_F(), and TEST_F().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FPDFTextObj_SetTextRenderMode()

FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFTextObj_SetTextRenderMode ( FPDF_PAGEOBJECT text,
FPDF_TEXT_RENDERMODE render_mode )

Definition at line 699 of file fpdf_edittext.cpp.

References CPDF_TextObject::SetTextRenderMode().

Referenced by CheckPDFiumCApi(), and TEST_F().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: