gal: cairo: don't forget about the color when drawing grid points...

This commit is contained in:
Tomasz Włostowski 2019-02-19 01:24:26 +01:00
parent f66baaed8c
commit 2151e195c7
1 changed files with 2 additions and 0 deletions

View File

@ -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 );