It's time to employ...The COMPRESSOR!

This commit is contained in:
XANTRONIX Development 2019-05-26 10:38:24 -05:00
parent 778cdac8e9
commit d4bf2f0604

View file

@ -56,6 +56,12 @@ static void draw_tachometer(cairo_t *cr,
double r) {
int i;
cairo_select_font_face(cr, "Helvetica",
CAIRO_FONT_SLANT_NORMAL,
CAIRO_FONT_WEIGHT_NORMAL);
cairo_set_font_size(cr, 24);
cairo_set_source_rgb(cr, 1, 1, 1);
cairo_arc(cr, x, y, r, 0, 360);
cairo_stroke(cr);
@ -130,15 +136,6 @@ static void draw_mfd(cairo_t *cr,
}
static void redraw(cairo_t *cr) {
/*
* Set up text
*/
cairo_select_font_face(cr, "Helvetica",
CAIRO_FONT_SLANT_NORMAL,
CAIRO_FONT_WEIGHT_NORMAL);
cairo_set_font_size(cr, 24);
/*
* Paint canvas black
*/