File: newSWFLineStyle2_filled.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 (73 lines) | stat: -rw-r--r-- 1,809 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
.\" WARNING! THIS FILE WAS GENERATED AUTOMATICALLY BY c2man!
.\" DO NOT EDIT! CHANGES MADE TO THIS FILE WILL BE LOST!
.TH "newSWFLineStyle2_filled" 3 "14 February 2008" "c2man linestyle.c"
.SH "NAME"
newSWFLineStyle2_filled \- create Linestyle2 introduce with SWF 8.
.SH "SYNOPSIS"
.ft B
#include <ming.h>
.br
.sp
SWFLineStyle newSWFLineStyle2_filled
.br
(
.br
	unsigned short width,
.br
	SWFFillStyle fill,
.br
	int flags,
.br
	float miterLimit
.br
);
.ft R
.SH "PARAMETERS"
.TP
.B "unsigned short width"
Not Documented.
.TP
.B "SWFFillStyle fill"
Not Documented.
.TP
.B "int flags"
Not Documented.
.TP
.B "float miterLimit"
Not Documented.
.SH "DESCRIPTION"
Instead of providing a fill color, a FillStyle can be applied
to a line.
.SH "LINESTYLE2 ALSO EXTENDS LINESTYLE1 WITH SOME EXTRA FLAGS"
Line cap style: select one of the following flags (default is round cap style)
SWF_LINESTYLE_CAP_ROUND
SWF_LINESTYLE_CAP_NONE
SWF_LINESTYLE_CAP_SQUARE

Line join style: select one of the following flags (default is round join style)
SWF_LINESTYLE_JOIN_ROUND
SWF_LINESTYLE_JOIN_BEVEL
SWF_LINESTYLE_JOIN_MITER

Scaling flags: disable horizontal / vertical scaling
SWF_LINESTYLE_FLAG_NOHSCALE
SWF_LINESTYLE_FLAG_NOVSCALE

Enable pixel hinting to correct blurry vertical / horizontal lines
.br
-> All anchors will be aligned to full pixels
SWF_LINESTYLE_FLAG_HINTING

Disable stroke closure: if no-close flag is set caps will be applied
instead of joins
SWF_LINESTYLE_FLAG_NOCLOSE

End-cap style: default round
SWF_LINESTYLE_FLAG_ENDCAP_ROUND
SWF_LINESTYLE_FLAG_ENDCAP_NONE
SWF_LINESTYLE_FLAG_ENDCAP_SQUARE

If join style is SWF_LINESTYLE_JOIN_MITER a miter limit factor
must be set. Miter max length is then calculated as:
max miter len = miter limit * width.
If join style is not miter, this value will be ignored.