From 2151e195c7c8177ad6d5839c50ba16a0a0630e9e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20W=C5=82ostowski?= Date: Tue, 19 Feb 2019 01:24:26 +0100 Subject: [PATCH] gal: cairo: don't forget about the color when drawing grid points... --- common/gal/cairo/cairo_gal.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/common/gal/cairo/cairo_gal.cpp b/common/gal/cairo/cairo_gal.cpp index 0bc4168954..fbefb1b6cf 100644 --- a/common/gal/cairo/cairo_gal.cpp +++ b/common/gal/cairo/cairo_gal.cpp @@ -890,6 +890,8 @@ void CAIRO_GAL_BASE::drawGridPoint( const VECTOR2D& aPoint, double aSize ) p += VECTOR2D( 0.5, 0.5 ); } + cairo_set_source_rgba( currentContext, strokeColor.r, strokeColor.g, strokeColor.b, strokeColor.a ); + cairo_set_line_join( currentContext, CAIRO_LINE_JOIN_MITER ); cairo_set_line_cap( currentContext, CAIRO_LINE_CAP_BUTT ); cairo_set_line_width( currentContext, 1.0 );