gcpBlendColor(3)

gcpBlendColor3

Color blending

Usage

#include <ggi/gcp.h>
gcp_pixel gcpBlendColor(ggi_visual_t vis,
                        const gcp_pixel *pix1, const gcp_pixel *pix2, 
                        uint16_t alpha);

Overview

gcpBlendColor blends pix2 over pix1 with the translucency alpha, with pix1 as the background, pix2 the forground. alpha is a 16bit translucency channel.

Return value

gcpBlendColor returns the resulting gcp_pixel(3) value.

Releases

3 releases since Debian 4.0 (Etch); the text changed 1 time.

  1. 4.0
  2. 5.0–6.0

From libggigcp1-dev 1.0.2+dfsg1-2 in Debian 6.0 (Squeeze). Parsed by carta from the page's man source.