File: Doc.rb

package info (click to toggle)
libtioga-ruby 1.8-1
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 9,956 kB
  • ctags: 3,257
  • sloc: ansic: 31,801; ruby: 16,346; sh: 172; makefile: 114
file content (91 lines) | stat: -rw-r--r-- 1,946 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
#  Doc.rb


=begin rdoc

:main: Tioga

===The tioga kernel

This is the reference document for using of the tioga kernel to create figures and plots using Ruby, PDF, and TeX.
Please understand that this is more like a dictionary than a textbook.  
It is written assuming that you've already familiarized yourself with how things work to the level covered in the Tutorial.  
Without that background, much of the following may be incomprehensible.



Page Layout and System Control

- Page_Frame_Bounds
- Figures_and_Plots
- Executive

Graphics

- ColorConstants
- Creating_Paths
- Using_Paths
- Strokes (Lines and Curves)
- Rectangles
- Arcs_and_Circles
- Special_Paths (Contours, Splines, Steps, Arrows, Error Bars)
- Colormaps
- Images (JPEGs and Sampled Data)
- Shading (Radial and Axial Blends)
- Transparency
- FigureConstants

Text

- MarkerConstants
- Markers
- TeX_Text

Extras for Plots

- Titles_and_Labels
- X_and_Y_Axes
- Legends
- Colorbars

Facilities for Storing Numeric Data

- Dobjects::Dvector
- Dobjects::Dtable

For more information on PDF, consult the Adode PDF Reference document.  
It's a huge collection of details (over 1000 pages at last count), and I've borrowed 
extensively from it in some of the following descriptions of methods that map directly to PDF operations.


=end


module Tioga
    
class FigureMaker

# :call-seq:
#               FigureMaker.default                         
#               FigureMaker.default = a_FigureMaker
#
# The default FigureMaker is typically the one to use.  Most tioga figure class definitions begin their
# initialization by storing this in an instance variable for easy access in the figure methods.
    def FigureMaker.default
    end

    def FigureMaker.default=(fm)
    end
    
# :call-seq:
#               FigureMaker.version
#
# Returns a string defining the current tioga version.
    def FigureMaker.version
    end

    
end # class FigureMaker

end # module Tioga