Changeset 3067 for libpipi


Ignore:
Timestamp:
Oct 22, 2008, 2:03:00 AM (11 years ago)
Author:
Sam Hocevar
Message:

libpipi: duplicate the GDI codec in order to prepare the GDI+ one.

Location:
libpipi/trunk
Files:
1 added
4 edited

Legend:

Unmodified
Added
Removed
  • libpipi/trunk/pipi/Makefile.am

    r2968 r3067  
    113113endif
    114114
     115if USE_GDIPLUS
     116codec_libs += -lgdiplus
     117codec_sources += codec/gdiplus.cpp
     118endif
     119
    115120if USE_COCOA
    116121codec_objcflags = -I"/Developer//SDKs/MacOSX10.5.sdk/System/Library/Frameworks/QuartzCore.framework/Versions/A/Headers/"
  • libpipi/trunk/pipi/codec.c

    r3018 r3067  
    9999        ret = pipi_save_gdi(img, name);
    100100#endif
     101#if USE_GDIPLUS
     102    if(ret < 0)
     103        ret = pipi_save_gdiplus(img, name);
     104#endif
    101105#if USE_COCOA
    102106    if(ret < 0)
  • libpipi/trunk/pipi/libpipi.vcproj

    r2947 r3067  
    273273                        </File>
    274274                        <File
     275                                RelativePath=".\codec\gdiplus.cpp"
     276                                >
     277                        </File>
     278                        <File
    275279                                RelativePath=".\histogram\histogram.c"
    276280                                >
  • libpipi/trunk/win32/config.h

    r2908 r3067  
    4242/* #undef USE_IMLIB2 */
    4343#define USE_GDI 1
     44#define USE_GDIPLUS 1
    4445/* #undef USE_COCOA */
    4546/* #undef const */
Note: See TracChangeset for help on using the changeset viewer.