struct xr_driver_ext *x = this->ext;
cairo_show_page (x->cairo);
}
-
-static void
-xr_submit (struct outp_driver *this UNUSED, struct som_entity *s)
-{
- switch (s->type)
- {
- case SOM_CHART:
- break;
- default:
- NOT_REACHED ();
- }
-}
\f
/* Draws a line from (x0,y0) to (x1,y1). */
static void
text (this, t, true, NULL, NULL);
}
\f
-static void
-xr_chart_initialise (struct outp_driver *this UNUSED, struct chart *ch UNUSED)
-{
-#ifdef NO_CHARTS
- ch->lp = NULL;
-#else
- /* XXX libplot doesn't support Cairo yet. */
-#endif
-}
-
-static void
-xr_chart_finalise (struct outp_driver *this UNUSED, struct chart *ch UNUSED)
-{
-#ifndef NO_CHARTS
- /* XXX libplot doesn't support Cairo yet. */
-#endif
-}
-\f
/* Attempts to load FONT, initializing its other members based on
its 'string' member and the information in THIS. Returns true
if successful, otherwise false. */
xr_close_page,
NULL,
- xr_submit,
+ NULL,
+
+ NULL,
xr_line,
xr_text_metrics,
xr_text_draw,
-
- xr_chart_initialise,
- xr_chart_finalise
};