Ignore:
Timestamp:
May 21, 2009, 10:55:21 PM (11 years ago)
Author:
Sam Hocevar
Message:

Add caca_export_area_to_memory() to export only a selected part of the
current canvas. This is useful to export dirty rectangles. Accordingly,
add caca_import_area_from_memory() and caca_import_area_from_file().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/cxx/cxxtest.cpp

    r2824 r3495  
    6565        pig = new Canvas();
    6666        pig->setColorANSI(CACA_LIGHTMAGENTA, CACA_TRANSPARENT);
    67         pig->importMemory(pigstring, strlen(pigstring), "text");
     67        pig->importFromMemory(pigstring, strlen(pigstring), "text");
    6868    }
    6969    catch(int e) {
Note: See TracChangeset for help on using the changeset viewer.