Ignore:
Timestamp:
Apr 18, 2006, 5:54:33 PM (14 years ago)
Author:
Sam Hocevar
Message:
  • Renamed main canvas-related functions so that they have "canvas" in their name, eg. cucul_create() -> cucul_create_canvas() etc.
  • Moved buffer-related functions to cucul/buffer.c.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/cucul/export.c

    r811 r813  
    615615    f = cucul_load_font(fontlist[0], 0);
    616616
    617     w = cucul_get_width(cv) * cucul_get_font_width(f);
    618     h = cucul_get_height(cv) * cucul_get_font_height(f);
     617    w = cucul_get_canvas_width(cv) * cucul_get_font_width(f);
     618    h = cucul_get_canvas_height(cv) * cucul_get_font_height(f);
    619619
    620620    ex->size = w * h * 4 + 18; /* 32 bpp + 18 bytes for the header */
Note: See TracChangeset for help on using the changeset viewer.