Update contrib.
1 // Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
2 // All rights reserved.
3 // This component and the accompanying materials are made available
4 // under the terms of "Eclipse Public License v1.0"
5 // which accompanies this distribution, and is available
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
14 // This test stub has been manually created based on the .def file generator
15 // utility available in ../group/openvg11
19 #include <VG/openvg.h>
30 // --------------------------------------------------------------------------------------------------------------------------------------------
31 // OpenVG VG functions
32 EXPORT_C void vgAppendPath(VGPath /*dstPath*/, VGPath /*srcPath*/) { }
33 EXPORT_C void vgAppendPathData(VGPath /*dstPath*/, VGint /*numSegments*/, const VGubyte * /*pathSegments*/, const void * /*pathData*/) { }
34 EXPORT_C VGImage vgChildImage(VGImage /*parent*/, VGint /*x*/, VGint /*y*/, VGint /*width*/, VGint /*height*/) { return 0; }
35 EXPORT_C void vgClear(VGint /*x*/, VGint /*y*/, VGint /*width*/, VGint /*height*/) { }
36 EXPORT_C void vgClearGlyph(VGFont /*font*/, VGuint /*glyphIndex*/) { }
37 EXPORT_C void vgClearImage(VGImage /*image*/, VGint /*x*/, VGint /*y*/, VGint /*width*/, VGint /*height*/) { }
38 EXPORT_C void vgClearPath(VGPath /*path*/, VGbitfield /*capabilities*/) { }
39 EXPORT_C void vgColorMatrix(VGImage /*dst*/, VGImage /*src*/, const VGfloat * /*matrix*/) { }
40 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*/) { }
41 EXPORT_C void vgCopyImage(VGImage /*dst*/, VGint /*dx*/, VGint /*dy*/, VGImage /*src*/, VGint /*sx*/, VGint /*sy*/, VGint /*width*/, VGint /*height*/, VGboolean /*dither*/) { }
42 EXPORT_C void vgCopyMask(VGMaskLayer /*maskLayer*/, VGint /*sx*/, VGint /*sy*/, VGint /*dx*/, VGint /*dy*/, VGint /*width*/, VGint /*height*/) { }
43 EXPORT_C void vgCopyPixels(VGint /*dx*/, VGint /*dy*/, VGint /*sx*/, VGint /*sy*/, VGint /*width*/, VGint /*height*/) { }
44 EXPORT_C VGFont vgCreateFont(VGint /*glyphCapacityHint*/) { return 0; }
45 EXPORT_C VGImage vgCreateImage(VGImageFormat /*format*/, VGint /*width*/, VGint /*height*/, VGbitfield /*allowedQuality*/) { return 0; }
46 EXPORT_C VGMaskLayer vgCreateMaskLayer(VGint /*width*/, VGint /*height*/) { return 0; }
47 EXPORT_C VGPaint vgCreatePaint(void) { return 0; }
48 EXPORT_C VGPath vgCreatePath(VGint /*pathFormat*/, VGPathDatatype /*datatype*/, VGfloat /*scale*/, VGfloat /*bias*/, VGint /*segmentCapacityHint*/, VGint /*coordCapacityHint*/, VGbitfield /*capabilities*/) { return 0; }
49 EXPORT_C void vgDestroyFont(VGFont /*font*/) { }
50 EXPORT_C void vgDestroyImage(VGImage /*image*/) { }
51 EXPORT_C void vgDestroyMaskLayer(VGMaskLayer /*maskLayer*/) { }
52 EXPORT_C void vgDestroyPaint(VGPaint /*paint*/) { }
53 EXPORT_C void vgDestroyPath(VGPath /*path*/) { }
54 EXPORT_C void vgDrawGlyph(VGFont /*font*/, VGuint /*glyphIndex*/, VGbitfield /*paintModes*/, VGboolean /*allowAutoHinting*/) { }
55 EXPORT_C void vgDrawGlyphs(VGFont /*font*/, VGint /*glyphCount*/, const VGuint * /*glyphIndices*/, const VGfloat * /*adjustments_x*/, const VGfloat * /*adjustments_y*/, VGbitfield /*paintModes*/, VGboolean /*allowAutoHinting*/) { }
56 EXPORT_C void vgDrawImage(VGImage /*image*/) { }
57 EXPORT_C void vgDrawPath(VGPath /*path*/, VGbitfield /*paintModes*/) { }
58 EXPORT_C void vgFillMaskLayer(VGMaskLayer /*maskLayer*/, VGint /*x*/, VGint /*y*/, VGint /*width*/, VGint /*height*/, VGfloat /*value*/) { }
59 EXPORT_C void vgFinish(void) { }
60 EXPORT_C void vgFlush(void) { }
61 EXPORT_C void vgGaussianBlur(VGImage /*dst*/, VGImage /*src*/, VGfloat /*stdDeviationX*/, VGfloat /*stdDeviationY*/, VGTilingMode /*tilingMode*/) { }
62 EXPORT_C VGuint vgGetColor(VGPaint /*paint*/) { return 0; }
63 EXPORT_C VGErrorCode vgGetError(void) { return VG_ILLEGAL_ARGUMENT_ERROR; }
64 EXPORT_C VGfloat vgGetf(VGParamType /*type*/) { return 0; }
65 EXPORT_C void vgGetfv(VGParamType /*type*/, VGint /*count*/, VGfloat * /*values*/) { }
66 EXPORT_C VGint vgGeti(VGParamType /*type*/) { return 0; }
67 EXPORT_C void vgGetImageSubData(VGImage /*image*/, void * /*data*/, VGint /*dataStride*/, VGImageFormat /*dataFormat*/, VGint /*x*/, VGint /*y*/, VGint /*width*/, VGint /*height*/) { }
68 EXPORT_C void vgGetiv(VGParamType /*type*/, VGint /*count*/, VGint * /*values*/) { }
69 EXPORT_C void vgGetMatrix(VGfloat * /*m*/) { }
70 EXPORT_C VGPaint vgGetPaint(VGPaintMode /*paintMode*/) { return 0; }
71 EXPORT_C VGfloat vgGetParameterf(VGHandle /*object*/, VGint /*paramType*/) { return 0; }
72 EXPORT_C void vgGetParameterfv(VGHandle /*object*/, VGint /*paramType*/, VGint /*count*/, VGfloat * /*values*/) { }
73 EXPORT_C VGint vgGetParameteri(VGHandle /*object*/, VGint /*paramType*/) { return 0; }
74 EXPORT_C void vgGetParameteriv(VGHandle /*object*/, VGint /*paramType*/, VGint /*count*/, VGint * /*values*/) { }
75 EXPORT_C VGint vgGetParameterVectorSize(VGHandle /*object*/, VGint /*paramType*/) { return 0; }
76 EXPORT_C VGImage vgGetParent(VGImage /*image*/) { return 0; }
77 EXPORT_C VGbitfield vgGetPathCapabilities(VGPath /*path*/) { return 0; }
78 EXPORT_C void vgGetPixels(VGImage /*dst*/, VGint /*dx*/, VGint /*dy*/, VGint /*sx*/, VGint /*sy*/, VGint /*width*/, VGint /*height*/) { }
79 EXPORT_C const VGubyte * vgGetString(VGStringID /*name*/) { return NULL; }
80 EXPORT_C VGint vgGetVectorSize(VGParamType /*type*/) { return 0; }
81 EXPORT_C VGHardwareQueryResult vgHardwareQuery (VGHardwareQueryType /*key*/, VGint /*setting*/) { return VG_HARDWARE_UNACCELERATED; }
82 EXPORT_C void vgImageSubData(VGImage /*image*/, const void * /*data*/, VGint /*dataStride*/, VGImageFormat /*dataFormat*/, VGint /*x*/, VGint /*y*/, VGint /*width*/, VGint /*height*/) { }
83 EXPORT_C VGboolean vgInterpolatePath(VGPath /*dstPath*/, VGPath /*startPath*/, VGPath /*endPath*/, VGfloat /*amount*/) { return VG_FALSE; }
84 EXPORT_C void vgLoadIdentity(void) { }
85 EXPORT_C void vgLoadMatrix(const VGfloat * /*m*/) { }
86 EXPORT_C void vgLookup(VGImage /*dst*/, VGImage /*src*/, const VGubyte * /*redLUT*/, const VGubyte * /*greenLUT*/, const VGubyte * /*blueLUT*/, const VGubyte * /*alphaLUT*/, VGboolean /*outputLinear*/, VGboolean /*outputPremultiplied*/) { }
87 EXPORT_C void vgLookupSingle(VGImage /*dst*/, VGImage /*src*/, const VGuint * /*lookupTable*/, VGImageChannel /*sourceChannel*/, VGboolean /*outputLinear*/, VGboolean /*outputPremultiplied*/) { }
88 EXPORT_C void vgMask(VGHandle /*mask*/, VGMaskOperation /*operation*/, VGint /*x*/, VGint /*y*/, VGint /*width*/, VGint /*height*/) { }
89 EXPORT_C void vgModifyPathCoords(VGPath /*dstPath*/, VGint /*startIndex*/, VGint /*numSegments*/, const void * /*pathData*/) { }
90 EXPORT_C void vgMultMatrix(const VGfloat * /*m*/) { }
91 EXPORT_C void vgPaintPattern(VGPaint /*paint*/, VGImage /*pattern*/) { }
92 EXPORT_C void vgPathBounds(VGPath /*path*/, VGfloat * /*minX*/, VGfloat * /*minY*/, VGfloat * /*width*/, VGfloat * /*height*/) { }
93 EXPORT_C VGfloat vgPathLength(VGPath /*path*/, VGint /*startSegment*/, VGint /*numSegments*/) { return 0; }
94 EXPORT_C void vgPathTransformedBounds(VGPath /*path*/, VGfloat * /*minX*/, VGfloat * /*minY*/, VGfloat * /*width*/, VGfloat * /*height*/) { }
95 EXPORT_C void vgPointAlongPath(VGPath /*path*/, VGint /*startSegment*/, VGint /*numSegments*/, VGfloat /*distance*/, VGfloat * /*x*/, VGfloat * /*y*/, VGfloat * /*tangentX*/, VGfloat * /*tangentY*/) { }
96 EXPORT_C void vgReadPixels(void * /*data*/, VGint /*dataStride*/, VGImageFormat /*dataFormat*/, VGint /*sx*/, VGint /*sy*/, VGint /*width*/, VGint /*height*/) { }
97 EXPORT_C void vgRemovePathCapabilities(VGPath /*path*/, VGbitfield /*capabilities*/) { }
98 EXPORT_C void vgRenderToMask(VGPath /*path*/, VGbitfield /*paintModes*/, VGMaskOperation /*operation*/) { }
99 EXPORT_C void vgRotate(VGfloat /*angle*/) { }
100 EXPORT_C void vgScale(VGfloat /*sx*/, VGfloat /*sy*/) { }
101 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*/) { }
102 EXPORT_C void vgSetColor(VGPaint /*paint*/, VGuint /*rgba*/) { }
103 EXPORT_C void vgSetf (VGParamType /*type*/, VGfloat /*value*/) { }
104 EXPORT_C void vgSetfv(VGParamType /*type*/, VGint /*count*/, const VGfloat * /*values*/) { }
105 EXPORT_C void vgSetGlyphToImage(VGFont /*font*/, VGuint /*glyphIndex*/, VGImage /*image*/, const VGfloat /*glyphOrigin*/ [2], const VGfloat /*escapement*/[2]) { }
106 EXPORT_C void vgSetGlyphToPath(VGFont /*font*/, VGuint /*glyphIndex*/, VGPath /*path*/, VGboolean /*isHinted*/, const VGfloat /*glyphOrigin*/[2], const VGfloat /*escapement*/[2]) { }
107 EXPORT_C void vgSeti (VGParamType /*type*/, VGint /*value*/) { }
108 EXPORT_C void vgSetiv(VGParamType /*type*/, VGint /*count*/, const VGint * /*values*/) { }
109 EXPORT_C void vgSetPaint(VGPaint /*paint*/, VGbitfield /*paintModes*/) { }
110 EXPORT_C void vgSetParameterf(VGHandle /*object*/, VGint /*paramType*/, VGfloat /*value*/) { }
111 EXPORT_C void vgSetParameterfv(VGHandle /*object*/, VGint /*paramType*/, VGint /*count*/, const VGfloat * /*values*/) { }
112 EXPORT_C void vgSetParameteri(VGHandle /*object*/, VGint /*paramType*/, VGint /*value*/) { }
113 EXPORT_C void vgSetParameteriv(VGHandle /*object*/, VGint /*paramType*/, VGint /*count*/, const VGint * /*values*/) { }
114 EXPORT_C void vgSetPixels(VGint /*dx*/, VGint /*dy*/, VGImage /*src*/, VGint /*sx*/, VGint /*sy*/, VGint /*width*/, VGint /*height*/) { }
115 EXPORT_C void vgShear(VGfloat /*shx*/, VGfloat /*shy*/) { }
116 EXPORT_C void vgTransformPath(VGPath /*dstPath*/, VGPath /*srcPath*/) { }
117 EXPORT_C void vgTranslate(VGfloat /*tx*/, VGfloat /*ty*/) { }
118 EXPORT_C void vgWritePixels(const void * /*data*/, VGint /*dataStride*/, VGImageFormat /*dataFormat*/, VGint /*dx*/, VGint /*dy*/, VGint /*width*/, VGint /*height*/) { }
123 // --------------------------------------------------------------------------------------------------------------------------------------------
125 // --------------------------------------------------------------------------------------------------------------------------------------------