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);
265 void MoveTo(
double x,
double y);
272 void LineTo(
double x,
double y);
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);
314 void ArcTo(
double xr,
double yr,
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>
413 #endif // PDFTRON_H_CPPPDFElementBuilder
void MoveTo(double x, double y)
Element CreateMarkedContentPoint(const char *tag, SDF::Obj property_dict)
Element CreateShapedTextRun(ShapedText text_data)
Element CreateImage(Image &img)
Element CreateEllipse(double x, double y, double width, double height)
Element CreateTextRun(const char *text_data, Font font, double font_sz)
Element CreateMarkedContentPointInlineProperties(const char *tag)
Element CreateForm(SDF::Obj form)
void CurveTo(double cx1, double cy1, double cx2, double cy2, double x2, double y2)
Element CreateRect(double x, double y, double width, double height)
Element CreateTextBegin()
Element CreateMarkedContentBegin(const char *tag, SDF::Obj property_dict)
Element CreateMarkedContentEnd()
void LineTo(double x, double y)
Element CreateMarkedContentBeginInlineProperties(const char *tag)
Element CreateGroupBegin()
Element CreatePath(const std::vector< double > &points, const std::vector< unsigned char > &seg_types)
void Ellipse(double x, double y, double width, double height)
Element CreateTextNewLine()
void Rect(double x, double y, double width, double height)
Element CreateUnicodeTextRun(const Unicode *text_data, UInt32 text_data_sz)
void ArcTo(double x, double y, double width, double height, double start, double extent)
Element CreateShading(Shading &sh)