[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #33765] (FLTK) linestyles not respected for pr
From: |
Ben Abbott |
Subject: |
[Octave-bug-tracker] [bug #33765] (FLTK) linestyles not respected for print |
Date: |
Fri, 17 Feb 2012 13:00:25 +0000 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_3) AppleWebKit/535.11 (KHTML, like Gecko) Chrome/17.0.963.56 Safari/535.11 |
Follow-up Comment #6, bug #33765 (project octave):
Looking at gl-render.cc
$ fgrep -in set_linestyle gl-render.cc
658: set_linestyle (gridstyle, true);
695: set_linestyle ("-", true);
892: set_linestyle ("-", true);
1414: set_linestyle ("-");
1448: set_linestyle (props.get_linestyle (), false);
1505: set_linestyle ("-");
1840: set_linestyle (props.get_linestyle (), false);
2011: set_linestyle ("-");
2315: set_linestyle (props.get_linestyle (), false);
2369: set_linestyle ("-");
2695:opengl_renderer::set_linestyle (const std::string& s, bool use_stipple)
The use_stipple booleans all look backwards to me. I expected something like
below.
658: set_linestyle (gridstyle, true);
695: set_linestyle ("-", false);
892: set_linestyle ("-", false);
1414: set_linestyle ("-", false);
1448: set_linestyle (props.get_linestyle (), true);
1505: set_linestyle ("-", false);
1840: set_linestyle (props.get_linestyle (), true);
2011: set_linestyle ("-", false);
2315: set_linestyle (props.get_linestyle (), true);
2369: set_linestyle ("-", false);
2695:opengl_renderer::set_linestyle (const std::string& s, bool use_stipple)
Note, that this part of the code is working correctly. What am I missing ?
Also, why not let opengl_renderer::set_linestyle() determine the value for
use_stipple ? Passing the boolean looks redundant to me.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?33765>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #33765] (FLTK) linestyles not respected for print, Ben Abbott, 2012/02/16
- [Octave-bug-tracker] [bug #33765] (FLTK) linestyles not respected for print, Ben Abbott, 2012/02/16
- [Octave-bug-tracker] [bug #33765] (FLTK) linestyles not respected for print, Rik, 2012/02/17
- [Octave-bug-tracker] [bug #33765] (FLTK) linestyles not respected for print,
Ben Abbott <=
- [Octave-bug-tracker] [bug #33765] (FLTK) linestyles not respected for print, Ben Abbott, 2012/02/17
- [Octave-bug-tracker] [bug #33765] (FLTK) linestyles not respected for print, Ben Abbott, 2012/02/17
- [Octave-bug-tracker] [bug #33765] (FLTK) linestyles not respected for print, Rik, 2012/02/17
- [Octave-bug-tracker] [bug #33765] (FLTK) linestyles not respected for print, Ben Abbott, 2012/02/17
- [Octave-bug-tracker] [bug #33765] (FLTK) linestyles not respected for print, Rik, 2012/02/17
- [Octave-bug-tracker] [bug #33765] (FLTK) linestyles not respected for print, Ben Abbott, 2012/02/17