octave-bug-tracker
[Top][All Lists]
Advanced

[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 02:09:17 +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

Update of bug #33765 (project octave):

              Item Group:                    None => Incorrect Result       
        Operating System:               GNU/Linux => Any                    

    _______________________________________________________

Follow-up Comment #3:

This problem looks to have a straight forward solution.

Looking at the link below (search on "Stippled Lines")

http://fly.cc.fer.hr/~unreal/theredbook/chapter02.html

Dashed, dotted, and dash/dot/dash lines may be produced on screen by,


glLineStipple (1, 0x00FF);   /*  dashed   */



glLineStipple (1, 0x0101);   /*  dotted   */



glLineStipple (1, 0x1C47);   /*  dash/dot/dash   */


The Tips & Tricks of gl2ps (http://geuz.org/gl2ps/#tth_sEc4) mentions


gl2psEnable(GL2PS_LINE_STIPPLE) uses the current values of the OpenGL
stippling options to compute the stippling pattern and repetition factor. You
thus need to call gl2psEnable(GL2PS_LINE_STIPPLE) after calling
glLineStipple(factor, pattern).


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?33765>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]