mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 03:40:39 +00:00
Cairo backend:
-DPSsetflat: and -DPScurrentflat should not have been transforming the flatness value with the current transformation matrix. The effect of this could be seen in the Apple BezierPathLab example; zooming in on the circle caused it to look more and more like a polygon. Also set NSBezierPath default flatness to 0.6 to match OS X (it was 1.0, which made circles look a bit rough) git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29145 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
34aba2af74
commit
872717bde5
2 changed files with 5 additions and 1 deletions
|
@ -51,7 +51,7 @@ static Class NSBezierPath_concrete_class = nil;
|
|||
|
||||
static NSWindingRule default_winding_rule = NSNonZeroWindingRule;
|
||||
static float default_line_width = 1.0;
|
||||
static float default_flatness = 1.0;
|
||||
static float default_flatness = 0.6;
|
||||
static NSLineJoinStyle default_line_join_style = NSMiterLineJoinStyle;
|
||||
static NSLineCapStyle default_line_cap_style = NSButtLineCapStyle;
|
||||
static float default_miter_limit = 10.0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue