1
# carrays.rb: 'circular arrays'
2
# copyright (c) 2009 by Vincent Fourmond
4
# This program is free software; you can redistribute it and/or modify
5
# it under the terms of the GNU General Public License as published by
6
# the Free Software Foundation; either version 2 of the License, or
7
# (at your option) any later version.
9
# This program is distributed in the hope that it will be useful,
10
# but WITHOUT ANY WARRANTY; without even the implied warranty of
11
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
# GNU General Public License for more details (in the COPYING file).
14
require 'ctioga2/utils'
17
# This module contains all the classes used by ctioga
20
Version::register_svn_info('$Revision: 161 $', '$Date: 2010-08-03 12:07:49 +0200 (Tue, 03 Aug 2010) $')
26
# Various arrays and hashes suitable for use with CircularArray and
29
include Tioga::FigureConstants
33
[Red, Green, Blue, Cyan, Magenta, Orange],
35
[MediumSeaGreen, RoyalBlue, Pumpkin, DarkChocolate, Lilac, Crimson],
37
[BrightBlue, Goldenrod, Coral, Lilac, FireBrick, RoyalPurple],
39
[DarkMagenta, DarkGreen, OrangeRed, DarkRed, DarkBlue ],
41
[LightPlum, PaleGreen, Gold, RedBrown, SkyBlue ],
47
[Bullet, TriangleUp, Square, Plus, Times],
49
[BulletOpen, TriangleUpOpen, SquareOpen, PlusOpen, TimesOpen],
65
'default' => [ LineStyles::Solid,
68
LineStyles::Small_Dots,
69
LineStyles::Dot_Long_Dash,
70
LineStyles::Dash_Dot_Dot ]