Sha256: fdfd6b58d265f5bf4e2252266b1255bebbc86deaf4fc262a19465bfc509bbcb2

Contents?: true

Size: 371 Bytes

Versions: 1

Compression:

Stored size: 371 Bytes

Contents

#ifndef PSD_NATIVE_COMPOSE
#define PSD_NATIVE_COMPOSE

typedef struct AlphaValues {
  int mix;
  int dst;
} AlphaValues;

VALUE psd_native_compose_normal(VALUE self, VALUE fg, VALUE bg, VALUE opts);
void calculate_alphas(uint32_t fg, uint32_t bg, VALUE *opts);
uint32_t calculate_opacity(VALUE *opts);
uint32_t blend_channel(uint32_t bg, uint32_t fg, uint32_t a);

#endif

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
psd_native-0.4.0 ext/psd_native/compose.h