Example #1
0
static void
fz_trace_ignore_text(void *user, fz_text *text, fz_matrix ctm)
{
	printf("<ignore_text font=\"%s\" wmode=\"%d\" ", text->font->name, text->wmode);
	fz_trace_matrix(ctm);
	fz_trace_trm(text->trm);
	printf(">\n");
	fz_debug_text(text, 0);
	printf("</ignore_text>\n");
}
Example #2
0
static void
fz_trace_clip_stroke_text(void *user, fz_text *text, fz_stroke_state *stroke, fz_matrix ctm)
{
	printf("<clip_stroke_text font=\"%s\" wmode=\"%d\" ", text->font->name, text->wmode);
	fz_trace_matrix(ctm);
	fz_trace_trm(text->trm);
	printf(">\n");
	fz_debug_text(text, 0);
	printf("</clip_stroke_text>\n");
}
Example #3
0
static void
fz_trace_clip_text(fz_device *dev, fz_text *text, fz_matrix ctm, int accumulate)
{
	printf("<clip_text font=\"%s\" wmode=\"%d\" ", text->font->name, text->wmode);
	printf("accumulate=\"%d\" ", accumulate);
	fz_trace_matrix(ctm);
	fz_trace_trm(text->trm);
	printf(">\n");
	fz_debug_text(dev->ctx, text, 0);
	printf("</clip_text>\n");
}
Example #4
0
static void
fz_trace_stroke_text(void *user, fz_text *text, fz_stroke_state *stroke, fz_matrix ctm,
	fz_colorspace *colorspace, float *color, float alpha)
{
	printf("<stroke_text font=\"%s\" wmode=\"%d\" ", text->font->name, text->wmode);
	fz_trace_color(colorspace, color, alpha);
	fz_trace_matrix(ctm);
	fz_trace_trm(text->trm);
	printf(">\n");
	fz_debug_text(text, 0);
	printf("</stroke_text>\n");
}
Example #5
0
static void
fz_trace_fill_text(fz_device *dev, fz_text *text, fz_matrix ctm,
	fz_colorspace *colorspace, float *color, float alpha)
{
	printf("<fill_text font=\"%s\" wmode=\"%d\" ", text->font->name, text->wmode);
	fz_trace_color(colorspace, color, alpha);
	fz_trace_matrix(ctm);
	fz_trace_trm(text->trm);
	printf(">\n");
	fz_debug_text(dev->ctx, text, 0);
	printf("</fill_text>\n");
}