[Gridflow-cvs] [svn] commit: r3532 - /trunk/base/flow_objects.rb

gridflow-cvs at artengine.ca gridflow-cvs at artengine.ca
Tue Apr 15 21:51:04 EDT 2008


Author: matju
Date: Tue Apr 15 21:51:04 2008
New Revision: 3532

Log:
remove old [plotter_control]

Modified:
    trunk/base/flow_objects.rb

Modified: trunk/base/flow_objects.rb
==============================================================================
--- trunk/base/flow_objects.rb (original)
+++ trunk/base/flow_objects.rb Tue Apr 15 21:51:04 2008
@@ -23,23 +23,4 @@
 module GridFlow
 GridFlow = ::GridFlow # ruby is nuts... sometimes
 
-# plotter control (HPGL)
-FObject.subclass("plotter_control",1,1) {
-  def puts(x)
-    x << "\n"
-    x.each_byte {|b| send_out 0, b }
-    send_out 0
-  end
-  def _0_pu; puts "PU;" end
-  def _0_pd; puts "PD;" end
-  def _0_pa x,y; puts "PA#{x},#{y};" end
-  def _0_sp c; puts "SP#{c};"; end
-  def _0_ip(*v) puts "IP#{v.join','};" end
-  def _0_other(command,*v) puts "#{command.to_s.upcase}#{v.join','};" end
-  def _0_print(*text) puts "LB#{text.join(' ')}\003;" end
-  def _0_print_from_ascii(*codes)
-    _0_print codes.map{|code| code.to_i.chr }.join("")
-  end
-}
-
 end # module GridFlow



More information about the Gridflow-cvs mailing list