Changeset 1346


Ignore:
Timestamp:
Nov 11, 2006, 4:38:40 PM (14 years ago)
Author:
Sam Hocevar
Message:
  • Made cucul_blit() handle-aware. Added a blit test for that.
Location:
libcaca/trunk
Files:
1 added
2 edited

Legend:

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

    r1342 r1346  
    391391    }
    392392
     393    x -= src->frames[src->frame].handlex;
     394    y -= src->frames[src->frame].handley;
     395
    393396    starti = x < 0 ? -x : 0;
    394397    startj = y < 0 ? -y : 0;
  • libcaca/trunk/test/Makefile.am

    r1216 r1346  
    33AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/cucul -I$(top_srcdir)/caca -DDATADIR=\"$(pkgdatadir)\"
    44
    5 noinst_PROGRAMS = colors demo demo0 dithering event export font frames fullwidth gamma hsv input spritedit font2tga text transform truecolor unicode import
     5noinst_PROGRAMS = blit colors demo demo0 dithering event export font frames fullwidth gamma hsv input spritedit font2tga text transform truecolor unicode import
     6
     7blit_SOURCES = blit.c
     8blit_LDADD = ../caca/libcaca.la ../cucul/libcucul.la
    69
    710colors_SOURCES = colors.c
Note: See TracChangeset for help on using the changeset viewer.