Y_Step: constant Glib.GDouble := IMAGE_CHART_HEIGHT / 14.0;
begin
+ Cairo.Select_Font_Face(Ctx, "Cantarell", Cairo.CAIRO_FONT_SLANT_NORMAL, Cairo.CAIRO_FONT_WEIGHT_NORMAL);
Cairo.Set_Font_Size(Ctx, FONT_SIZE);
-- Draw background
Cairo.Set_Source_Rgb(Ctx, 1.0, 1.0, 1.0);
Cairo.Stroke(Ctx);
Cairo.Set_Source_Rgb(Ctx, 0.0, 0.0, 0.0);
Cairo.Move_To(Ctx, LEGEND_X_CALCD_COORD + LEGEND_MARK_TEXT_X_OFFSET, LEGEND_Y_TEXT_COORD);
- Cairo.Show_Text(Ctx, "Vypočtená odpoveď");
+ Cairo.Show_Text(Ctx, "Vypočtená odpověď");
Cairo.Stroke(Ctx);
-- Set line properties