Extended maintenance of Ruby versions 1.8.7 and 1.9.2 ended on July 31, 2014. Read more
# File tk/lib/tkextlib/tcllib/plotchart.rb, line 108
def self.coords_3D_to_pixel(w, x, y, z)
list(tk_call_without_enc('::Plotchart::coords3DToPixel', w.path, x, y, z))
end
# File tk/lib/tkextlib/tcllib/plotchart.rb, line 104
def self.coords_to_pixel(w, x, y)
list(tk_call_without_enc('::Plotchart::coordsToPixel', w.path, x, y))
end
# File tk/lib/tkextlib/tcllib/plotchart.rb, line 124
def self.determine_scale(w, xmax, ymax)
tk_call_without_enc('::Plotchart::determineScale', w.path, xmax, ymax)
end
# File tk/lib/tkextlib/tcllib/plotchart.rb, line 71
def self.package_name
PACKAGE_NAME
end
# File tk/lib/tkextlib/tcllib/plotchart.rb, line 75
def self.package_version
begin
TkPackage.require('Plotchart')
rescue
''
end
end
# File tk/lib/tkextlib/tcllib/plotchart.rb, line 120
def self.pixel_to_coords(w, x, y)
list(tk_call_without_enc('::Plotchart::coordsToPixel', w.path, x, y))
end
# File tk/lib/tkextlib/tcllib/plotchart.rb, line 112
def self.polar_coordinates(w, radmax)
tk_call_without_enc('::Plotchart::polarCoordinates', w.path, radmax)
end
# File tk/lib/tkextlib/tcllib/plotchart.rb, line 116
def self.polar_to_pixel(w, rad, phi)
list(tk_call_without_enc('::Plotchart::polarToPixel', w.path, rad, phi))
end
# File tk/lib/tkextlib/tcllib/plotchart.rb, line 128
def self.set_zoom_pan(w)
tk_call_without_enc('::Plotchart::setZoomPan', w.path)
end
# File tk/lib/tkextlib/tcllib/plotchart.rb, line 89
def self.view_port(w, *args) # args := pxmin, pymin, pxmax, pymax
tk_call_without_enc('::Plotchart::viewPort', w.path, *(args.flatten))
end