~ubuntu-branches/ubuntu/utopic/ctioga2/utopic

« back to all changes in this revision

Viewing changes to lib/ctioga2/graphics/types.rb

  • Committer: Package Import Robot
  • Author(s): Vincent Fourmond
  • Date: 2013-12-27 21:04:22 UTC
  • mfrom: (1.1.5)
  • Revision ID: package-import@ubuntu.com-20131227210422-a3f0c7alorq6lwq2
Tags: 0.8-1
* New upstream release
* Updated URLs and debian/watch to follow its new location
* Already conforms to standards 3.9.5
* Finally updated VCS URLS

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
# This module contains all the classes used by ctioga
27
27
module CTioga2
28
28
 
29
 
  Version::register_svn_info('$Revision: 523 $', '$Date: 2013-09-22 15:31:16 +0200 (Sun, 22 Sep 2013) $')
30
 
 
31
29
  module Graphics
32
30
 
33
31
    # A small convenience module for line styles
96
94
                      /no(ne)?|off/i => false,
97
95
                    }
98
96
                  }, <<EOD)
99
 
A line style, or @no@, @none@ or @off@ to mean no line.
 
97
A line style, which is one of @solid@, @dots@, @dashes@, @small_dots@,
 
98
a series of comma-separated numbers which are the length of the
 
99
strokes and gaps, or @no@, @none@ or @off@ to mean no line.
100
100
EOD
101
101
 
102
102
    MarkerType = 
109
109
                      'none' => 'None',
110
110
                      'off' => 'None', 
111
111
                    },}, <<EOD)
112
 
A Tioga Marker.
 
112
A Tioga Marker, ie either a name from the list at {url:
 
113
http://tioga.rubyforge.org/doc/Tioga/MarkerConstants.html}, such as
 
114
@Box@, @Star@, @Spade@ or two or three comma-separated numbers,
 
115
_font_, _number_ and _width_. _font_ defines the font (standard PDF
 
116
fonts, from 1 to 14), _number_ the number of the character within the
 
117
font (between 0 and 255), and if _width_ is specified, the marker is
 
118
stroked and not filled, and the number is the line width for the
 
119
stroke.
113
120
EOD
114
121
 
115
122
    PointType =