1. Pdf_show
void Pdf_show (PDF *p, const char *text)
void Pdf_show2 (PDF *p, const char *text, int len)
Outputs text in the current coordinates with the current font and font size.
Pdf_show will assume that the string ends with a null character (null), and if the string might contain a null character (such as a multibyte string), use Pdf_show2.
2. Pdf_show_xy
void Pdf_show_xy (PDF *p, const char *text, double x, double y)
void Pdf_show_xy2 (PDF *p, const char *text, int len, double x, double y)
Outputs text in the given coordinates with the current font and font size.
Pdf_show_xy will assume that the string ends with a null character (null), and if the string might contain a null character (such as a multibyte string), use Pdf_show_xy2.
3. Pdf_continue_text
void Pdf_continue_text (PDF *p, const char *text)
void Pdf_continue_text2 (PDF *p, const char *text, int len)
Output text with the current font and font size on the next line.
Pdf_continue_xy will assume that the string ends with a null character (null), and if the string might contain a null character (such as a multibyte string), use Pdf_continue_xy2.
4. Pdf_fit_textline
void Pdf_fit_textline (pdf*p, const char *text, int len, double x, double y, const char *optlist)
Outputs a line of text from the selected item in the given coordinate.
If the string ends with a null character (null) and Len is 0, the number of bytes is given.
5. Pdf_fit_textflow
int Pdf_create_textflow (PDF *p, const char *text, int len, const char *optlist)
Creates a text stream object and prepares the text for formatting the following text.
If the string ends with a null character (null) and Len is 0, the number of bytes is given.
const char *pdf_fit_textflow (PDF *p, int textflow, double llx, double lly, double Urx, double ury, const char *optlist)
Outputs the text to the appropriate rectangular block.
Lly, Llx, URY, Urx, respectively, are the vertical and horizontal coordinates of the lower-left corner of the rectangular block and the upper-right corner.
void Pdf_delete_textflow (PDF *p, int textflow)
Deletes text stream objects and related data structures.