Sha256: a0d7fe89b9c07fcff7f407abb07814c1e2a2da118a0c339308440559b4479557
Contents?: true
Size: 616 Bytes
Versions: 1
Compression:
Stored size: 616 Bytes
Contents
#ifndef PSD_NATIVE_EXT #define PSD_NATIVE_EXT #include "ruby.h" #define RSTRING_NOT_MODIFIED // Pixels use 32 bits unsigned integers // We borrow this from OilyPNG typedef uint32_t PIXEL; #define BUILD_PIXEL(r, g, b, a) (((PIXEL) (r) << 24) + ((PIXEL) (g) << 16) + ((PIXEL) (b) << 8) + (PIXEL) (a)) // Our native mixins #include "image_mode_rgb.h" #include "image_mode_cmyk.h" #include "image_mode_greyscale.h" #include "rle_decoding.h" #include "color.h" void Init_psd_native(); VALUE psd_class(); void psd_logger(char* level, char* message); VALUE psd_file(VALUE self); int psd_file_tell(VALUE self); #endif
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
psd_native-0.3.1 | ext/psd_native/psd_native_ext.h |