File: SWFGradient_addEntry.3

package info (click to toggle)
ming 1%3A0.4.4-1.1
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 27,252 kB
  • sloc: ansic: 55,741; sh: 10,021; cpp: 3,879; python: 2,954; yacc: 2,817; makefile: 2,232; perl: 1,532; php: 882; tcl: 13
file content (59 lines) | stat: -rw-r--r-- 1,047 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
.\" WARNING! THIS FILE WAS GENERATED AUTOMATICALLY BY c2man!
.\" DO NOT EDIT! CHANGES MADE TO THIS FILE WILL BE LOST!
.TH "SWFGradient_addEntry" 3 "5 October 2008" "c2man gradient.c"
.SH "NAME"
SWFGradient_addEntry \- add a gradient control point
.SH "SYNOPSIS"
.ft B
#include <ming.h>
.br
.sp
void SWFGradient_addEntry
.br
(
.br
	SWFGradient gradient,
.br
	float ratio,
.br
	byte r,
.br
	byte g,
.br
	byte b,
.br
	byte a
.br
);
.ft R
.SH "PARAMETERS"
.TP
.B "SWFGradient gradient"
Not Documented.
.TP
.B "float ratio"
Not Documented.
.TP
.B "byte r"
Not Documented.
.TP
.B "byte g"
Not Documented.
.TP
.B "byte b"
Not Documented.
.TP
.B "byte a"
Not Documented.
.SH "DESCRIPTION"
The ratio defines the position of the control point
and RGBA defines its color.
SWF <= 7 allows up to 8 control points
SWF >= 8 allows up to 15 control points

The ration parameter is a float and must be in a range
between [0.0 ... 1.0].

In order to use SWF8 gradient features you need to set
SWFShapes version to SWF_SHAPE4. Use SWFShape_useVersion()
and friends.