author | William Roberts <williamr@symbian.org> |
Thu, 18 Nov 2010 15:45:28 +0000 | |
changeset 138 | 6028e81d48fd |
parent 69 | 1911c0fa3c76 |
permissions | -rw-r--r-- |
68
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
1 |
/* |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
2 |
* Copyright (c) 2009 Symbian Foundation Ltd |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
3 |
* This component and the accompanying materials are made available |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
4 |
* under the terms of the License "Eclipse Public License v1.0" |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
5 |
* which accompanies this distribution, and is available |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
6 |
* at the URL "http://www.eclipse.org/legal/epl-v10.html". |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
7 |
* |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
8 |
* Initial Contributors: |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
9 |
* Symbian Foundation Ltd - initial contribution. |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
10 |
* |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
11 |
* Contributors: |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
12 |
* |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
13 |
* Description: |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
14 |
* Implementation of OpenVG interface |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
15 |
*/ |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
16 |
#include <openvg.h> |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
17 |
#include "openvginternal.h" |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
18 |
|
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
19 |
extern "C" { |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
20 |
|
69
1911c0fa3c76
Add __SOFTFP decorators to OpenVG APIs in line with header file. This allows us to build as softvfp or vfpv2.
markw <markw@symbian.org>
parents:
68
diff
changeset
|
21 |
EXPORT_C VGErrorCode vgGetError(void) __SOFTFP |
68
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
22 |
{ |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
23 |
return do_vgGetError(); |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
24 |
} |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
25 |
|
69
1911c0fa3c76
Add __SOFTFP decorators to OpenVG APIs in line with header file. This allows us to build as softvfp or vfpv2.
markw <markw@symbian.org>
parents:
68
diff
changeset
|
26 |
EXPORT_C void vgFlush(void) __SOFTFP |
68
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
27 |
{ |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
28 |
return do_vgFlush(); |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
29 |
} |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
30 |
|
69
1911c0fa3c76
Add __SOFTFP decorators to OpenVG APIs in line with header file. This allows us to build as softvfp or vfpv2.
markw <markw@symbian.org>
parents:
68
diff
changeset
|
31 |
EXPORT_C void vgFinish(void) __SOFTFP |
68
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
32 |
{ |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
33 |
return do_vgFinish(); |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
34 |
} |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
35 |
|
69
1911c0fa3c76
Add __SOFTFP decorators to OpenVG APIs in line with header file. This allows us to build as softvfp or vfpv2.
markw <markw@symbian.org>
parents:
68
diff
changeset
|
36 |
EXPORT_C void vgSetf (VGParamType type, VGfloat value) __SOFTFP |
68
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
37 |
{ |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
38 |
return do_vgSetf(type,value); |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
39 |
} |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
40 |
|
69
1911c0fa3c76
Add __SOFTFP decorators to OpenVG APIs in line with header file. This allows us to build as softvfp or vfpv2.
markw <markw@symbian.org>
parents:
68
diff
changeset
|
41 |
EXPORT_C void vgSeti (VGParamType type, VGint value) __SOFTFP |
68
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
42 |
{ |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
43 |
return do_vgSeti(type,value); |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
44 |
} |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
45 |
|
69
1911c0fa3c76
Add __SOFTFP decorators to OpenVG APIs in line with header file. This allows us to build as softvfp or vfpv2.
markw <markw@symbian.org>
parents:
68
diff
changeset
|
46 |
EXPORT_C void vgSetfv(VGParamType type, VGint count ,const VGfloat* values) __SOFTFP |
68
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
47 |
{ |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
48 |
return do_vgSetfv(type,count,values); |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
49 |
} |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
50 |
|
69
1911c0fa3c76
Add __SOFTFP decorators to OpenVG APIs in line with header file. This allows us to build as softvfp or vfpv2.
markw <markw@symbian.org>
parents:
68
diff
changeset
|
51 |
EXPORT_C void vgSetiv(VGParamType type, VGint count ,const VGint* values) __SOFTFP |
68
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
52 |
{ |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
53 |
return do_vgSetiv(type,count,values); |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
54 |
} |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
55 |
|
69
1911c0fa3c76
Add __SOFTFP decorators to OpenVG APIs in line with header file. This allows us to build as softvfp or vfpv2.
markw <markw@symbian.org>
parents:
68
diff
changeset
|
56 |
EXPORT_C VGfloat vgGetf(VGParamType type) __SOFTFP |
68
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
57 |
{ |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
58 |
return do_vgGetf(type); |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
59 |
} |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
60 |
|
69
1911c0fa3c76
Add __SOFTFP decorators to OpenVG APIs in line with header file. This allows us to build as softvfp or vfpv2.
markw <markw@symbian.org>
parents:
68
diff
changeset
|
61 |
EXPORT_C VGint vgGeti(VGParamType type) __SOFTFP |
68
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
62 |
{ |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
63 |
return do_vgGeti(type); |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
64 |
} |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
65 |
|
69
1911c0fa3c76
Add __SOFTFP decorators to OpenVG APIs in line with header file. This allows us to build as softvfp or vfpv2.
markw <markw@symbian.org>
parents:
68
diff
changeset
|
66 |
EXPORT_C VGint vgGetVectorSize(VGParamType type) __SOFTFP |
68
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
67 |
{ |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
68 |
return do_vgGetVectorSize(type); |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
69 |
} |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
70 |
|
69
1911c0fa3c76
Add __SOFTFP decorators to OpenVG APIs in line with header file. This allows us to build as softvfp or vfpv2.
markw <markw@symbian.org>
parents:
68
diff
changeset
|
71 |
EXPORT_C void vgGetfv(VGParamType type, VGint count ,VGfloat* values) __SOFTFP |
68
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
72 |
{ |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
73 |
return do_vgGetfv(type,count,values); |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
74 |
} |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
75 |
|
69
1911c0fa3c76
Add __SOFTFP decorators to OpenVG APIs in line with header file. This allows us to build as softvfp or vfpv2.
markw <markw@symbian.org>
parents:
68
diff
changeset
|
76 |
EXPORT_C void vgGetiv(VGParamType type, VGint count ,VGint* values) __SOFTFP |
68
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
77 |
{ |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
78 |
return do_vgGetiv(type,count,values); |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
79 |
} |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
80 |
|
69
1911c0fa3c76
Add __SOFTFP decorators to OpenVG APIs in line with header file. This allows us to build as softvfp or vfpv2.
markw <markw@symbian.org>
parents:
68
diff
changeset
|
81 |
EXPORT_C void vgSetParameterf(VGHandle object ,VGint paramType ,VGfloat value) __SOFTFP |
68
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
82 |
{ |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
83 |
return do_vgSetParameterf(object,paramType,value); |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
84 |
} |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
85 |
|
69
1911c0fa3c76
Add __SOFTFP decorators to OpenVG APIs in line with header file. This allows us to build as softvfp or vfpv2.
markw <markw@symbian.org>
parents:
68
diff
changeset
|
86 |
EXPORT_C void vgSetParameteri(VGHandle object ,VGint paramType ,VGint value) __SOFTFP |
68
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
87 |
{ |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
88 |
return do_vgSetParameteri(object,paramType,value); |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
89 |
} |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
90 |
|
69
1911c0fa3c76
Add __SOFTFP decorators to OpenVG APIs in line with header file. This allows us to build as softvfp or vfpv2.
markw <markw@symbian.org>
parents:
68
diff
changeset
|
91 |
EXPORT_C void vgSetParameterfv(VGHandle object ,VGint paramType ,VGint count ,const VGfloat* values) __SOFTFP |
68
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
92 |
{ |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
93 |
return do_vgSetParameterfv(object,paramType,count,values); |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
94 |
} |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
95 |
|
69
1911c0fa3c76
Add __SOFTFP decorators to OpenVG APIs in line with header file. This allows us to build as softvfp or vfpv2.
markw <markw@symbian.org>
parents:
68
diff
changeset
|
96 |
EXPORT_C void vgSetParameteriv(VGHandle object ,VGint paramType ,VGint count ,const VGint* values) __SOFTFP |
68
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
97 |
{ |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
98 |
return do_vgSetParameteriv(object,paramType,count,values); |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
99 |
} |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
100 |
|
69
1911c0fa3c76
Add __SOFTFP decorators to OpenVG APIs in line with header file. This allows us to build as softvfp or vfpv2.
markw <markw@symbian.org>
parents:
68
diff
changeset
|
101 |
EXPORT_C VGfloat vgGetParameterf(VGHandle object ,VGint paramType) __SOFTFP |
68
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
102 |
{ |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
103 |
return do_vgGetParameterf(object,paramType); |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
104 |
} |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
105 |
|
69
1911c0fa3c76
Add __SOFTFP decorators to OpenVG APIs in line with header file. This allows us to build as softvfp or vfpv2.
markw <markw@symbian.org>
parents:
68
diff
changeset
|
106 |
EXPORT_C VGint vgGetParameteri(VGHandle object ,VGint paramType) __SOFTFP |
68
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
107 |
{ |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
108 |
return do_vgGetParameteri(object,paramType); |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
109 |
} |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
110 |
|
69
1911c0fa3c76
Add __SOFTFP decorators to OpenVG APIs in line with header file. This allows us to build as softvfp or vfpv2.
markw <markw@symbian.org>
parents:
68
diff
changeset
|
111 |
EXPORT_C VGint vgGetParameterVectorSize(VGHandle object ,VGint paramType) __SOFTFP |
68
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
112 |
{ |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
113 |
return do_vgGetParameterVectorSize(object,paramType); |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
114 |
} |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
115 |
|
69
1911c0fa3c76
Add __SOFTFP decorators to OpenVG APIs in line with header file. This allows us to build as softvfp or vfpv2.
markw <markw@symbian.org>
parents:
68
diff
changeset
|
116 |
EXPORT_C void vgGetParameterfv(VGHandle object ,VGint paramType ,VGint count ,VGfloat* values) __SOFTFP |
68
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
117 |
{ |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
118 |
return do_vgGetParameterfv(object,paramType,count,values); |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
119 |
} |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
120 |
|
69
1911c0fa3c76
Add __SOFTFP decorators to OpenVG APIs in line with header file. This allows us to build as softvfp or vfpv2.
markw <markw@symbian.org>
parents:
68
diff
changeset
|
121 |
EXPORT_C void vgGetParameteriv(VGHandle object ,VGint paramType ,VGint count ,VGint* values) __SOFTFP |
68
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
122 |
{ |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
123 |
return do_vgGetParameteriv(object,paramType,count,values); |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
124 |
} |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
125 |
|
69
1911c0fa3c76
Add __SOFTFP decorators to OpenVG APIs in line with header file. This allows us to build as softvfp or vfpv2.
markw <markw@symbian.org>
parents:
68
diff
changeset
|
126 |
EXPORT_C void vgLoadIdentity(void) __SOFTFP |
68
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
127 |
{ |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
128 |
return do_vgLoadIdentity(); |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
129 |
} |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
130 |
|
69
1911c0fa3c76
Add __SOFTFP decorators to OpenVG APIs in line with header file. This allows us to build as softvfp or vfpv2.
markw <markw@symbian.org>
parents:
68
diff
changeset
|
131 |
EXPORT_C void vgLoadMatrix(const VGfloat* m) __SOFTFP |
68
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
132 |
{ |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
133 |
return do_vgLoadMatrix(m); |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
134 |
} |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
135 |
|
69
1911c0fa3c76
Add __SOFTFP decorators to OpenVG APIs in line with header file. This allows us to build as softvfp or vfpv2.
markw <markw@symbian.org>
parents:
68
diff
changeset
|
136 |
EXPORT_C void vgGetMatrix(VGfloat* m) __SOFTFP |
68
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
137 |
{ |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
138 |
return do_vgGetMatrix(m); |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
139 |
} |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
140 |
|
69
1911c0fa3c76
Add __SOFTFP decorators to OpenVG APIs in line with header file. This allows us to build as softvfp or vfpv2.
markw <markw@symbian.org>
parents:
68
diff
changeset
|
141 |
EXPORT_C void vgMultMatrix(const VGfloat* m) __SOFTFP |
68
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
142 |
{ |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
143 |
return do_vgMultMatrix(m); |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
144 |
} |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
145 |
|
69
1911c0fa3c76
Add __SOFTFP decorators to OpenVG APIs in line with header file. This allows us to build as softvfp or vfpv2.
markw <markw@symbian.org>
parents:
68
diff
changeset
|
146 |
EXPORT_C void vgTranslate(VGfloat tx, VGfloat ty) __SOFTFP |
68
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
147 |
{ |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
148 |
return do_vgTranslate(tx,ty); |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
149 |
} |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
150 |
|
69
1911c0fa3c76
Add __SOFTFP decorators to OpenVG APIs in line with header file. This allows us to build as softvfp or vfpv2.
markw <markw@symbian.org>
parents:
68
diff
changeset
|
151 |
EXPORT_C void vgScale(VGfloat sx, VGfloat sy) __SOFTFP |
68
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
152 |
{ |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
153 |
return do_vgScale(sx,sy); |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
154 |
} |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
155 |
|
69
1911c0fa3c76
Add __SOFTFP decorators to OpenVG APIs in line with header file. This allows us to build as softvfp or vfpv2.
markw <markw@symbian.org>
parents:
68
diff
changeset
|
156 |
EXPORT_C void vgShear(VGfloat shx, VGfloat shy) __SOFTFP |
68
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
157 |
{ |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
158 |
return do_vgShear(shx,shy); |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
159 |
} |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
160 |
|
69
1911c0fa3c76
Add __SOFTFP decorators to OpenVG APIs in line with header file. This allows us to build as softvfp or vfpv2.
markw <markw@symbian.org>
parents:
68
diff
changeset
|
161 |
EXPORT_C void vgRotate(VGfloat angle) __SOFTFP |
68
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
162 |
{ |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
163 |
return do_vgRotate(angle); |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
164 |
} |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
165 |
|
69
1911c0fa3c76
Add __SOFTFP decorators to OpenVG APIs in line with header file. This allows us to build as softvfp or vfpv2.
markw <markw@symbian.org>
parents:
68
diff
changeset
|
166 |
EXPORT_C void vgMask(VGHandle mask, VGMaskOperation operation ,VGint x, VGint y ,VGint width, VGint height) __SOFTFP |
68
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
167 |
{ |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
168 |
return do_vgMask(mask,operation,x,y,width,height); |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
169 |
} |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
170 |
|
69
1911c0fa3c76
Add __SOFTFP decorators to OpenVG APIs in line with header file. This allows us to build as softvfp or vfpv2.
markw <markw@symbian.org>
parents:
68
diff
changeset
|
171 |
EXPORT_C void vgRenderToMask(VGPath path ,VGbitfield paintModes ,VGMaskOperation operation) __SOFTFP |
68
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
172 |
{ |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
173 |
return do_vgRenderToMask(path,paintModes,operation); |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
174 |
} |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
175 |
|
69
1911c0fa3c76
Add __SOFTFP decorators to OpenVG APIs in line with header file. This allows us to build as softvfp or vfpv2.
markw <markw@symbian.org>
parents:
68
diff
changeset
|
176 |
EXPORT_C VGMaskLayer vgCreateMaskLayer(VGint width, VGint height) __SOFTFP |
68
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
177 |
{ |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
178 |
return do_vgCreateMaskLayer(width,height); |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
179 |
} |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
180 |
|
69
1911c0fa3c76
Add __SOFTFP decorators to OpenVG APIs in line with header file. This allows us to build as softvfp or vfpv2.
markw <markw@symbian.org>
parents:
68
diff
changeset
|
181 |
EXPORT_C void vgDestroyMaskLayer(VGMaskLayer maskLayer) __SOFTFP |
68
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
182 |
{ |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
183 |
return do_vgDestroyMaskLayer(maskLayer); |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
184 |
} |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
185 |
|
69
1911c0fa3c76
Add __SOFTFP decorators to OpenVG APIs in line with header file. This allows us to build as softvfp or vfpv2.
markw <markw@symbian.org>
parents:
68
diff
changeset
|
186 |
EXPORT_C void vgFillMaskLayer(VGMaskLayer maskLayer ,VGint x, VGint y ,VGint width, VGint height ,VGfloat value) __SOFTFP |
68
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
187 |
{ |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
188 |
return do_vgFillMaskLayer(maskLayer,x,y,width,height,value); |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
189 |
} |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
190 |
|
69
1911c0fa3c76
Add __SOFTFP decorators to OpenVG APIs in line with header file. This allows us to build as softvfp or vfpv2.
markw <markw@symbian.org>
parents:
68
diff
changeset
|
191 |
EXPORT_C void vgCopyMask(VGMaskLayer maskLayer ,VGint sx, VGint sy ,VGint dx, VGint dy ,VGint width, VGint height) __SOFTFP |
68
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
192 |
{ |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
193 |
return do_vgCopyMask(maskLayer,sx,sy,dx,dy,width,height); |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
194 |
} |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
195 |
|
69
1911c0fa3c76
Add __SOFTFP decorators to OpenVG APIs in line with header file. This allows us to build as softvfp or vfpv2.
markw <markw@symbian.org>
parents:
68
diff
changeset
|
196 |
EXPORT_C void vgClear(VGint x, VGint y ,VGint width, VGint height) __SOFTFP |
68
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
197 |
{ |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
198 |
return do_vgClear(x,y,width,height); |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
199 |
} |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
200 |
|
69
1911c0fa3c76
Add __SOFTFP decorators to OpenVG APIs in line with header file. This allows us to build as softvfp or vfpv2.
markw <markw@symbian.org>
parents:
68
diff
changeset
|
201 |
EXPORT_C VGPath vgCreatePath(VGint pathFormat ,VGPathDatatype datatype ,VGfloat scale, VGfloat bias ,VGint segmentCapacityHint ,VGint coordCapacityHint ,VGbitfield capabilities) __SOFTFP |
68
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
202 |
{ |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
203 |
return do_vgCreatePath(pathFormat,datatype,scale,bias,segmentCapacityHint,coordCapacityHint,capabilities); |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
204 |
} |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
205 |
|
69
1911c0fa3c76
Add __SOFTFP decorators to OpenVG APIs in line with header file. This allows us to build as softvfp or vfpv2.
markw <markw@symbian.org>
parents:
68
diff
changeset
|
206 |
EXPORT_C void vgClearPath(VGPath path, VGbitfield capabilities) __SOFTFP |
68
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
207 |
{ |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
208 |
return do_vgClearPath(path,capabilities); |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
209 |
} |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
210 |
|
69
1911c0fa3c76
Add __SOFTFP decorators to OpenVG APIs in line with header file. This allows us to build as softvfp or vfpv2.
markw <markw@symbian.org>
parents:
68
diff
changeset
|
211 |
EXPORT_C void vgDestroyPath(VGPath path) __SOFTFP |
68
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
212 |
{ |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
213 |
return do_vgDestroyPath(path); |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
214 |
} |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
215 |
|
69
1911c0fa3c76
Add __SOFTFP decorators to OpenVG APIs in line with header file. This allows us to build as softvfp or vfpv2.
markw <markw@symbian.org>
parents:
68
diff
changeset
|
216 |
EXPORT_C void vgRemovePathCapabilities(VGPath path ,VGbitfield capabilities) __SOFTFP |
68
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
217 |
{ |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
218 |
return do_vgRemovePathCapabilities(path,capabilities); |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
219 |
} |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
220 |
|
69
1911c0fa3c76
Add __SOFTFP decorators to OpenVG APIs in line with header file. This allows us to build as softvfp or vfpv2.
markw <markw@symbian.org>
parents:
68
diff
changeset
|
221 |
EXPORT_C VGbitfield vgGetPathCapabilities(VGPath path) __SOFTFP |
68
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
222 |
{ |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
223 |
return do_vgGetPathCapabilities(path); |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
224 |
} |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
225 |
|
69
1911c0fa3c76
Add __SOFTFP decorators to OpenVG APIs in line with header file. This allows us to build as softvfp or vfpv2.
markw <markw@symbian.org>
parents:
68
diff
changeset
|
226 |
EXPORT_C void vgAppendPath(VGPath dstPath, VGPath srcPath) __SOFTFP |
68
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
227 |
{ |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
228 |
return do_vgAppendPath(dstPath,srcPath); |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
229 |
} |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
230 |
|
69
1911c0fa3c76
Add __SOFTFP decorators to OpenVG APIs in line with header file. This allows us to build as softvfp or vfpv2.
markw <markw@symbian.org>
parents:
68
diff
changeset
|
231 |
EXPORT_C void vgAppendPathData(VGPath dstPath ,VGint numSegments ,const VGubyte* pathSegments ,const void* pathData) __SOFTFP |
68
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
232 |
{ |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
233 |
return do_vgAppendPathData(dstPath,numSegments,pathSegments,pathData); |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
234 |
} |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
235 |
|
69
1911c0fa3c76
Add __SOFTFP decorators to OpenVG APIs in line with header file. This allows us to build as softvfp or vfpv2.
markw <markw@symbian.org>
parents:
68
diff
changeset
|
236 |
EXPORT_C void vgModifyPathCoords(VGPath dstPath ,VGint startIndex ,VGint numSegments ,const void* pathData) __SOFTFP |
68
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
237 |
{ |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
238 |
return do_vgModifyPathCoords(dstPath,startIndex,numSegments,pathData); |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
239 |
} |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
240 |
|
69
1911c0fa3c76
Add __SOFTFP decorators to OpenVG APIs in line with header file. This allows us to build as softvfp or vfpv2.
markw <markw@symbian.org>
parents:
68
diff
changeset
|
241 |
EXPORT_C void vgTransformPath(VGPath dstPath, VGPath srcPath) __SOFTFP |
68
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
242 |
{ |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
243 |
return do_vgTransformPath(dstPath,srcPath); |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
244 |
} |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
245 |
|
69
1911c0fa3c76
Add __SOFTFP decorators to OpenVG APIs in line with header file. This allows us to build as softvfp or vfpv2.
markw <markw@symbian.org>
parents:
68
diff
changeset
|
246 |
EXPORT_C VGboolean vgInterpolatePath(VGPath dstPath ,VGPath startPath ,VGPath endPath ,VGfloat amount) __SOFTFP |
68
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
247 |
{ |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
248 |
return do_vgInterpolatePath(dstPath,startPath,endPath,amount); |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
249 |
} |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
250 |
|
69
1911c0fa3c76
Add __SOFTFP decorators to OpenVG APIs in line with header file. This allows us to build as softvfp or vfpv2.
markw <markw@symbian.org>
parents:
68
diff
changeset
|
251 |
EXPORT_C VGfloat vgPathLength(VGPath path ,VGint startSegment ,VGint numSegments) __SOFTFP |
68
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
252 |
{ |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
253 |
return do_vgPathLength(path,startSegment,numSegments); |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
254 |
} |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
255 |
|
69
1911c0fa3c76
Add __SOFTFP decorators to OpenVG APIs in line with header file. This allows us to build as softvfp or vfpv2.
markw <markw@symbian.org>
parents:
68
diff
changeset
|
256 |
EXPORT_C void vgPointAlongPath(VGPath path ,VGint startSegment ,VGint numSegments ,VGfloat distance ,VGfloat* x, VGfloat* y ,VGfloat* tangentX ,VGfloat* tangentY) __SOFTFP |
68
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
257 |
{ |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
258 |
return do_vgPointAlongPath(path,startSegment,numSegments,distance,x,y,tangentX,tangentY); |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
259 |
} |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
260 |
|
69
1911c0fa3c76
Add __SOFTFP decorators to OpenVG APIs in line with header file. This allows us to build as softvfp or vfpv2.
markw <markw@symbian.org>
parents:
68
diff
changeset
|
261 |
EXPORT_C void vgPathBounds(VGPath path ,VGfloat* minX ,VGfloat* minY ,VGfloat* width ,VGfloat* height) __SOFTFP |
68
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
262 |
{ |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
263 |
return do_vgPathBounds(path,minX,minY,width,height); |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
264 |
} |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
265 |
|
69
1911c0fa3c76
Add __SOFTFP decorators to OpenVG APIs in line with header file. This allows us to build as softvfp or vfpv2.
markw <markw@symbian.org>
parents:
68
diff
changeset
|
266 |
EXPORT_C void vgPathTransformedBounds(VGPath path ,VGfloat* minX ,VGfloat* minY ,VGfloat* width ,VGfloat* height) __SOFTFP |
68
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
267 |
{ |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
268 |
return do_vgPathTransformedBounds(path,minX,minY,width,height); |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
269 |
} |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
270 |
|
69
1911c0fa3c76
Add __SOFTFP decorators to OpenVG APIs in line with header file. This allows us to build as softvfp or vfpv2.
markw <markw@symbian.org>
parents:
68
diff
changeset
|
271 |
EXPORT_C void vgDrawPath(VGPath path, VGbitfield paintModes) __SOFTFP |
68
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
272 |
{ |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
273 |
return do_vgDrawPath(path,paintModes); |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
274 |
} |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
275 |
|
69
1911c0fa3c76
Add __SOFTFP decorators to OpenVG APIs in line with header file. This allows us to build as softvfp or vfpv2.
markw <markw@symbian.org>
parents:
68
diff
changeset
|
276 |
EXPORT_C VGPaint vgCreatePaint(void) __SOFTFP |
68
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
277 |
{ |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
278 |
return do_vgCreatePaint(); |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
279 |
} |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
280 |
|
69
1911c0fa3c76
Add __SOFTFP decorators to OpenVG APIs in line with header file. This allows us to build as softvfp or vfpv2.
markw <markw@symbian.org>
parents:
68
diff
changeset
|
281 |
EXPORT_C void vgDestroyPaint(VGPaint paint) __SOFTFP |
68
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
282 |
{ |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
283 |
return do_vgDestroyPaint(paint); |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
284 |
} |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
285 |
|
69
1911c0fa3c76
Add __SOFTFP decorators to OpenVG APIs in line with header file. This allows us to build as softvfp or vfpv2.
markw <markw@symbian.org>
parents:
68
diff
changeset
|
286 |
EXPORT_C void vgSetPaint(VGPaint paint, VGbitfield paintModes) __SOFTFP |
68
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
287 |
{ |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
288 |
return do_vgSetPaint(paint,paintModes); |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
289 |
} |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
290 |
|
69
1911c0fa3c76
Add __SOFTFP decorators to OpenVG APIs in line with header file. This allows us to build as softvfp or vfpv2.
markw <markw@symbian.org>
parents:
68
diff
changeset
|
291 |
EXPORT_C VGPaint vgGetPaint(VGPaintMode paintMode) __SOFTFP |
68
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
292 |
{ |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
293 |
return do_vgGetPaint(paintMode); |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
294 |
} |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
295 |
|
69
1911c0fa3c76
Add __SOFTFP decorators to OpenVG APIs in line with header file. This allows us to build as softvfp or vfpv2.
markw <markw@symbian.org>
parents:
68
diff
changeset
|
296 |
EXPORT_C void vgSetColor(VGPaint paint, VGuint rgba) __SOFTFP |
68
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
297 |
{ |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
298 |
return do_vgSetColor(paint,rgba); |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
299 |
} |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
300 |
|
69
1911c0fa3c76
Add __SOFTFP decorators to OpenVG APIs in line with header file. This allows us to build as softvfp or vfpv2.
markw <markw@symbian.org>
parents:
68
diff
changeset
|
301 |
EXPORT_C VGuint vgGetColor(VGPaint paint) __SOFTFP |
68
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
302 |
{ |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
303 |
return do_vgGetColor(paint); |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
304 |
} |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
305 |
|
69
1911c0fa3c76
Add __SOFTFP decorators to OpenVG APIs in line with header file. This allows us to build as softvfp or vfpv2.
markw <markw@symbian.org>
parents:
68
diff
changeset
|
306 |
EXPORT_C void vgPaintPattern(VGPaint paint, VGImage pattern) __SOFTFP |
68
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
307 |
{ |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
308 |
return do_vgPaintPattern(paint,pattern); |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
309 |
} |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
310 |
|
69
1911c0fa3c76
Add __SOFTFP decorators to OpenVG APIs in line with header file. This allows us to build as softvfp or vfpv2.
markw <markw@symbian.org>
parents:
68
diff
changeset
|
311 |
EXPORT_C VGImage vgCreateImage(VGImageFormat format ,VGint width, VGint height ,VGbitfield allowedQuality) __SOFTFP |
68
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
312 |
{ |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
313 |
return do_vgCreateImage(format,width,height,allowedQuality); |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
314 |
} |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
315 |
|
69
1911c0fa3c76
Add __SOFTFP decorators to OpenVG APIs in line with header file. This allows us to build as softvfp or vfpv2.
markw <markw@symbian.org>
parents:
68
diff
changeset
|
316 |
EXPORT_C void vgDestroyImage(VGImage image) __SOFTFP |
68
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
317 |
{ |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
318 |
return do_vgDestroyImage(image); |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
319 |
} |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
320 |
|
69
1911c0fa3c76
Add __SOFTFP decorators to OpenVG APIs in line with header file. This allows us to build as softvfp or vfpv2.
markw <markw@symbian.org>
parents:
68
diff
changeset
|
321 |
EXPORT_C void vgClearImage(VGImage image ,VGint x, VGint y ,VGint width, VGint height) __SOFTFP |
68
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
322 |
{ |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
323 |
return do_vgClearImage(image,x,y,width,height); |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
324 |
} |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
325 |
|
69
1911c0fa3c76
Add __SOFTFP decorators to OpenVG APIs in line with header file. This allows us to build as softvfp or vfpv2.
markw <markw@symbian.org>
parents:
68
diff
changeset
|
326 |
EXPORT_C void vgImageSubData(VGImage image ,const void* data ,VGint dataStride ,VGImageFormat dataFormat ,VGint x, VGint y ,VGint width, VGint height) __SOFTFP |
68
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
327 |
{ |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
328 |
return do_vgImageSubData(image,data,dataStride,dataFormat,x,y,width,height); |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
329 |
} |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
330 |
|
69
1911c0fa3c76
Add __SOFTFP decorators to OpenVG APIs in line with header file. This allows us to build as softvfp or vfpv2.
markw <markw@symbian.org>
parents:
68
diff
changeset
|
331 |
EXPORT_C void vgGetImageSubData(VGImage image ,void* data ,VGint dataStride ,VGImageFormat dataFormat ,VGint x, VGint y ,VGint width, VGint height) __SOFTFP |
68
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
332 |
{ |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
333 |
return do_vgGetImageSubData(image,data,dataStride,dataFormat,x,y,width,height); |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
334 |
} |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
335 |
|
69
1911c0fa3c76
Add __SOFTFP decorators to OpenVG APIs in line with header file. This allows us to build as softvfp or vfpv2.
markw <markw@symbian.org>
parents:
68
diff
changeset
|
336 |
EXPORT_C VGImage vgChildImage(VGImage parent ,VGint x, VGint y ,VGint width, VGint height) __SOFTFP |
68
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
337 |
{ |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
338 |
return do_vgChildImage(parent,x,y,width,height); |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
339 |
} |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
340 |
|
69
1911c0fa3c76
Add __SOFTFP decorators to OpenVG APIs in line with header file. This allows us to build as softvfp or vfpv2.
markw <markw@symbian.org>
parents:
68
diff
changeset
|
341 |
EXPORT_C VGImage vgGetParent(VGImage image) __SOFTFP |
68
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
342 |
{ |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
343 |
return do_vgGetParent(image); |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
344 |
} |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
345 |
|
69
1911c0fa3c76
Add __SOFTFP decorators to OpenVG APIs in line with header file. This allows us to build as softvfp or vfpv2.
markw <markw@symbian.org>
parents:
68
diff
changeset
|
346 |
EXPORT_C void vgCopyImage(VGImage dst, VGint dx, VGint dy ,VGImage src, VGint sx, VGint sy ,VGint width, VGint height ,VGboolean dither) __SOFTFP |
68
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
347 |
{ |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
348 |
return do_vgCopyImage(dst,dx,dy,src,sx,sy,width,height,dither); |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
349 |
} |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
350 |
|
69
1911c0fa3c76
Add __SOFTFP decorators to OpenVG APIs in line with header file. This allows us to build as softvfp or vfpv2.
markw <markw@symbian.org>
parents:
68
diff
changeset
|
351 |
EXPORT_C void vgDrawImage(VGImage image) __SOFTFP |
68
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
352 |
{ |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
353 |
return do_vgDrawImage(image); |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
354 |
} |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
355 |
|
69
1911c0fa3c76
Add __SOFTFP decorators to OpenVG APIs in line with header file. This allows us to build as softvfp or vfpv2.
markw <markw@symbian.org>
parents:
68
diff
changeset
|
356 |
EXPORT_C void vgSetPixels(VGint dx, VGint dy ,VGImage src, VGint sx, VGint sy ,VGint width, VGint height) __SOFTFP |
68
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
357 |
{ |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
358 |
return do_vgSetPixels(dx,dy,src,sx,sy,width,height); |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
359 |
} |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
360 |
|
69
1911c0fa3c76
Add __SOFTFP decorators to OpenVG APIs in line with header file. This allows us to build as softvfp or vfpv2.
markw <markw@symbian.org>
parents:
68
diff
changeset
|
361 |
EXPORT_C void vgWritePixels(const void* data, VGint dataStride ,VGImageFormat dataFormat ,VGint dx, VGint dy ,VGint width, VGint height) __SOFTFP |
68
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
362 |
{ |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
363 |
return do_vgWritePixels(data,dataStride,dataFormat,dx,dy,width,height); |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
364 |
} |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
365 |
|
69
1911c0fa3c76
Add __SOFTFP decorators to OpenVG APIs in line with header file. This allows us to build as softvfp or vfpv2.
markw <markw@symbian.org>
parents:
68
diff
changeset
|
366 |
EXPORT_C void vgGetPixels(VGImage dst, VGint dx, VGint dy ,VGint sx, VGint sy ,VGint width, VGint height) __SOFTFP |
68
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
367 |
{ |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
368 |
return do_vgGetPixels(dst,dx,dy,sx,sy,width,height); |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
369 |
} |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
370 |
|
69
1911c0fa3c76
Add __SOFTFP decorators to OpenVG APIs in line with header file. This allows us to build as softvfp or vfpv2.
markw <markw@symbian.org>
parents:
68
diff
changeset
|
371 |
EXPORT_C void vgReadPixels(void* data, VGint dataStride ,VGImageFormat dataFormat ,VGint sx, VGint sy ,VGint width, VGint height) __SOFTFP |
68
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
372 |
{ |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
373 |
return do_vgReadPixels(data,dataStride,dataFormat,sx,sy,width,height); |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
374 |
} |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
375 |
|
69
1911c0fa3c76
Add __SOFTFP decorators to OpenVG APIs in line with header file. This allows us to build as softvfp or vfpv2.
markw <markw@symbian.org>
parents:
68
diff
changeset
|
376 |
EXPORT_C void vgCopyPixels(VGint dx, VGint dy ,VGint sx, VGint sy ,VGint width, VGint height) __SOFTFP |
68
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
377 |
{ |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
378 |
return do_vgCopyPixels(dx,dy,sx,sy,width,height); |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
379 |
} |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
380 |
|
69
1911c0fa3c76
Add __SOFTFP decorators to OpenVG APIs in line with header file. This allows us to build as softvfp or vfpv2.
markw <markw@symbian.org>
parents:
68
diff
changeset
|
381 |
EXPORT_C VGFont vgCreateFont(VGint glyphCapacityHint) __SOFTFP |
68
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
382 |
{ |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
383 |
return do_vgCreateFont(glyphCapacityHint); |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
384 |
} |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
385 |
|
69
1911c0fa3c76
Add __SOFTFP decorators to OpenVG APIs in line with header file. This allows us to build as softvfp or vfpv2.
markw <markw@symbian.org>
parents:
68
diff
changeset
|
386 |
EXPORT_C void vgDestroyFont(VGFont font) __SOFTFP |
68
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
387 |
{ |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
388 |
return do_vgDestroyFont(font); |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
389 |
} |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
390 |
|
69
1911c0fa3c76
Add __SOFTFP decorators to OpenVG APIs in line with header file. This allows us to build as softvfp or vfpv2.
markw <markw@symbian.org>
parents:
68
diff
changeset
|
391 |
EXPORT_C void vgSetGlyphToPath(VGFont font ,VGuint glyphIndex ,VGPath path ,VGboolean isHinted ,const VGfloat glyphOrigin [2] ,const VGfloat escapement[2]) __SOFTFP |
68
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
392 |
{ |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
393 |
return do_vgSetGlyphToPath(font,glyphIndex,path,isHinted,glyphOrigin,escapement); |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
394 |
} |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
395 |
|
69
1911c0fa3c76
Add __SOFTFP decorators to OpenVG APIs in line with header file. This allows us to build as softvfp or vfpv2.
markw <markw@symbian.org>
parents:
68
diff
changeset
|
396 |
EXPORT_C void vgSetGlyphToImage(VGFont font ,VGuint glyphIndex ,VGImage image ,const VGfloat glyphOrigin [2] ,const VGfloat escapement[2]) __SOFTFP |
68
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
397 |
{ |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
398 |
return do_vgSetGlyphToImage(font,glyphIndex,image,glyphOrigin,escapement); |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
399 |
} |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
400 |
|
69
1911c0fa3c76
Add __SOFTFP decorators to OpenVG APIs in line with header file. This allows us to build as softvfp or vfpv2.
markw <markw@symbian.org>
parents:
68
diff
changeset
|
401 |
EXPORT_C void vgClearGlyph(VGFont font ,VGuint glyphIndex) __SOFTFP |
68
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
402 |
{ |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
403 |
return do_vgClearGlyph(font,glyphIndex); |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
404 |
} |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
405 |
|
69
1911c0fa3c76
Add __SOFTFP decorators to OpenVG APIs in line with header file. This allows us to build as softvfp or vfpv2.
markw <markw@symbian.org>
parents:
68
diff
changeset
|
406 |
EXPORT_C void vgDrawGlyph(VGFont font ,VGuint glyphIndex ,VGbitfield paintModes ,VGboolean allowAutoHinting) __SOFTFP |
68
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
407 |
{ |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
408 |
return do_vgDrawGlyph(font,glyphIndex,paintModes,allowAutoHinting); |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
409 |
} |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
410 |
|
69
1911c0fa3c76
Add __SOFTFP decorators to OpenVG APIs in line with header file. This allows us to build as softvfp or vfpv2.
markw <markw@symbian.org>
parents:
68
diff
changeset
|
411 |
EXPORT_C void vgDrawGlyphs(VGFont font ,VGint glyphCount ,const VGuint* glyphIndices ,const VGfloat* adjustments_x ,const VGfloat* adjustments_y ,VGbitfield paintModes ,VGboolean allowAutoHinting) __SOFTFP |
68
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
412 |
{ |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
413 |
return do_vgDrawGlyphs(font,glyphCount,glyphIndices,adjustments_x,adjustments_y,paintModes,allowAutoHinting); |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
414 |
} |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
415 |
|
69
1911c0fa3c76
Add __SOFTFP decorators to OpenVG APIs in line with header file. This allows us to build as softvfp or vfpv2.
markw <markw@symbian.org>
parents:
68
diff
changeset
|
416 |
EXPORT_C void vgColorMatrix(VGImage dst, VGImage src ,const VGfloat* matrix) __SOFTFP |
68
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
417 |
{ |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
418 |
return do_vgColorMatrix(dst,src,matrix); |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
419 |
} |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
420 |
|
69
1911c0fa3c76
Add __SOFTFP decorators to OpenVG APIs in line with header file. This allows us to build as softvfp or vfpv2.
markw <markw@symbian.org>
parents:
68
diff
changeset
|
421 |
EXPORT_C void vgConvolve(VGImage dst, VGImage src ,VGint kernelWidth, VGint kernelHeight ,VGint shiftX, VGint shiftY ,const VGshort* kernel ,VGfloat scale ,VGfloat bias ,VGTilingMode tilingMode) __SOFTFP |
68
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
422 |
{ |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
423 |
return do_vgConvolve(dst,src,kernelWidth,kernelHeight,shiftX,shiftY,kernel,scale,bias,tilingMode); |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
424 |
} |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
425 |
|
69
1911c0fa3c76
Add __SOFTFP decorators to OpenVG APIs in line with header file. This allows us to build as softvfp or vfpv2.
markw <markw@symbian.org>
parents:
68
diff
changeset
|
426 |
EXPORT_C void vgSeparableConvolve(VGImage dst, VGImage src ,VGint kernelWidth ,VGint kernelHeight ,VGint shiftX, VGint shiftY ,const VGshort* kernelX ,const VGshort* kernelY ,VGfloat scale ,VGfloat bias ,VGTilingMode tilingMode) __SOFTFP |
68
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
427 |
{ |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
428 |
return do_vgSeparableConvolve(dst,src,kernelWidth,kernelHeight,shiftX,shiftY,kernelX,kernelY,scale,bias,tilingMode); |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
429 |
} |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
430 |
|
69
1911c0fa3c76
Add __SOFTFP decorators to OpenVG APIs in line with header file. This allows us to build as softvfp or vfpv2.
markw <markw@symbian.org>
parents:
68
diff
changeset
|
431 |
EXPORT_C void vgGaussianBlur(VGImage dst, VGImage src ,VGfloat stdDeviationX ,VGfloat stdDeviationY ,VGTilingMode tilingMode) __SOFTFP |
68
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
432 |
{ |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
433 |
return do_vgGaussianBlur(dst,src,stdDeviationX,stdDeviationY,tilingMode); |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
434 |
} |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
435 |
|
69
1911c0fa3c76
Add __SOFTFP decorators to OpenVG APIs in line with header file. This allows us to build as softvfp or vfpv2.
markw <markw@symbian.org>
parents:
68
diff
changeset
|
436 |
EXPORT_C void vgLookup(VGImage dst, VGImage src ,const VGubyte* redLUT ,const VGubyte* greenLUT ,const VGubyte* blueLUT ,const VGubyte* alphaLUT ,VGboolean outputLinear ,VGboolean outputPremultiplied) __SOFTFP |
68
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
437 |
{ |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
438 |
return do_vgLookup(dst,src,redLUT,greenLUT,blueLUT,alphaLUT,outputLinear,outputPremultiplied); |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
439 |
} |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
440 |
|
69
1911c0fa3c76
Add __SOFTFP decorators to OpenVG APIs in line with header file. This allows us to build as softvfp or vfpv2.
markw <markw@symbian.org>
parents:
68
diff
changeset
|
441 |
EXPORT_C void vgLookupSingle(VGImage dst, VGImage src ,const VGuint* lookupTable ,VGImageChannel sourceChannel ,VGboolean outputLinear ,VGboolean outputPremultiplied) __SOFTFP |
68
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
442 |
{ |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
443 |
return do_vgLookupSingle(dst,src,lookupTable,sourceChannel,outputLinear,outputPremultiplied); |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
444 |
} |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
445 |
|
69
1911c0fa3c76
Add __SOFTFP decorators to OpenVG APIs in line with header file. This allows us to build as softvfp or vfpv2.
markw <markw@symbian.org>
parents:
68
diff
changeset
|
446 |
EXPORT_C VGHardwareQueryResult vgHardwareQuery (VGHardwareQueryType key ,VGint setting) __SOFTFP |
68
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
447 |
{ |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
448 |
return do_vgHardwareQuery(key,setting); |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
449 |
} |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
450 |
|
69
1911c0fa3c76
Add __SOFTFP decorators to OpenVG APIs in line with header file. This allows us to build as softvfp or vfpv2.
markw <markw@symbian.org>
parents:
68
diff
changeset
|
451 |
EXPORT_C const VGubyte * vgGetString(VGStringID name) __SOFTFP |
68
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
452 |
{ |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
453 |
return do_vgGetString(name); |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
454 |
} |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
455 |
} |
cc09a5c2b5fb
Add API wrapper files for OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
456 |