File: gcpBlendColor.3

package info (click to toggle)
libggigcp 1.0.1-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 2,580 kB
  • ctags: 497
  • sloc: sh: 9,172; ansic: 2,396; makefile: 176
file content (19 lines) | stat: -rw-r--r-- 603 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
.TH "gcpBlendColor" 3 "2005-07-30" "libggigcp-1.0.x" GGI
.SH NAME
\fBgcpBlendColor\fR : Color blending
.SH SYNOPSIS
.nb
.nf
#include <ggi/gcp.h>

gcp_pixel gcpBlendColor(ggi_visual_t vis,
                        const gcp_pixel *pix1, const gcp_pixel *pix2, 
                        uint16_t alpha);
.fi

.SH DESCRIPTION
\fBgcpBlendColor\fR blends \fIpix2\fR over \fIpix1\fR with the translucency \fIalpha\fR,
with \fIpix1\fR as the background, \fIpix2\fR the forground. \fIalpha\fR is a 16bit
translucency channel.
.SH RETURN VALUE
\fBgcpBlendColor\fR returns the resulting \f(CWgcp_pixel(3)\fR value.