Ignore:
Timestamp:
May 22, 2009, 3:22:57 PM (11 years ago)
Author:
Sam Hocevar
Message:

Fix import/export related stuff I forgot to update in the Ruby and PHP bindings.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/ruby/ruby-caca.dox

    r3473 r3511  
    5757"draw_line","draw_polyline", "draw_thin_box", "draw_thin_ellipse",
    5858"draw_thin_line","draw_thin_polyline", "draw_thin_triangle",
    59 "draw_triangle","export_memory", "fill_box", "fill_ellipse",
     59"draw_triangle","export_to_memory", "fill_box", "fill_ellipse",
    6060"fill_triangle","flip", "flop", "frame=", "frame_count", "frame_name",
    6161"frame_name=","free_frame", "get_attr", "get_char", "gotoxy",
    6262"handle_x","handle_y", "height", "height=", "import_file",
    63 "import_memory","invert", "printf", "put_attr", "put_char", "put_str",
     63"import_from_memory","invert", "printf", "put_attr", "put_char", "put_str",
    6464"rotate_180","rotate_left", "rotate_right", "set_attr",
    6565"set_boundaries","set_color_ansi", "set_color_argb", "set_frame",
     
    123123$ruby -rcaca -e 'c=Caca::Canvas.new(6, 3).fill_box(0,0,2,2,"#"[0]);
    124124c2=Caca::Canvas.new(1,1).put_str(0,0,"x"); c.blit(1,1,c2); puts
    125 c.export_memory("irc")'
     125c.export_to_memory("irc")'
    126126###
    127127#x#
     
    131131\code
    132132$ruby -e 'puts Caca::Canvas.new(6,3).draw_thin_polyline([[0,0], [0,2],
    133 [5,2],[0,0]]).export_memory("irc")'
     133[5,2],[0,0]]).export_to_memory("irc")'
    134134-.
    135135| `.
Note: See TracChangeset for help on using the changeset viewer.