• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# This is the source file for the various generate structs/tables/functions
2# used in st/vega.
3
4# OpenVG 1.0
5void,                   AppendPath,                VGPath dstPath, VGPath srcPath
6void,                   AppendPathData,            VGPath dstPath, VGint numSegments, const VGubyte *pathSegments, const void *pathData
7VGImage,                ChildImage,                VGImage parent, VGint x, VGint y, VGint width, VGint height
8void,                   Clear,                     VGint x, VGint y, VGint width, VGint height
9void,                   ClearImage,                VGImage image, VGint x, VGint y, VGint width, VGint height
10void,                   ClearPath,                 VGPath path, VGbitfield capabilities
11void,                   ColorMatrix,               VGImage dst, VGImage src, const VGfloat *matrix
12void,                   Convolve,                  VGImage dst, VGImage src, VGint kernelWidth, VGint kernelHeight, VGint shiftX, VGint shiftY, const VGshort *kernel, VGfloat scale, VGfloat bias, VGTilingMode tilingMode
13void,                   CopyImage,                 VGImage dst, VGint dx, VGint dy, VGImage src, VGint sx, VGint sy, VGint width, VGint height, VGboolean dither
14void,                   CopyPixels,                VGint dx, VGint dy, VGint sx, VGint sy, VGint width, VGint height
15VGImage,                CreateImage,               VGImageFormat format, VGint width, VGint height, VGbitfield allowedQuality
16VGPaint,                CreatePaint,               void
17VGPath,                 CreatePath,                VGint pathFormat, VGPathDatatype datatype, VGfloat scale, VGfloat bias, VGint segmentCapacityHint, VGint coordCapacityHint, VGbitfield capabilities
18void,                   DestroyImage,              VGImage image
19void,                   DestroyPaint,              VGPaint paint
20void,                   DestroyPath,               VGPath path
21void,                   DrawImage,                 VGImage image
22void,                   DrawPath,                  VGPath path, VGbitfield paintModes
23void,                   Finish,                    void
24void,                   Flush,                     void
25void,                   GaussianBlur,              VGImage dst, VGImage src, VGfloat stdDeviationX, VGfloat stdDeviationY, VGTilingMode tilingMode
26VGuint,                 GetColor,                  VGPaint paint
27VGErrorCode,            GetError,                  void
28void,                   GetImageSubData,           VGImage image, void *data, VGint dataStride, VGImageFormat dataFormat, VGint x, VGint y, VGint width, VGint height
29void,                   GetMatrix,                 VGfloat *m
30VGPaint,                GetPaint,                  VGPaintMode paintMode
31VGint,                  GetParameterVectorSize,    VGHandle object, VGint paramType
32VGfloat,                GetParameterf,             VGHandle object, VGint paramType
33void,                   GetParameterfv,            VGHandle object, VGint paramType, VGint count, VGfloat *values
34VGint,                  GetParameteri,             VGHandle object, VGint paramType
35void,                   GetParameteriv,            VGHandle object, VGint paramType, VGint count, VGint *values
36VGImage,                GetParent,                 VGImage image
37VGbitfield,             GetPathCapabilities,       VGPath path
38void,                   GetPixels,                 VGImage dst, VGint dx, VGint dy, VGint sx, VGint sy, VGint width, VGint height
39const VGubyte *,        GetString,                 VGStringID name
40VGint,                  GetVectorSize,             VGParamType type
41VGfloat,                Getf,                      VGParamType type
42void,                   Getfv,                     VGParamType type, VGint count, VGfloat *values
43VGint,                  Geti,                      VGParamType type
44void,                   Getiv,                     VGParamType type, VGint count, VGint *values
45VGHardwareQueryResult,  HardwareQuery,             VGHardwareQueryType key, VGint setting
46void,                   ImageSubData,              VGImage image, const void *data, VGint dataStride, VGImageFormat dataFormat, VGint x, VGint y, VGint width, VGint height
47VGboolean,              InterpolatePath,           VGPath dstPath, VGPath startPath, VGPath endPath, VGfloat amount
48void,                   LoadIdentity,              void
49void,                   LoadMatrix,                const VGfloat *m
50void,                   Lookup,                    VGImage dst, VGImage src, const VGubyte *redLUT, const VGubyte *greenLUT, const VGubyte *blueLUT, const VGubyte *alphaLUT, VGboolean outputLinear, VGboolean outputPremultiplied
51void,                   LookupSingle,              VGImage dst, VGImage src, const VGuint *lookupTable, VGImageChannel sourceChannel, VGboolean outputLinear, VGboolean outputPremultiplied
52void,                   Mask,                      VGHandle mask, VGMaskOperation operation, VGint x, VGint y, VGint width, VGint height
53void,                   ModifyPathCoords,          VGPath dstPath, VGint startIndex, VGint numSegments, const void *pathData
54void,                   MultMatrix,                const VGfloat *m
55void,                   PaintPattern,              VGPaint paint, VGImage pattern
56void,                   PathBounds,                VGPath path, VGfloat *minX, VGfloat *minY, VGfloat *width, VGfloat *height
57VGfloat,                PathLength,                VGPath path, VGint startSegment, VGint numSegments
58void,                   PathTransformedBounds,     VGPath path, VGfloat *minX, VGfloat *minY, VGfloat *width, VGfloat *height
59void,                   PointAlongPath,            VGPath path, VGint startSegment, VGint numSegments, VGfloat distance, VGfloat *x, VGfloat *y, VGfloat *tangentX, VGfloat *tangentY
60void,                   ReadPixels,                void *data, VGint dataStride, VGImageFormat dataFormat, VGint sx, VGint sy, VGint width, VGint height
61void,                   RemovePathCapabilities,    VGPath path, VGbitfield capabilities
62void,                   Rotate,                    VGfloat angle
63void,                   Scale,                     VGfloat sx, VGfloat sy
64void,                   SeparableConvolve,         VGImage dst, VGImage src, VGint kernelWidth, VGint kernelHeight, VGint shiftX, VGint shiftY, const VGshort *kernelX, const VGshort *kernelY, VGfloat scale, VGfloat bias, VGTilingMode tilingMode
65void,                   SetColor,                  VGPaint paint, VGuint rgba
66void,                   SetPaint,                  VGPaint paint, VGbitfield paintModes
67void,                   SetParameterf,             VGHandle object, VGint paramType, VGfloat value
68void,                   SetParameterfv,            VGHandle object, VGint paramType, VGint count, const VGfloat *values
69void,                   SetParameteri,             VGHandle object, VGint paramType, VGint value
70void,                   SetParameteriv,            VGHandle object, VGint paramType, VGint count, const VGint *values
71void,                   SetPixels,                 VGint dx, VGint dy, VGImage src, VGint sx, VGint sy, VGint width, VGint height
72void,                   Setf,                      VGParamType type, VGfloat value
73void,                   Setfv,                     VGParamType type, VGint count, const VGfloat *values
74void,                   Seti,                      VGParamType type, VGint value
75void,                   Setiv,                     VGParamType type, VGint count, const VGint *values
76void,                   Shear,                     VGfloat shx, VGfloat shy
77void,                   TransformPath,             VGPath dstPath, VGPath srcPath
78void,                   Translate,                 VGfloat tx, VGfloat ty
79void,                   WritePixels,               const void *data, VGint dataStride, VGImageFormat dataFormat, VGint dx, VGint dy, VGint width, VGint height
80
81## OpenVG 1.1
82void,                   ClearGlyph,                VGFont font, VGuint glyphIndex
83void,                   CopyMask,                  VGMaskLayer maskLayer, VGint dx, VGint dy, VGint sx, VGint sy, VGint width, VGint height
84VGFont,                 CreateFont,                VGint glyphCapacityHint
85VGMaskLayer,            CreateMaskLayer,           VGint width, VGint height
86void,                   DestroyFont,               VGFont font
87void,                   DestroyMaskLayer,          VGMaskLayer maskLayer
88void,                   DrawGlyph,                 VGFont font, VGuint glyphIndex, VGbitfield paintModes, VGboolean allowAutoHinting
89void,                   DrawGlyphs,                VGFont font, VGint glyphCount, const VGuint *glyphIndices, const VGfloat *adjustments_x, const VGfloat *adjustments_y, VGbitfield paintModes, VGboolean allowAutoHinting
90void,                   FillMaskLayer,             VGMaskLayer maskLayer, VGint x, VGint y, VGint width, VGint height, VGfloat value
91void,                   RenderToMask,              VGPath path, VGbitfield paintModes, VGMaskOperation operation
92void,                   SetGlyphToImage,           VGFont font, VGuint glyphIndex, VGImage image, const VGfloat glyphOrigin[2], const VGfloat escapement[2]
93void,                   SetGlyphToPath,            VGFont font, VGuint glyphIndex, VGPath path, VGboolean isHinted, const VGfloat glyphOrigin[2], const VGfloat escapement[2]
94