# File lib/native_file_types/c64/C64GeosFont.rb, line 143 def draw_string(canvas,point_size,string,start_x,start_y,colour) x=start_x y=start_y string.each_byte do |b| c=b.chr width=char_width(point_size,c) if (x+width>=picture_width) then x=0 y+=point_size end draw_char(canvas,point_size,c,x,y,colour) x+=width end end