diff options
| author | Michael R Sweet <michael.r.sweet@gmail.com> | 2001-09-30 20:52:04 +0000 |
|---|---|---|
| committer | Michael R Sweet <michael.r.sweet@gmail.com> | 2001-09-30 20:52:04 +0000 |
| commit | 6cccb7bca146ae4ed0b5c9a8826663ba0f1719fd (patch) | |
| tree | 64dd1ded1260cbbfd0a14cd7b0704ad39a6b2610 | |
| parent | 2c61d60470b0583614437950066b2f63c4ac2782 (diff) | |
Revert line style change...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1626 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
| -rw-r--r-- | CHANGES | 3 | ||||
| -rw-r--r-- | src/fl_line_style.cxx | 5 |
2 files changed, 4 insertions, 4 deletions
@@ -12,9 +12,6 @@ CHANGES IN FLTK 1.1.0b3 - Now save and restore the GDI pen object when responding to WIN32 paint messages. - - fl_line_style() used different default cap and join - options for WIN32 and X11. - - Documentation updates from A. Suatoni. diff --git a/src/fl_line_style.cxx b/src/fl_line_style.cxx index a9a5a5d83..65993abe1 100644 --- a/src/fl_line_style.cxx +++ b/src/fl_line_style.cxx @@ -7,8 +7,11 @@ void fl_line_style(int style, int width, char* dashes) { #ifdef WIN32 + // According to Bill, the "default" cap and join should be the + // "fastest" mode supported for the platform. I don't know why + // they should be different (same graphics cards, etc., right?) MRS static DWORD Cap[4]= {PS_ENDCAP_FLAT, PS_ENDCAP_FLAT, PS_ENDCAP_ROUND, PS_ENDCAP_SQUARE}; - static DWORD Join[4]={PS_JOIN_MITER, PS_JOIN_MITER, PS_JOIN_ROUND, PS_JOIN_BEVEL}; + static DWORD Join[4]={PS_JOIN_ROUND, PS_JOIN_MITER, PS_JOIN_ROUND, PS_JOIN_BEVEL}; int s1 = PS_GEOMETRIC | Cap[(style>>8)&3] | Join[(style>>12)&3]; DWORD a[16]; int n = 0; if (dashes && dashes[0]) { |
