Browse Source

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

pull/13/head
Tomasz Włostowski 7 years ago
parent
commit
2151e195c7
  1. 2
      common/gal/cairo/cairo_gal.cpp

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

Loading…
Cancel
Save