5#ifndef PDFTRON_H_CPPPDFElementBuilder
6#define PDFTRON_H_CPPPDFElementBuilder
15#include <C/PDF/TRN_ElementBuilder.h>
220 Element CreatePath(
const std::vector<double>& points,
const std::vector<unsigned char>& seg_types);
223 Element CreatePath(
const double* points,
int point_count,
const char* seg_types,
int seg_types_count);
284 void CurveTo(
double cx1,
double cy1,
double cx2,
double cy2,
double x2,
double y2);
296 void ArcTo(
double x,
double y,
double width,
double height,
double start,
double extent);
318 double endX,
double endY);
329 void Ellipse(
double x,
double y,
double width,
double height);
340 void Rect(
double x,
double y,
double width,
double height);
397 TRN_ElementBuilder mp_builder;
407#include <Impl/ElementBuilder.inl>
void MoveTo(double x, double y)
Element CreatePath(const double *points, int point_count, const char *seg_types, int seg_types_count)
void Rect(double x, double y, double width, double height)
Element CreateImage(Image &img, double x, double y, double hscale, double vscale)
Element CreateShapedTextRun(ShapedText text_data)
Element CreateTextRun(const UChar *text_data, UInt32 text_data_sz, Font font, double font_sz)
Element CreateTextRun(const char *text_data, UInt32 text_data_sz)
Element CreateEllipse(double x, double y, double width, double height)
Element CreateUnicodeTextRun(const Unicode *text_data, UInt32 text_data_sz)
Element CreateMarkedContentBeginInlineProperties(const char *tag)
void CurveTo(double cx1, double cy1, double cx2, double cy2, double x2, double y2)
Element CreateTextNewLine()
Element CreateTextNewLine(double dx, double dy)
void LineTo(double x, double y)
Element CreateTextRun(const UChar *text_data, UInt32 text_data_sz)
Element CreateTextRun(const char *text_data, UInt32 text_data_sz, Font font, double font_sz)
Element CreateGroupBegin()
Element CreateTextRun(const char *text_data, Font font, double font_sz)
Element CreateTextBegin(Font font, double font_sz)
Element CreateMarkedContentEnd()
Element CreateForm(Page page, class PDFDoc &doc)
Element CreateRect(double x, double y, double width, double height)
Element CreateForm(SDF::Obj form)
Element CreateForm(Page page)
void Ellipse(double x, double y, double width, double height)
Element CreateTextBegin()
Element CreateShading(Shading &sh)
Element CreateMarkedContentPoint(const char *tag, SDF::Obj property_dict)
Element CreatePath(const std::vector< double > &points, const std::vector< unsigned char > &seg_types)
void ArcTo(double xr, double yr, double rx, bool isLargeArc, bool sweep, double endX, double endY)
Element CreateMarkedContentBegin(const char *tag, SDF::Obj property_dict)
Element CreateImage(Image &img)
Element CreateTextRun(const char *text_data)
Element CreateImage(Image &img, const Common::Matrix2D &mtx)
void ArcTo(double x, double y, double width, double height, double start, double extent)
Element CreateMarkedContentPointInlineProperties(const char *tag)