From d9a2b6f1ca1b208b880c10998fd7a820dbc31976 Mon Sep 17 00:00:00 2001 From: Bob Polis Date: Sat, 24 Oct 2020 23:30:15 +0200 Subject: [PATCH] made some variations on the text appearance --- main.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/main.cpp b/main.cpp index 8da4191..50b802b 100644 --- a/main.cpp +++ b/main.cpp @@ -49,10 +49,10 @@ void draw(sc::gui::Window& window) { cairo_fill(cr); // light blue text - cairo_set_source_rgb(cr, 0, 0.5, 1); - cairo_select_font_face(cr, "Optima", CAIRO_FONT_SLANT_NORMAL, CAIRO_FONT_WEIGHT_BOLD); + cairo_set_source_rgb(cr, 0.2, 0.5, 0); + cairo_select_font_face(cr, "Helvetica", CAIRO_FONT_SLANT_NORMAL, CAIRO_FONT_WEIGHT_BOLD); cairo_set_font_size(cr, 42); - cairo_move_to(cr, 350, 150); + cairo_move_to(cr, 100, 150); cairo_show_text(cr, "Cairo on SDL"); // show