PDF Toolbox
Loading...
Searching...
No Matches
PdfToolbox_PtxPdfContent.h
Go to the documentation of this file.
1/******************************************************************************
2 *
3 * File: PdfToolbox_PtxPdfContent.h
4 *
5 * Description: Sub Header file for PDF Toolbox API
6 *
7 * Author: PDF Tools AG
8 *
9 * Copyright: Copyright (C) 2015 - 2024 PDF Tools AG, Switzerland
10 * All rights reserved.
11 *
12 *****************************************************************************/
13
14#ifndef PDFTOOLBOX_PTXPDFCONTENT_H__
15#define PDFTOOLBOX_PTXPDFCONTENT_H__
16
17#ifndef PDFTOOLBOX_CALL
18#if defined(WIN32)
19#define PDFTOOLBOX_CALL __stdcall
20#else
21#define PDFTOOLBOX_CALL
22#endif
23#endif
24
25#include "PdfToolbox_Types.h"
26#include "PdfToolbox_PtxSys.h"
27
28#ifdef __cplusplus
29extern "C"
30{
31#endif
32
33#ifdef _UNICODE
34#define PtxPdfContent_Font_CreateFromSystem PtxPdfContent_Font_CreateFromSystemW
35
36#define PtxPdfContent_Font_GetBaseFont PtxPdfContent_Font_GetBaseFontW
37
38#define PtxPdfContent_TextGenerator_GetWidth PtxPdfContent_TextGenerator_GetWidthW
39#define PtxPdfContent_TextGenerator_Show PtxPdfContent_TextGenerator_ShowW
40#define PtxPdfContent_TextGenerator_ShowLine PtxPdfContent_TextGenerator_ShowLineW
41
42#define PtxPdfContent_Glyph_GetText PtxPdfContent_Glyph_GetTextW
43
44#define PtxPdfContent_TextFragment_GetText PtxPdfContent_TextFragment_GetTextW
45
46#else
47#define PtxPdfContent_Font_CreateFromSystem PtxPdfContent_Font_CreateFromSystemA
48
49#define PtxPdfContent_Font_GetBaseFont PtxPdfContent_Font_GetBaseFontA
50
51#define PtxPdfContent_TextGenerator_GetWidth PtxPdfContent_TextGenerator_GetWidthA
52#define PtxPdfContent_TextGenerator_Show PtxPdfContent_TextGenerator_ShowA
53#define PtxPdfContent_TextGenerator_ShowLine PtxPdfContent_TextGenerator_ShowLineA
54
55#define PtxPdfContent_Glyph_GetText PtxPdfContent_Glyph_GetTextA
56
57#define PtxPdfContent_TextFragment_GetText PtxPdfContent_TextFragment_GetTextA
58
59#endif
60
61/******************************************************************************
62 * Transparency
63 *****************************************************************************/
78
104 TPtxPdfContent_Transparency* pTransparency, TPtxPdfContent_BlendMode iBlendMode);
136 double dAlpha);
137
138/******************************************************************************
139 * Stroke
140 *****************************************************************************/
156 double dLineWidth);
157
206 TPtxPdfContent_Paint* pPaint);
243 double dLineWidth);
281 TPtxPdfContent_LineCapStyle iLineCapStyle);
343 double* pBuffer, size_t nBufferSize);
364 const double* pDashArray, size_t nDashArrays);
401 double dDashPhase);
438 double dMiterLimit);
439
440/******************************************************************************
441 * Fill
442 *****************************************************************************/
457
506 TPtxPdfContent_Paint* pPaint);
544 TPtxPdfContent_InsideRule iInsideRule);
545
546/******************************************************************************
547 * Image
548 *****************************************************************************/
588
632 const TPtxSys_StreamDescriptor* pStreamDesc,
633 const TPtxPdfContent_ImageType* pImageType);
634
656
675 TPtxGeomInt_Size* pSize);
713 unsigned char* pBuffer, size_t nBufferSize);
751
752/******************************************************************************
753 * ImageMask
754 *****************************************************************************/
792
830 const TPtxSys_StreamDescriptor* pStreamDesc,
831 const TPtxPdfContent_ImageType* pImageType);
832
849 TPtxGeomInt_Size* pSize);
850
851/******************************************************************************
852 * Font
853 *****************************************************************************/
894 TPtxPdf_Document* pTargetDocument, const TPtxSys_StreamDescriptor* pStreamDesc, BOOL bEmbedded);
934 TPtxPdf_Document* pTargetDocument, const char* szFamily, const char* szStyle, BOOL bEmbedded);
974 TPtxPdf_Document* pTargetDocument, const WCHAR* szFamily, const WCHAR* szStyle, BOOL bEmbedded);
996 int iCharacter);
997
1023 size_t nBufferSize);
1049 size_t nBufferSize);
1071 TPtxPdfContent_FontWeight* pWeight);
1179
1180/******************************************************************************
1181 * Group
1182 *****************************************************************************/
1205 const TPtxGeomReal_Size* pSize);
1274 TPtxPdf_Document* pTargetDocument, TPtxPdf_Page* pPage, TPtxPdf_PageCopyOptions* pOptions);
1275
1292 TPtxGeomReal_Size* pSize);
1393
1394/******************************************************************************
1395 * ColorSpace
1396 *****************************************************************************/
1462
1480
1496/******************************************************************************
1497 * IccBasedColorSpace
1498 *****************************************************************************/
1564 TPtxPdf_Document* pTargetDocument, TPtxPdfContent_IccBasedColorSpace* pColorSpace);
1565
1566/******************************************************************************
1567 * Subpath
1568 *****************************************************************************/
1599 TPtxPdfContent_PathSegment* pPathSegment);
1600
1615 TPtxGeomReal_Point* pStartPoint);
1631
1632/******************************************************************************
1633 * Path
1634 *****************************************************************************/
1644
1659
1660/******************************************************************************
1661 * PathIterator
1662 *****************************************************************************/
1691
1692/******************************************************************************
1693 * ContentGenerator
1694 *****************************************************************************/
1718
1797 TPtxPdfContent_ContentGenerator* pContentGenerator, const TPtxGeomReal_AffineTransform* pTransform);
1828 TPtxPdfContent_Image* pImage, const TPtxGeomReal_Rectangle* pTargetRect);
1878 TPtxPdfContent_ContentGenerator* pContentGenerator, TPtxPdfContent_ImageMask* pImageMask,
1879 const TPtxGeomReal_Rectangle* pTargetRect, TPtxPdfContent_Paint* pPaint);
1955 TPtxPdfContent_ContentGenerator* pContentGenerator, TPtxPdfContent_Text* pText);
2017 TPtxPdfContent_ContentGenerator* pContentGenerator, TPtxPdfContent_Text* pText);
2066 TPtxPdfContent_ContentGenerator* pContentGenerator, TPtxPdfContent_Group* pGroup,
2067 const TPtxGeomReal_Rectangle* pTargetRect, TPtxPdfContent_Transparency* pTransparency);
2090 TPtxPdfContent_ContentGenerator* pContentGenerator, TPtxPdfContent_ContentElement* pContentElement);
2091
2103/******************************************************************************
2104 * PathGenerator
2105 *****************************************************************************/
2120
2145 const TPtxGeomReal_Point* pTarget);
2167 const TPtxGeomReal_Point* pTarget);
2197 TPtxPdfContent_PathGenerator* pPathGenerator, const TPtxGeomReal_Point* pControlPoint1,
2198 const TPtxGeomReal_Point* pControlPoint2, const TPtxGeomReal_Point* pTarget);
2241 TPtxPdfContent_PathGenerator* pPathGenerator, const TPtxGeomReal_Rectangle* pRectangle);
2262 TPtxPdfContent_PathGenerator* pPathGenerator, const TPtxGeomReal_Point* pCenter, double dRadius);
2281 TPtxPdfContent_PathGenerator* pPathGenerator, const TPtxGeomReal_Rectangle* pRectangle);
2304 const TPtxGeomReal_Rectangle* pRectangle,
2305 double dAlpha1, double dAlpha2);
2328 const TPtxGeomReal_Rectangle* pRectangle,
2329 double dAlpha1, double dAlpha2);
2330
2342/******************************************************************************
2343 * TextGenerator
2344 *****************************************************************************/
2387 TPtxPdfContent_Text* pText, TPtxPdfContent_Font* pFont, double dFontSize, const TPtxGeomReal_Point* pLocation);
2388
2461 const char* szText);
2484 const WCHAR* szText);
2548 const TPtxGeomReal_Point* pTarget);
2549
2574 TPtxPdfContent_Paint* pFill);
2632 TPtxPdfContent_Font* pFont);
2739 TPtxPdfContent_TextGenerator* pTextGenerator, double dHorizontalScaling);
2793 double dRise);
2794
2806/******************************************************************************
2807 * Paint
2808 *****************************************************************************/
2856 const double* pColor, size_t nColors, TPtxPdfContent_Transparency* pTransparency);
2857
2902 size_t nBufferSize);
2925
2926/******************************************************************************
2927 * Glyph
2928 *****************************************************************************/
2952 size_t nBufferSize);
2976 size_t nBufferSize);
3006 TPtxGeomReal_Point* pPosition);
3025
3026/******************************************************************************
3027 * TextFragment
3028 *****************************************************************************/
3075 int iIndex);
3076
3095 TPtxPdfContent_TextFragment* pTextFragment, TPtxGeomReal_Rectangle* pBoundingBox);
3114 TPtxPdfContent_TextFragment* pTextFragment, TPtxGeomReal_AffineTransform* pTransform);
3139 char* pBuffer, size_t nBufferSize);
3164 WCHAR* pBuffer, size_t nBufferSize);
3347
3348/******************************************************************************
3349 * Text
3350 *****************************************************************************/
3400 int iIndex);
3430
3431/******************************************************************************
3432 * ContentElement
3433 *****************************************************************************/
3470
3489 TPtxPdfContent_ContentElement* pContentElement, TPtxGeomReal_Rectangle* pBoundingBox);
3512 TPtxPdfContent_ContentElement* pContentElement, TPtxGeomReal_AffineTransform* pTransform);
3535 TPtxPdfContent_ContentElement* pContentElement, const TPtxGeomReal_AffineTransform* pTransform);
3536
3552/******************************************************************************
3553 * TextElement
3554 *****************************************************************************/
3573
3574/******************************************************************************
3575 * GroupElement
3576 *****************************************************************************/
3611 TPtxPdf_Document* pTargetDocument, TPtxPdfContent_GroupElement* pGroupElement);
3612
3631
3632/******************************************************************************
3633 * PathElement
3634 *****************************************************************************/
3653 TPtxPdfContent_PathElement* pPathElement, TPtxGeomReal_Rectangle* pAlignmentBox);
3712
3713/******************************************************************************
3714 * ImageElement
3715 *****************************************************************************/
3734
3735/******************************************************************************
3736 * ImageMaskElement
3737 *****************************************************************************/
3774
3775/******************************************************************************
3776 * ContentExtractor
3777 *****************************************************************************/
3803
3818
3857
3858/******************************************************************************
3859 * ContentExtractorIterator
3860 *****************************************************************************/
3892
3893#ifdef __cplusplus
3894}
3895#endif
3896
3897#endif /* PDFTOOLBOX_PTXPDFCONTENT_H__ */
unsigned short WCHAR
Definition PdfToolbox_Platform.h:90
#define PDFTOOLBOX_EXPORT
Definition PdfToolbox_Platform.h:138
PDFTOOLBOX_EXPORT TPtxPdfContent_Paint *PDFTOOLBOX_CALL PtxPdfContent_ImageMaskElement_GetPaint(TPtxPdfContent_ImageMaskElement *pImageMaskElement)
PDFTOOLBOX_EXPORT BOOL PDFTOOLBOX_CALL PtxPdfContent_PathGenerator_BezierTo(TPtxPdfContent_PathGenerator *pPathGenerator, const TPtxGeomReal_Point *pControlPoint1, const TPtxGeomReal_Point *pControlPoint2, const TPtxGeomReal_Point *pTarget)
Draw a bezier curve.
PDFTOOLBOX_EXPORT BOOL PDFTOOLBOX_CALL PtxPdfContent_ContentGenerator_AppendContentElement(TPtxPdfContent_ContentGenerator *pContentGenerator, TPtxPdfContent_ContentElement *pContentElement)
Paint a content element.
PDFTOOLBOX_EXPORT BOOL PDFTOOLBOX_CALL PtxPdfContent_PathGenerator_LineTo(TPtxPdfContent_PathGenerator *pPathGenerator, const TPtxGeomReal_Point *pTarget)
Draw a line. Append a straight line segment from the current point to the target coordinates....
#define PDFTOOLBOX_CALL
Definition PdfToolbox_PtxPdfContent.h:21
PDFTOOLBOX_EXPORT TPtxPdfContent_TextFragment *PDFTOOLBOX_CALL PtxPdfContent_Text_Get(TPtxPdfContent_Text *pText, int iIndex)
Returns the element at the specified position in the given list.
PDFTOOLBOX_EXPORT double PDFTOOLBOX_CALL PtxPdfContent_Font_GetDescent(TPtxPdfContent_Font *pFont)
the descent of the font. The maximum depth below the baseline reached by glyphs in this font....
PDFTOOLBOX_EXPORT BOOL PDFTOOLBOX_CALL PtxPdfContent_PathGenerator_AddRectangle(TPtxPdfContent_PathGenerator *pPathGenerator, const TPtxGeomReal_Rectangle *pRectangle)
Append a rectangle to the current path as a complete subpath.
PDFTOOLBOX_EXPORT BOOL PDFTOOLBOX_CALL PtxPdfContent_Subpath_Get(TPtxPdfContent_Subpath *pSubpath, int iIndex, TPtxPdfContent_PathSegment *pPathSegment)
Returns the element at the specified position in the given list.
PDFTOOLBOX_EXPORT BOOL PDFTOOLBOX_CALL PtxPdfContent_TextFragment_Remove(TPtxPdfContent_TextFragment *pTextFragment, int iIndex)
Remove certain element from list.
PDFTOOLBOX_EXPORT BOOL PDFTOOLBOX_CALL PtxPdfContent_TextGenerator_SetFontSize(TPtxPdfContent_TextGenerator *pTextGenerator, double dFontSize)
the current font size.
PDFTOOLBOX_EXPORT TPtxPdfContent_Glyph *PDFTOOLBOX_CALL PtxPdfContent_TextFragment_Get(TPtxPdfContent_TextFragment *pTextFragment, int iIndex)
Returns the element at the specified position in the given list.
PDFTOOLBOX_EXPORT TPtxPdfContent_Paint *PDFTOOLBOX_CALL PtxPdfContent_Fill_GetPaint(TPtxPdfContent_Fill *pFill)
PDFTOOLBOX_EXPORT TPtxPdfContent_ColorSpace *PDFTOOLBOX_CALL PtxPdfContent_Image_GetColorSpace(TPtxPdfContent_Image *pImage)
the color space in which image samples are specified.
PDFTOOLBOX_EXPORT BOOL PDFTOOLBOX_CALL PtxPdfContent_Group_SetIsolated(TPtxPdfContent_Group *pGroup, BOOL bIsolated)
the transparency isolation behavior
PDFTOOLBOX_EXPORT TPtxPdfContent_Font *PDFTOOLBOX_CALL PtxPdfContent_Font_Create(TPtxPdf_Document *pTargetDocument, const TPtxSys_StreamDescriptor *pStreamDesc, BOOL bEmbedded)
Create a new font object from font file data. Supported formats are:
PDFTOOLBOX_EXPORT BOOL PDFTOOLBOX_CALL PtxPdfContent_PathGenerator_AddPie(TPtxPdfContent_PathGenerator *pPathGenerator, const TPtxGeomReal_Rectangle *pRectangle, double dAlpha1, double dAlpha2)
Add an elliptical piece of pie to the current path as a complete subpath.
PDFTOOLBOX_EXPORT BOOL PDFTOOLBOX_CALL PtxPdfContent_TextGenerator_SetLeading(TPtxPdfContent_TextGenerator *pTextGenerator, double dLeading)
the current leading.
PDFTOOLBOX_EXPORT TPtxPdfContent_Text *PDFTOOLBOX_CALL PtxPdfContent_Text_Create(TPtxPdf_Document *pTargetDocument)
Create a text The returned text object is not yet used on any page, but it is associated with the giv...
PDFTOOLBOX_EXPORT BOOL PDFTOOLBOX_CALL PtxPdfContent_Group_GetSize(TPtxPdfContent_Group *pGroup, TPtxGeomReal_Size *pSize)
the size of the group.
PDFTOOLBOX_EXPORT TPtxPdfContent_ColorSpace *PDFTOOLBOX_CALL PtxPdfContent_Paint_GetColorSpace(TPtxPdfContent_Paint *pPaint)
PDFTOOLBOX_EXPORT BOOL PDFTOOLBOX_CALL PtxPdfContent_ImageMask_Extract(TPtxPdfContent_ImageMask *pImageMask, const TPtxSys_StreamDescriptor *pStreamDesc, const TPtxPdfContent_ImageType *pImageType)
Extract image mask from PDF.
PDFTOOLBOX_EXPORT BOOL PDFTOOLBOX_CALL PtxPdfContent_ContentGenerator_Close(TPtxPdfContent_ContentGenerator *pObject)
Close object.
PDFTOOLBOX_EXPORT TPtxPdfContent_IccBasedColorSpace *PDFTOOLBOX_CALL PtxPdfContent_IccBasedColorSpace_Create(TPtxPdf_Document *pTargetDocument, const TPtxSys_StreamDescriptor *pProfile)
Create an new ICC-based color space from an ICC color profile. The returned color space object is not...
PDFTOOLBOX_EXPORT double PDFTOOLBOX_CALL PtxPdfContent_TextGenerator_GetWidthW(TPtxPdfContent_TextGenerator *pTextGenerator, const WCHAR *szText)
Get the width of a text string. The width of a text string as if it would be shown with the current s...
PDFTOOLBOX_EXPORT TPtxPdfContent_ContentElement *PDFTOOLBOX_CALL PtxPdfContent_ContentElement_Copy(TPtxPdf_Document *pTargetDocument, TPtxPdfContent_ContentElement *pContentElement)
Copy a content element The returned object is associated with the given target document but not yet p...
PDFTOOLBOX_EXPORT TPtxPdfContent_Path *PDFTOOLBOX_CALL PtxPdfContent_PathElement_GetPath(TPtxPdfContent_PathElement *pPathElement)
PDFTOOLBOX_EXPORT BOOL PDFTOOLBOX_CALL PtxPdfContent_ContentGenerator_PaintText(TPtxPdfContent_ContentGenerator *pContentGenerator, TPtxPdfContent_Text *pText)
Paint text.
PDFTOOLBOX_EXPORT BOOL PDFTOOLBOX_CALL PtxPdfContent_TextGenerator_SetFont(TPtxPdfContent_TextGenerator *pTextGenerator, TPtxPdfContent_Font *pFont)
the current font. The font is used for all subsequent PtxPdfContent_TextGenerator_Show and PtxPdfCont...
PDFTOOLBOX_EXPORT BOOL PDFTOOLBOX_CALL PtxPdfContent_Transparency_SetBlendMode(TPtxPdfContent_Transparency *pTransparency, TPtxPdfContent_BlendMode iBlendMode)
PDFTOOLBOX_EXPORT BOOL PDFTOOLBOX_CALL PtxPdfContent_ContentGenerator_PaintImageMask(TPtxPdfContent_ContentGenerator *pContentGenerator, TPtxPdfContent_ImageMask *pImageMask, const TPtxGeomReal_Rectangle *pTargetRect, TPtxPdfContent_Paint *pPaint)
Paint an image (stencil) mask.
PDFTOOLBOX_EXPORT BOOL PDFTOOLBOX_CALL PtxPdfContent_Image_GetSize(TPtxPdfContent_Image *pImage, TPtxGeomInt_Size *pSize)
The size of the image in samples. Samples are often also called pixels.
PDFTOOLBOX_EXPORT double PDFTOOLBOX_CALL PtxPdfContent_Glyph_GetWidth(TPtxPdfContent_Glyph *pGlyph)
glyph width This is the width of the glyph.
PDFTOOLBOX_EXPORT BOOL PDFTOOLBOX_CALL PtxPdfContent_TextGenerator_SetRise(TPtxPdfContent_TextGenerator *pTextGenerator, double dRise)
the current rise of the baseline.
PDFTOOLBOX_EXPORT BOOL PDFTOOLBOX_CALL PtxPdfContent_Group_GetIsolated(TPtxPdfContent_Group *pGroup)
the transparency isolation behavior
PDFTOOLBOX_EXPORT BOOL PDFTOOLBOX_CALL PtxPdfContent_ContentGenerator_ClipWithPath(TPtxPdfContent_ContentGenerator *pContentGenerator, TPtxPdfContent_Path *pPath, TPtxPdfContent_InsideRule iInsideRule)
Intersect clip path with path. Update the current clip path by intersecting with the given path.
PDFTOOLBOX_EXPORT BOOL PDFTOOLBOX_CALL PtxPdfContent_ContentElement_GetBoundingBox(TPtxPdfContent_ContentElement *pContentElement, TPtxGeomReal_Rectangle *pBoundingBox)
the bounding box This is a rectangle that encompasses all parts of an element.
PDFTOOLBOX_EXPORT size_t PDFTOOLBOX_CALL PtxPdfContent_Image_GetSamples(TPtxPdfContent_Image *pImage, unsigned char *pBuffer, size_t nBufferSize)
The raw content of the image.
PDFTOOLBOX_EXPORT TPtxPdfContent_Group *PDFTOOLBOX_CALL PtxPdfContent_Group_CopyFromPage(TPtxPdf_Document *pTargetDocument, TPtxPdf_Page *pPage, TPtxPdf_PageCopyOptions *pOptions)
Create a group object from a page.
PDFTOOLBOX_EXPORT BOOL PDFTOOLBOX_CALL PtxPdfContent_ContentElement_SetTransform(TPtxPdfContent_ContentElement *pContentElement, const TPtxGeomReal_AffineTransform *pTransform)
the transform to be applied to the alignment rectangle Use this transform matrix to compute the actua...
PDFTOOLBOX_EXPORT TPtxPdfContent_ColorSpace *PDFTOOLBOX_CALL PtxPdfContent_ColorSpace_CreateProcessColorSpace(TPtxPdf_Document *pTargetDocument, TPtxPdfContent_ProcessColorSpaceType iType)
Get the canonical grayscale, RGB, or CMYK color space. Depending on the PDF/A compliance and the outp...
PDFTOOLBOX_EXPORT int PDFTOOLBOX_CALL PtxPdfContent_Image_GetBitsPerComponent(TPtxPdfContent_Image *pImage)
the number of bits per component. The number of bits used to represent each color component....
PDFTOOLBOX_EXPORT double PDFTOOLBOX_CALL PtxPdfContent_Font_GetAscent(TPtxPdfContent_Font *pFont)
the ascent of the font. The maximum height above the baseline reached by glyphs in this font,...
PDFTOOLBOX_EXPORT BOOL PDFTOOLBOX_CALL PtxPdfContent_PathIterator_MoveNext(TPtxPdfContent_PathIterator *pPathIterator)
Move the iterator to the next element.
PDFTOOLBOX_EXPORT TPtxPdfContent_TextGenerator *PDFTOOLBOX_CALL PtxPdfContent_TextGenerator_New(TPtxPdfContent_Text *pText, TPtxPdfContent_Font *pFont, double dFontSize, const TPtxGeomReal_Point *pLocation)
Create a new text generator for appending text to a text content object. All parameters that cannot b...
PDFTOOLBOX_EXPORT TPtxPdfContent_Stroke *PDFTOOLBOX_CALL PtxPdfContent_PathElement_GetStroke(TPtxPdfContent_PathElement *pPathElement)
PDFTOOLBOX_EXPORT BOOL PDFTOOLBOX_CALL PtxPdfContent_Text_Remove(TPtxPdfContent_Text *pText, int iIndex)
Remove certain element from list.
PDFTOOLBOX_EXPORT BOOL PDFTOOLBOX_CALL PtxPdfContent_TextGenerator_Close(TPtxPdfContent_TextGenerator *pObject)
Close object.
PDFTOOLBOX_EXPORT BOOL PDFTOOLBOX_CALL PtxPdfContent_Group_SetKnockout(TPtxPdfContent_Group *pGroup, BOOL bKnockout)
the transparency knockout behavior
PDFTOOLBOX_EXPORT TPtxPdfContent_Stroke *PDFTOOLBOX_CALL PtxPdfContent_TextFragment_GetStroke(TPtxPdfContent_TextFragment *pTextFragment)
PDFTOOLBOX_EXPORT size_t PDFTOOLBOX_CALL PtxPdfContent_Paint_GetColor(TPtxPdfContent_Paint *pPaint, double *pBuffer, size_t nBufferSize)
PDFTOOLBOX_EXPORT int PDFTOOLBOX_CALL PtxPdfContent_ColorSpace_GetComponentCount(TPtxPdfContent_ColorSpace *pColorSpace)
the number of components in the color space.
PDFTOOLBOX_EXPORT double PDFTOOLBOX_CALL PtxPdfContent_TextFragment_GetFontSize(TPtxPdfContent_TextFragment *pTextFragment)
The font size.
PDFTOOLBOX_EXPORT TPtxPdfContent_ContentExtractorIterator *PDFTOOLBOX_CALL PtxPdfContent_ContentExtractor_GetIterator(TPtxPdfContent_ContentExtractor *pContentExtractor)
Get an iterator for this enumerable.
PDFTOOLBOX_EXPORT BOOL PDFTOOLBOX_CALL PtxPdfContent_TextGenerator_SetCharacterSpacing(TPtxPdfContent_TextGenerator *pTextGenerator, double dCharacterSpacing)
the current character spacing.
PDFTOOLBOX_EXPORT int PDFTOOLBOX_CALL PtxPdfContent_TextFragment_GetCount(TPtxPdfContent_TextFragment *pTextFragment)
Get the number of elements in the list.
PDFTOOLBOX_EXPORT TPtxPdfContent_Group *PDFTOOLBOX_CALL PtxPdfContent_GroupElement_GetGroup(TPtxPdfContent_GroupElement *pGroupElement)
PDFTOOLBOX_EXPORT double PDFTOOLBOX_CALL PtxPdfContent_Font_GetCharacterWidth(TPtxPdfContent_Font *pFont, int iCharacter)
the width of a single glyph.
PDFTOOLBOX_EXPORT BOOL PDFTOOLBOX_CALL PtxPdfContent_Font_GetWeight(TPtxPdfContent_Font *pFont, TPtxPdfContent_FontWeight *pWeight)
the visual weight of the font. Indicates the visual weight (degree of blackness or thickness of strok...
PDFTOOLBOX_EXPORT BOOL PDFTOOLBOX_CALL PtxPdfContent_Glyph_GetPosition(TPtxPdfContent_Glyph *pGlyph, TPtxGeomReal_Point *pPosition)
glyph position
PDFTOOLBOX_EXPORT BOOL PDFTOOLBOX_CALL PtxPdfContent_ContentGenerator_Transform(TPtxPdfContent_ContentGenerator *pContentGenerator, const TPtxGeomReal_AffineTransform *pTransform)
Modify the current transform matrix by concatenating the specified matrix.
PDFTOOLBOX_EXPORT double PDFTOOLBOX_CALL PtxPdfContent_Stroke_GetDashPhase(TPtxPdfContent_Stroke *pStroke)
PDFTOOLBOX_EXPORT TPtxPdfContent_ImageMask *PDFTOOLBOX_CALL PtxPdfContent_ImageMask_Create(TPtxPdf_Document *pTargetDocument, const TPtxSys_StreamDescriptor *pStreamDesc)
Create an image mask object from image data. Supported formats are:
PDFTOOLBOX_EXPORT BOOL PDFTOOLBOX_CALL PtxPdfContent_TextGenerator_SetHorizontalScaling(TPtxPdfContent_TextGenerator *pTextGenerator, double dHorizontalScaling)
the current horizontal scaling.
PDFTOOLBOX_EXPORT TPtxPdfContent_InsideRule PDFTOOLBOX_CALL PtxPdfContent_Fill_GetInsideRule(TPtxPdfContent_Fill *pFill)
PDFTOOLBOX_EXPORT TPtxPdfContent_Stroke *PDFTOOLBOX_CALL PtxPdfContent_Stroke_New(TPtxPdfContent_Paint *pPaint, double dLineWidth)
PDFTOOLBOX_EXPORT TPtxPdfContent_Fill *PDFTOOLBOX_CALL PtxPdfContent_Fill_New(TPtxPdfContent_Paint *pPaint)
PDFTOOLBOX_EXPORT TPtxPdfContent_BlendMode PDFTOOLBOX_CALL PtxPdfContent_Transparency_GetBlendMode(TPtxPdfContent_Transparency *pTransparency)
PDFTOOLBOX_EXPORT TPtxPdfContent_PathIterator *PDFTOOLBOX_CALL PtxPdfContent_Path_GetIterator(TPtxPdfContent_Path *pPath)
Get an iterator for this enumerable.
PDFTOOLBOX_EXPORT BOOL PDFTOOLBOX_CALL PtxPdfContent_PathGenerator_AddCircle(TPtxPdfContent_PathGenerator *pPathGenerator, const TPtxGeomReal_Point *pCenter, double dRadius)
Append a circle to the current path as a complete subpath.
PDFTOOLBOX_EXPORT BOOL PDFTOOLBOX_CALL PtxPdfContent_Subpath_IsClosed(TPtxPdfContent_Subpath *pSubpath)
PDFTOOLBOX_EXPORT BOOL PDFTOOLBOX_CALL PtxPdfContent_Stroke_SetLineJoinStyle(TPtxPdfContent_Stroke *pStroke, TPtxPdfContent_LineJoinStyle iLineJoinStyle)
PDFTOOLBOX_EXPORT TPtxPdfContent_Image *PDFTOOLBOX_CALL PtxPdfContent_ImageElement_GetImage(TPtxPdfContent_ImageElement *pImageElement)
PDFTOOLBOX_EXPORT TPtxPdfContent_Group *PDFTOOLBOX_CALL PtxPdfContent_Group_Create(TPtxPdf_Document *pTargetDocument, const TPtxGeomReal_Size *pSize)
Create an empty group object. The returned group object is not yet used on any page,...
PDFTOOLBOX_EXPORT double PDFTOOLBOX_CALL PtxPdfContent_Stroke_GetLineWidth(TPtxPdfContent_Stroke *pStroke)
PDFTOOLBOX_EXPORT TPtxPdfContent_Font *PDFTOOLBOX_CALL PtxPdfContent_Font_CreateFromSystemA(TPtxPdf_Document *pTargetDocument, const char *szFamily, const char *szStyle, BOOL bEmbedded)
Create a new font object from an installed font. The returned font object is not yet used on any page...
PDFTOOLBOX_EXPORT BOOL PDFTOOLBOX_CALL PtxPdfContent_PathGenerator_AddArc(TPtxPdfContent_PathGenerator *pPathGenerator, const TPtxGeomReal_Rectangle *pRectangle, double dAlpha1, double dAlpha2)
Add an elliptical arc to the current path.
PDFTOOLBOX_EXPORT BOOL PDFTOOLBOX_CALL PtxPdfContent_Stroke_SetDashPhase(TPtxPdfContent_Stroke *pStroke, double dDashPhase)
PDFTOOLBOX_EXPORT BOOL PDFTOOLBOX_CALL PtxPdfContent_TextGenerator_ShowLineA(TPtxPdfContent_TextGenerator *pTextGenerator, const char *szText)
Show a text string and go to the next line.
PDFTOOLBOX_EXPORT TPtxPdfContent_LineCapStyle PDFTOOLBOX_CALL PtxPdfContent_Stroke_GetLineCapStyle(TPtxPdfContent_Stroke *pStroke)
PDFTOOLBOX_EXPORT BOOL PDFTOOLBOX_CALL PtxPdfContent_PathElement_GetAlignmentBox(TPtxPdfContent_PathElement *pPathElement, TPtxGeomReal_Rectangle *pAlignmentBox)
the box for alignment This is a rectangle that may not encompass all parts of an element,...
PDFTOOLBOX_EXPORT TPtxPdfContent_LineJoinStyle PDFTOOLBOX_CALL PtxPdfContent_Stroke_GetLineJoinStyle(TPtxPdfContent_Stroke *pStroke)
PDFTOOLBOX_EXPORT TPtxPdfContent_Content *PDFTOOLBOX_CALL PtxPdfContent_Group_GetContent(TPtxPdfContent_Group *pGroup)
the group content. If the group is writable, the content object can be used to apply new content on t...
PDFTOOLBOX_EXPORT TPtxPdfContent_ContentGenerator *PDFTOOLBOX_CALL PtxPdfContent_ContentGenerator_New(TPtxPdfContent_Content *pContent, BOOL bPrepend)
Create a new content generator for appending or prepending to the content of a group.
PDFTOOLBOX_EXPORT double PDFTOOLBOX_CALL PtxPdfContent_Stroke_GetMiterLimit(TPtxPdfContent_Stroke *pStroke)
PDFTOOLBOX_EXPORT TPtxPdfContent_GroupElement *PDFTOOLBOX_CALL PtxPdfContent_GroupElement_CopyWithoutContent(TPtxPdf_Document *pTargetDocument, TPtxPdfContent_GroupElement *pGroupElement)
Copy a group element without copying its content Create a new group element, taking a given group ele...
PDFTOOLBOX_EXPORT TPtxPdfContent_Image *PDFTOOLBOX_CALL PtxPdfContent_Image_Create(TPtxPdf_Document *pTargetDocument, const TPtxSys_StreamDescriptor *pStreamDesc)
Create an image object from image data. Supported formats are:
PDFTOOLBOX_EXPORT BOOL PDFTOOLBOX_CALL PtxPdfContent_ContentGenerator_Save(TPtxPdfContent_ContentGenerator *pContentGenerator)
Save the current graphics state The graphics state is stored on the graphics state stack....
PDFTOOLBOX_EXPORT BOOL PDFTOOLBOX_CALL PtxPdfContent_ContentExtractor_SetUngrouping(TPtxPdfContent_ContentExtractor *pContentExtractor, TPtxPdfContent_UngroupingSelection iUngrouping)
PDFTOOLBOX_EXPORT TPtxPdfContent_Paint *PDFTOOLBOX_CALL PtxPdfContent_Paint_Create(TPtxPdf_Document *pTargetDocument, TPtxPdfContent_ColorSpace *pColorSpace, const double *pColor, size_t nColors, TPtxPdfContent_Transparency *pTransparency)
Create an new paint. Transparency is supported by PDF 1.4 or higher and by PDF/A-2 or higher....
PDFTOOLBOX_EXPORT BOOL PDFTOOLBOX_CALL PtxPdfContent_ContentGenerator_Restore(TPtxPdfContent_ContentGenerator *pContentGenerator)
Restore the graphics state. The most recently saved state is restored and removed from the graphics s...
PDFTOOLBOX_EXPORT TPtxPdfContent_ImageMask *PDFTOOLBOX_CALL PtxPdfContent_ImageMaskElement_GetImageMask(TPtxPdfContent_ImageMaskElement *pImageMaskElement)
PDFTOOLBOX_EXPORT TPtxPdfContent_ContentElementType PDFTOOLBOX_CALL PtxPdfContent_ContentElement_GetType(TPtxPdfContent_ContentElement *pContentElement)
Get actual derived type of base type TPtxPdfContent_ContentElement.
PDFTOOLBOX_EXPORT BOOL PDFTOOLBOX_CALL PtxPdfContent_Group_GetKnockout(TPtxPdfContent_Group *pGroup)
the transparency knockout behavior
PDFTOOLBOX_EXPORT BOOL PDFTOOLBOX_CALL PtxPdfContent_TextGenerator_ShowA(TPtxPdfContent_TextGenerator *pTextGenerator, const char *szText)
Show a text string. The text is shown using the current settings.
PDFTOOLBOX_EXPORT TPtxPdfContent_IccBasedColorSpace *PDFTOOLBOX_CALL PtxPdfContent_IccBasedColorSpace_Copy(TPtxPdf_Document *pTargetDocument, TPtxPdfContent_IccBasedColorSpace *pColorSpace)
Copy an ICC-based color space Copy an ICC-based color space object from an input document to the give...
PDFTOOLBOX_EXPORT BOOL PDFTOOLBOX_CALL PtxPdfContent_Fill_SetInsideRule(TPtxPdfContent_Fill *pFill, TPtxPdfContent_InsideRule iInsideRule)
PDFTOOLBOX_EXPORT BOOL PDFTOOLBOX_CALL PtxPdfContent_Transparency_SetAlpha(TPtxPdfContent_Transparency *pTransparency, double dAlpha)
PDFTOOLBOX_EXPORT BOOL PDFTOOLBOX_CALL PtxPdfContent_Subpath_GetStartPoint(TPtxPdfContent_Subpath *pSubpath, TPtxGeomReal_Point *pStartPoint)
PDFTOOLBOX_EXPORT BOOL PDFTOOLBOX_CALL PtxPdfContent_PathGenerator_CloseSubpath(TPtxPdfContent_PathGenerator *pPathGenerator)
Close the current subpath. Close the current subpath by appending a straight line segment from the cu...
PDFTOOLBOX_EXPORT TPtxPdfContent_Font *PDFTOOLBOX_CALL PtxPdfContent_Font_CreateFromSystemW(TPtxPdf_Document *pTargetDocument, const WCHAR *szFamily, const WCHAR *szStyle, BOOL bEmbedded)
Create a new font object from an installed font. The returned font object is not yet used on any page...
PDFTOOLBOX_EXPORT TPtxPdfContent_Fill *PDFTOOLBOX_CALL PtxPdfContent_TextFragment_GetFill(TPtxPdfContent_TextFragment *pTextFragment)
PDFTOOLBOX_EXPORT TPtxPdfContent_ContentExtractor *PDFTOOLBOX_CALL PtxPdfContent_ContentExtractor_New(TPtxPdfContent_Content *pContent)
Create a new content extractor.
PDFTOOLBOX_EXPORT BOOL PDFTOOLBOX_CALL PtxPdfContent_ContentGenerator_ClipWithText(TPtxPdfContent_ContentGenerator *pContentGenerator, TPtxPdfContent_Text *pText)
Intersect clip path with text. Update the current clip path by intersecting with the given text.
PDFTOOLBOX_EXPORT int PDFTOOLBOX_CALL PtxPdfContent_Text_GetCount(TPtxPdfContent_Text *pText)
Get the number of elements in the list.
PDFTOOLBOX_EXPORT TPtxPdfContent_PathGenerator *PDFTOOLBOX_CALL PtxPdfContent_PathGenerator_New(TPtxPdfContent_Path *pPath)
Create a new path generator for appending to a path.
PDFTOOLBOX_EXPORT TPtxPdfContent_ColorSpace *PDFTOOLBOX_CALL PtxPdfContent_ColorSpace_Copy(TPtxPdf_Document *pTargetDocument, TPtxPdfContent_ColorSpace *pColorSpace)
Copy a color space Copy a color space object from an input document to the given pTargetDocument....
PDFTOOLBOX_EXPORT double PDFTOOLBOX_CALL PtxPdfContent_TextFragment_GetRise(TPtxPdfContent_TextFragment *pTextFragment)
The rise of the baseline The text rise specifies the distance to move the baseline up or down from it...
PDFTOOLBOX_EXPORT TPtxPdfContent_Paint *PDFTOOLBOX_CALL PtxPdfContent_Stroke_GetPaint(TPtxPdfContent_Stroke *pStroke)
PDFTOOLBOX_EXPORT TPtxPdfContent_Text *PDFTOOLBOX_CALL PtxPdfContent_TextElement_GetText(TPtxPdfContent_TextElement *pTextElement)
PDFTOOLBOX_EXPORT TPtxPdfContent_Path *PDFTOOLBOX_CALL PtxPdfContent_Path_New(void)
PDFTOOLBOX_EXPORT size_t PDFTOOLBOX_CALL PtxPdfContent_TextFragment_GetTextW(TPtxPdfContent_TextFragment *pTextFragment, WCHAR *pBuffer, size_t nBufferSize)
PDFTOOLBOX_EXPORT double PDFTOOLBOX_CALL PtxPdfContent_TextFragment_GetCharacterSpacing(TPtxPdfContent_TextFragment *pTextFragment)
The additional spacing between glyphs When the glyph for each character in the text is rendered,...
PDFTOOLBOX_EXPORT double PDFTOOLBOX_CALL PtxPdfContent_TextGenerator_GetWidthA(TPtxPdfContent_TextGenerator *pTextGenerator, const char *szText)
Get the width of a text string. The width of a text string as if it would be shown with the current s...
PDFTOOLBOX_EXPORT BOOL PDFTOOLBOX_CALL PtxPdfContent_Text_Clear(TPtxPdfContent_Text *pText)
Clear list.
PDFTOOLBOX_EXPORT BOOL PDFTOOLBOX_CALL PtxPdfContent_ContentGenerator_PaintGroup(TPtxPdfContent_ContentGenerator *pContentGenerator, TPtxPdfContent_Group *pGroup, const TPtxGeomReal_Rectangle *pTargetRect, TPtxPdfContent_Transparency *pTransparency)
Paint a group.
PDFTOOLBOX_EXPORT TPtxPdfContent_ImageType PDFTOOLBOX_CALL PtxPdfContent_Image_GetDefaultImageType(TPtxPdfContent_Image *pImage)
Default extracted image type. The default image type that will be extracted, based on the way that th...
PDFTOOLBOX_EXPORT BOOL PDFTOOLBOX_CALL PtxPdfContent_Stroke_SetLineWidth(TPtxPdfContent_Stroke *pStroke, double dLineWidth)
PDFTOOLBOX_EXPORT BOOL PDFTOOLBOX_CALL PtxPdfContent_TextFragment_GetTransform(TPtxPdfContent_TextFragment *pTextFragment, TPtxGeomReal_AffineTransform *pTransform)
the transform to be applied to the bounding box rectangle Use this transform matrix to compute the ac...
PDFTOOLBOX_EXPORT double PDFTOOLBOX_CALL PtxPdfContent_TextFragment_GetHorizontalScaling(TPtxPdfContent_TextFragment *pTextFragment)
The horizontal scaling factor The horizontal scaling parameter adjusts the width of glyphs by stretch...
PDFTOOLBOX_EXPORT TPtxPdfContent_ColorSpaceType PDFTOOLBOX_CALL PtxPdfContent_ColorSpace_GetType(TPtxPdfContent_ColorSpace *pColorSpace)
Get actual derived type of base type TPtxPdfContent_ColorSpace.
PDFTOOLBOX_EXPORT size_t PDFTOOLBOX_CALL PtxPdfContent_Glyph_GetTextW(TPtxPdfContent_Glyph *pGlyph, WCHAR *pBuffer, size_t nBufferSize)
glyph text This is the glyph's associated text.
PDFTOOLBOX_EXPORT BOOL PDFTOOLBOX_CALL PtxPdfContent_PathGenerator_AddEllipse(TPtxPdfContent_PathGenerator *pPathGenerator, const TPtxGeomReal_Rectangle *pRectangle)
Add an ellipse to the current path as a complete subpath.
PDFTOOLBOX_EXPORT TPtxPdfContent_Transparency *PDFTOOLBOX_CALL PtxPdfContent_Transparency_New(double dAlpha)
PDFTOOLBOX_EXPORT BOOL PDFTOOLBOX_CALL PtxPdfContent_TextGenerator_SetFill(TPtxPdfContent_TextGenerator *pTextGenerator, TPtxPdfContent_Paint *pFill)
The paint for filling The fill paint or NULL if the text should not be filled.
PDFTOOLBOX_EXPORT BOOL PDFTOOLBOX_CALL PtxPdfContent_ContentElement_GetTransform(TPtxPdfContent_ContentElement *pContentElement, TPtxGeomReal_AffineTransform *pTransform)
the transform to be applied to the alignment rectangle Use this transform matrix to compute the actua...
PDFTOOLBOX_EXPORT BOOL PDFTOOLBOX_CALL PtxPdfContent_TextGenerator_SetStroke(TPtxPdfContent_TextGenerator *pTextGenerator, TPtxPdfContent_Stroke *pStroke)
The stroke properties The stroke properties or NULL if the text should not be stroked.
PDFTOOLBOX_EXPORT TPtxPdfContent_Font *PDFTOOLBOX_CALL PtxPdfContent_TextFragment_GetFont(TPtxPdfContent_TextFragment *pTextFragment)
The font The returned TPtxPdfContent_Font can only be used for extraction purposes....
PDFTOOLBOX_EXPORT TPtxPdfContent_Transparency *PDFTOOLBOX_CALL PtxPdfContent_Paint_GetTransparency(TPtxPdfContent_Paint *pPaint)
PDFTOOLBOX_EXPORT size_t PDFTOOLBOX_CALL PtxPdfContent_Font_GetBaseFontW(TPtxPdfContent_Font *pFont, WCHAR *pBuffer, size_t nBufferSize)
the PostScript name of the font
PDFTOOLBOX_EXPORT double PDFTOOLBOX_CALL PtxPdfContent_Font_GetCapHeight(TPtxPdfContent_Font *pFont)
the cap height of the font. The vertical coordinate of the top of flat capital letters,...
PDFTOOLBOX_EXPORT BOOL PDFTOOLBOX_CALL PtxPdfContent_TextGenerator_SetWordSpacing(TPtxPdfContent_TextGenerator *pTextGenerator, double dWordSpacing)
the current word spacing.
PDFTOOLBOX_EXPORT TPtxPdfContent_ContentElement *PDFTOOLBOX_CALL PtxPdfContent_ContentExtractorIterator_GetValue(TPtxPdfContent_ContentExtractorIterator *pContentExtractorIterator)
Get the current element or NULLif no elements are left.
PDFTOOLBOX_EXPORT BOOL PDFTOOLBOX_CALL PtxPdfContent_TextFragment_GetBoundingBox(TPtxPdfContent_TextFragment *pTextFragment, TPtxGeomReal_Rectangle *pBoundingBox)
the bounding box This is a rectangle that encompasses all parts of the text fragment.
PDFTOOLBOX_EXPORT double PDFTOOLBOX_CALL PtxPdfContent_TextFragment_GetWordSpacing(TPtxPdfContent_TextFragment *pTextFragment)
The additional spacing between words Word spacing works the same way as character spacing,...
PDFTOOLBOX_EXPORT size_t PDFTOOLBOX_CALL PtxPdfContent_Font_GetBaseFontA(TPtxPdfContent_Font *pFont, char *pBuffer, size_t nBufferSize)
the PostScript name of the font
PDFTOOLBOX_EXPORT BOOL PDFTOOLBOX_CALL PtxPdfContent_Stroke_SetPaint(TPtxPdfContent_Stroke *pStroke, TPtxPdfContent_Paint *pPaint)
PDFTOOLBOX_EXPORT BOOL PDFTOOLBOX_CALL PtxPdfContent_TextGenerator_ShowLineW(TPtxPdfContent_TextGenerator *pTextGenerator, const WCHAR *szText)
Show a text string and go to the next line.
PDFTOOLBOX_EXPORT BOOL PDFTOOLBOX_CALL PtxPdfContent_Stroke_SetMiterLimit(TPtxPdfContent_Stroke *pStroke, double dMiterLimit)
PDFTOOLBOX_EXPORT BOOL PDFTOOLBOX_CALL PtxPdfContent_PathGenerator_Close(TPtxPdfContent_PathGenerator *pObject)
Close object.
PDFTOOLBOX_EXPORT size_t PDFTOOLBOX_CALL PtxPdfContent_TextFragment_GetTextA(TPtxPdfContent_TextFragment *pTextFragment, char *pBuffer, size_t nBufferSize)
PDFTOOLBOX_EXPORT BOOL PDFTOOLBOX_CALL PtxPdfContent_TextGenerator_ShowW(TPtxPdfContent_TextGenerator *pTextGenerator, const WCHAR *szText)
Show a text string. The text is shown using the current settings.
PDFTOOLBOX_EXPORT size_t PDFTOOLBOX_CALL PtxPdfContent_Glyph_GetTextA(TPtxPdfContent_Glyph *pGlyph, char *pBuffer, size_t nBufferSize)
glyph text This is the glyph's associated text.
PDFTOOLBOX_EXPORT TPtxPdfContent_WritingMode PDFTOOLBOX_CALL PtxPdfContent_TextFragment_GetWritingMode(TPtxPdfContent_TextFragment *pTextFragment)
The writing direction This is the writing mode for the text fragment. It applies to all contained TPt...
PDFTOOLBOX_EXPORT BOOL PDFTOOLBOX_CALL PtxPdfContent_ImageMask_GetSize(TPtxPdfContent_ImageMask *pImageMask, TPtxGeomInt_Size *pSize)
The size of the image mask in samples.
PDFTOOLBOX_EXPORT double PDFTOOLBOX_CALL PtxPdfContent_Font_GetItalicAngle(TPtxPdfContent_Font *pFont)
the italic angle of the font. The angle is expressed in degrees counterclockwise from the vertical,...
PDFTOOLBOX_EXPORT int PDFTOOLBOX_CALL PtxPdfContent_Subpath_GetCount(TPtxPdfContent_Subpath *pSubpath)
Get the number of elements in the list.
PDFTOOLBOX_EXPORT BOOL PDFTOOLBOX_CALL PtxPdfContent_PathGenerator_MoveTo(TPtxPdfContent_PathGenerator *pPathGenerator, const TPtxGeomReal_Point *pTarget)
Move the current position. Begin a new subpath by moving the current point to the specified coordinat...
PDFTOOLBOX_EXPORT BOOL PDFTOOLBOX_CALL PtxPdfContent_ContentGenerator_PaintPath(TPtxPdfContent_ContentGenerator *pContentGenerator, TPtxPdfContent_Path *pPath, TPtxPdfContent_Fill *pFill, TPtxPdfContent_Stroke *pStroke)
Paint a path. The path is first filled and then stroked The blend mode for filling and stroking must ...
PDFTOOLBOX_EXPORT BOOL PDFTOOLBOX_CALL PtxPdfContent_Fill_SetPaint(TPtxPdfContent_Fill *pFill, TPtxPdfContent_Paint *pPaint)
PDFTOOLBOX_EXPORT BOOL PDFTOOLBOX_CALL PtxPdfContent_ContentGenerator_PaintImage(TPtxPdfContent_ContentGenerator *pContentGenerator, TPtxPdfContent_Image *pImage, const TPtxGeomReal_Rectangle *pTargetRect)
Paint an image.
PDFTOOLBOX_EXPORT BOOL PDFTOOLBOX_CALL PtxPdfContent_Font_GetLeading(TPtxPdfContent_Font *pFont, double *pLeading)
the leading of the font.
PDFTOOLBOX_EXPORT size_t PDFTOOLBOX_CALL PtxPdfContent_Stroke_GetDashArray(TPtxPdfContent_Stroke *pStroke, double *pBuffer, size_t nBufferSize)
PDFTOOLBOX_EXPORT BOOL PDFTOOLBOX_CALL PtxPdfContent_TextGenerator_MoveTo(TPtxPdfContent_TextGenerator *pTextGenerator, const TPtxGeomReal_Point *pTarget)
Move the current position. This also also sets the beginning of the current line to the specified pos...
PDFTOOLBOX_EXPORT double PDFTOOLBOX_CALL PtxPdfContent_Transparency_GetAlpha(TPtxPdfContent_Transparency *pTransparency)
PDFTOOLBOX_EXPORT TPtxPdfContent_Subpath *PDFTOOLBOX_CALL PtxPdfContent_PathIterator_GetValue(TPtxPdfContent_PathIterator *pPathIterator)
Get the current element or NULLif no elements are left.
PDFTOOLBOX_EXPORT BOOL PDFTOOLBOX_CALL PtxPdfContent_Stroke_SetLineCapStyle(TPtxPdfContent_Stroke *pStroke, TPtxPdfContent_LineCapStyle iLineCapStyle)
PDFTOOLBOX_EXPORT TPtxPdfContent_UngroupingSelection PDFTOOLBOX_CALL PtxPdfContent_ContentExtractor_GetUngrouping(TPtxPdfContent_ContentExtractor *pContentExtractor)
PDFTOOLBOX_EXPORT BOOL PDFTOOLBOX_CALL PtxPdfContent_Image_Extract(TPtxPdfContent_Image *pImage, const TPtxSys_StreamDescriptor *pStreamDesc, const TPtxPdfContent_ImageType *pImageType)
Extract embedded image from PDF.
PDFTOOLBOX_EXPORT TPtxPdfContent_Fill *PDFTOOLBOX_CALL PtxPdfContent_PathElement_GetFill(TPtxPdfContent_PathElement *pPathElement)
PDFTOOLBOX_EXPORT BOOL PDFTOOLBOX_CALL PtxPdfContent_Stroke_SetDashArray(TPtxPdfContent_Stroke *pStroke, const double *pDashArray, size_t nDashArrays)
PDFTOOLBOX_EXPORT BOOL PDFTOOLBOX_CALL PtxPdfContent_ContentExtractorIterator_MoveNext(TPtxPdfContent_ContentExtractorIterator *pContentExtractorIterator)
Move the iterator to the next element.
TPtxPdfContent_UngroupingSelection
Definition PdfToolbox_Types.h:499
TPtxPdfContent_ImageType
Definition PdfToolbox_Types.h:595
TPtxPdfContent_BlendMode
Definition PdfToolbox_Types.h:340
TPtxPdfContent_WritingMode
Definition PdfToolbox_Types.h:524
TPtxPdfContent_ContentElementType
Type and subtype enumeration of TPtxPdfContent_ContentElement.
Definition PdfToolbox_Types.h:897
TPtxPdfContent_InsideRule
Definition PdfToolbox_Types.h:328
TPtxPdfContent_FontWeight
Definition PdfToolbox_Types.h:542
TPtxPdfContent_LineJoinStyle
Definition PdfToolbox_Types.h:313
TPtxPdfContent_LineCapStyle
Definition PdfToolbox_Types.h:298
#define BOOL
Definition PdfToolbox_Types.h:18
TPtxPdfContent_ProcessColorSpaceType
Definition PdfToolbox_Types.h:283
TPtxPdfContent_ColorSpaceType
Type and subtype enumeration of TPtxPdfContent_ColorSpace.
Definition PdfToolbox_Types.h:866
Represents the content of a page or a group. The class has no methods on its own, but can be modified...
Paths define shapes, trajectories, and regions of all sorts. A path is made up of one or more disconn...
A disconnected subpath. A container for connected path segments.
Definition PdfToolbox_Types.h:2084
Definition PdfToolbox_Types.h:2042
Definition PdfToolbox_Types.h:1970
Definition PdfToolbox_Types.h:1998
Definition PdfToolbox_Types.h:1984
Definition PdfToolbox_Types.h:2098
Structure that groups a set of callbacks that model streams.
Definition PdfToolbox_PtxSys.h:44