1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295
|
'''Autogenerated by get_gl_extensions script, do not edit!'''
from OpenGL import platform as _p, constants as _cs, arrays
from OpenGL.GL import glget
import ctypes
EXTENSION_NAME = 'GL_NV_path_rendering'
def _f( function ):
return _p.createFunction( function,_p.GL,'GL_NV_path_rendering',False)
_p.unpack_constants( """GL_PATH_FORMAT_SVG_NV 0x9070
GL_PATH_FORMAT_PS_NV 0x9071
GL_STANDARD_FONT_NAME_NV 0x9072
GL_SYSTEM_FONT_NAME_NV 0x9073
GL_FILE_NAME_NV 0x9074
GL_PATH_STROKE_WIDTH_NV 0x9075
GL_PATH_END_CAPS_NV 0x9076
GL_PATH_INITIAL_END_CAP_NV 0x9077
GL_PATH_TERMINAL_END_CAP_NV 0x9078
GL_PATH_JOIN_STYLE_NV 0x9079
GL_PATH_MITER_LIMIT_NV 0x907A
GL_PATH_DASH_CAPS_NV 0x907B
GL_PATH_INITIAL_DASH_CAP_NV 0x907C
GL_PATH_TERMINAL_DASH_CAP_NV 0x907D
GL_PATH_DASH_OFFSET_NV 0x907E
GL_PATH_CLIENT_LENGTH_NV 0x907F
GL_PATH_FILL_MODE_NV 0x9080
GL_PATH_FILL_MASK_NV 0x9081
GL_PATH_FILL_COVER_MODE_NV 0x9082
GL_PATH_STROKE_COVER_MODE_NV 0x9083
GL_PATH_STROKE_MASK_NV 0x9084
GL_PATH_SAMPLE_QUALITY_NV 0x9085
GL_PATH_STROKE_BOUND_NV 0x9086
GL_PATH_STROKE_OVERSAMPLE_COUNT_NV 0x9087
GL_COUNT_UP_NV 0x9088
GL_COUNT_DOWN_NV 0x9089
GL_PATH_OBJECT_BOUNDING_BOX_NV 0x908A
GL_CONVEX_HULL_NV 0x908B
GL_MULTI_HULLS_NV 0x908C
GL_BOUNDING_BOX_NV 0x908D
GL_TRANSLATE_X_NV 0x908E
GL_TRANSLATE_Y_NV 0x908F
GL_TRANSLATE_2D_NV 0x9090
GL_TRANSLATE_3D_NV 0x9091
GL_AFFINE_2D_NV 0x9092
GL_PROJECTIVE_2D_NV 0x9093
GL_AFFINE_3D_NV 0x9094
GL_PROJECTIVE_3D_NV 0x9095
GL_TRANSPOSE_AFFINE_2D_NV 0x9096
GL_TRANSPOSE_PROJECTIVE_2D_NV 0x9097
GL_TRANSPOSE_AFFINE_3D_NV 0x9098
GL_TRANSPOSE_PROJECTIVE_3D_NV 0x9099
GL_UTF8_NV 0x909A
GL_UTF16_NV 0x909B
GL_BOUNDING_BOX_OF_BOUNDING_BOXES_NV 0x909C
GL_PATH_COMMAND_COUNT_NV 0x909D
GL_PATH_COORD_COUNT_NV 0x909E
GL_PATH_DASH_ARRAY_COUNT_NV 0x909F
GL_PATH_COMPUTED_LENGTH_NV 0x90A0
GL_PATH_FILL_BOUNDING_BOX_NV 0x90A1
GL_PATH_STROKE_BOUNDING_BOX_NV 0x90A2
GL_SQUARE_NV 0x90A3
GL_ROUND_NV 0x90A4
GL_TRIANGULAR_NV 0x90A5
GL_BEVEL_NV 0x90A6
GL_MITER_REVERT_NV 0x90A7
GL_MITER_TRUNCATE_NV 0x90A8
GL_SKIP_MISSING_GLYPH_NV 0x90A9
GL_USE_MISSING_GLYPH_NV 0x90AA
GL_PATH_ERROR_POSITION_NV 0x90AB
GL_PATH_FOG_GEN_MODE_NV 0x90AC
GL_ACCUM_ADJACENT_PAIRS_NV 0x90AD
GL_ADJACENT_PAIRS_NV 0x90AE
GL_FIRST_TO_REST_NV 0x90AF
GL_PATH_GEN_MODE_NV 0x90B0
GL_PATH_GEN_COEFF_NV 0x90B1
GL_PATH_GEN_COLOR_FORMAT_NV 0x90B2
GL_PATH_GEN_COMPONENTS_NV 0x90B3
GL_PATH_STENCIL_FUNC_NV 0x90B7
GL_PATH_STENCIL_REF_NV 0x90B8
GL_PATH_STENCIL_VALUE_MASK_NV 0x90B9
GL_PATH_STENCIL_DEPTH_OFFSET_FACTOR_NV 0x90BD
GL_PATH_STENCIL_DEPTH_OFFSET_UNITS_NV 0x90BE
GL_PATH_COVER_DEPTH_FUNC_NV 0x90BF
GL_PATH_DASH_OFFSET_RESET_NV 0x90B4
GL_MOVE_TO_RESETS_NV 0x90B5
GL_MOVE_TO_CONTINUES_NV 0x90B6
GL_CLOSE_PATH_NV 0x0
GL_MOVE_TO_NV 0x2
GL_RELATIVE_MOVE_TO_NV 0x3
GL_LINE_TO_NV 0x4
GL_RELATIVE_LINE_TO_NV 0x5
GL_HORIZONTAL_LINE_TO_NV 0x6
GL_RELATIVE_HORIZONTAL_LINE_TO_NV 0x7
GL_VERTICAL_LINE_TO_NV 0x8
GL_RELATIVE_VERTICAL_LINE_TO_NV 0x9
GL_QUADRATIC_CURVE_TO_NV 0xA
GL_RELATIVE_QUADRATIC_CURVE_TO_NV 0xB
GL_CUBIC_CURVE_TO_NV 0xC
GL_RELATIVE_CUBIC_CURVE_TO_NV 0xD
GL_SMOOTH_QUADRATIC_CURVE_TO_NV 0xE
GL_RELATIVE_SMOOTH_QUADRATIC_CURVE_TO_NV 0xF
GL_SMOOTH_CUBIC_CURVE_TO_NV 0x10
GL_RELATIVE_SMOOTH_CUBIC_CURVE_TO_NV 0x11
GL_SMALL_CCW_ARC_TO_NV 0x12
GL_RELATIVE_SMALL_CCW_ARC_TO_NV 0x13
GL_SMALL_CW_ARC_TO_NV 0x14
GL_RELATIVE_SMALL_CW_ARC_TO_NV 0x15
GL_LARGE_CCW_ARC_TO_NV 0x16
GL_RELATIVE_LARGE_CCW_ARC_TO_NV 0x17
GL_LARGE_CW_ARC_TO_NV 0x18
GL_RELATIVE_LARGE_CW_ARC_TO_NV 0x19
GL_RESTART_PATH_NV 0xF0
GL_DUP_FIRST_CUBIC_CURVE_TO_NV 0xF2
GL_DUP_LAST_CUBIC_CURVE_TO_NV 0xF4
GL_RECT_NV 0xF6
GL_CIRCULAR_CCW_ARC_TO_NV 0xF8
GL_CIRCULAR_CW_ARC_TO_NV 0xFA
GL_CIRCULAR_TANGENT_ARC_TO_NV 0xFC
GL_ARC_TO_NV 0xFE
GL_RELATIVE_ARC_TO_NV 0xFF
GL_BOLD_BIT_NV 0x1
GL_ITALIC_BIT_NV 0x2
GL_GLYPH_WIDTH_BIT_NV 0x1
GL_GLYPH_HEIGHT_BIT_NV 0x2
GL_GLYPH_HORIZONTAL_BEARING_X_BIT_NV 0x4
GL_GLYPH_HORIZONTAL_BEARING_Y_BIT_NV 0x8
GL_GLYPH_HORIZONTAL_BEARING_ADVANCE_BIT_NV 0x10
GL_GLYPH_VERTICAL_BEARING_X_BIT_NV 0x20
GL_GLYPH_VERTICAL_BEARING_Y_BIT_NV 0x40
GL_GLYPH_VERTICAL_BEARING_ADVANCE_BIT_NV 0x80
GL_GLYPH_HAS_KERNING_NV 0x100
GL_FONT_X_MIN_BOUNDS_NV 0x10000
GL_FONT_Y_MIN_BOUNDS_NV 0x20000
GL_FONT_X_MAX_BOUNDS_NV 0x40000
GL_FONT_Y_MAX_BOUNDS_NV 0x80000
GL_FONT_UNITS_PER_EM_NV 0x100000
GL_FONT_ASCENDER_NV 0x200000
GL_FONT_DESCENDER_NV 0x400000
GL_FONT_HEIGHT_NV 0x800000
GL_FONT_MAX_ADVANCE_WIDTH_NV 0x1000000
GL_FONT_MAX_ADVANCE_HEIGHT_NV 0x2000000
GL_FONT_UNDERLINE_POSITION_NV 0x4000000
GL_FONT_UNDERLINE_THICKNESS_NV 0x8000000
GL_FONT_HAS_KERNING_NV 0x10000000""", globals())
@_f
@_p.types(_cs.GLuint,_cs.GLsizei)
def glGenPathsNV( range ):pass
@_f
@_p.types(None,_cs.GLuint,_cs.GLsizei)
def glDeletePathsNV( path,range ):pass
@_f
@_p.types(_cs.GLboolean,_cs.GLuint)
def glIsPathNV( path ):pass
@_f
@_p.types(None,_cs.GLuint,_cs.GLsizei,arrays.GLubyteArray,_cs.GLsizei,_cs.GLenum,ctypes.c_void_p)
def glPathCommandsNV( path,numCommands,commands,numCoords,coordType,coords ):pass
@_f
@_p.types(None,_cs.GLuint,_cs.GLsizei,_cs.GLenum,ctypes.c_void_p)
def glPathCoordsNV( path,numCoords,coordType,coords ):pass
@_f
@_p.types(None,_cs.GLuint,_cs.GLsizei,_cs.GLsizei,_cs.GLsizei,arrays.GLubyteArray,_cs.GLsizei,_cs.GLenum,ctypes.c_void_p)
def glPathSubCommandsNV( path,commandStart,commandsToDelete,numCommands,commands,numCoords,coordType,coords ):pass
@_f
@_p.types(None,_cs.GLuint,_cs.GLsizei,_cs.GLsizei,_cs.GLenum,ctypes.c_void_p)
def glPathSubCoordsNV( path,coordStart,numCoords,coordType,coords ):pass
@_f
@_p.types(None,_cs.GLuint,_cs.GLenum,_cs.GLsizei,ctypes.c_void_p)
def glPathStringNV( path,format,length,pathString ):pass
@_f
@_p.types(None,_cs.GLuint,_cs.GLenum,ctypes.c_void_p,_cs.GLbitfield,_cs.GLsizei,_cs.GLenum,ctypes.c_void_p,_cs.GLenum,_cs.GLuint,_cs.GLfloat)
def glPathGlyphsNV( firstPathName,fontTarget,fontName,fontStyle,numGlyphs,type,charcodes,handleMissingGlyphs,pathParameterTemplate,emScale ):pass
@_f
@_p.types(None,_cs.GLuint,_cs.GLenum,ctypes.c_void_p,_cs.GLbitfield,_cs.GLuint,_cs.GLsizei,_cs.GLenum,_cs.GLuint,_cs.GLfloat)
def glPathGlyphRangeNV( firstPathName,fontTarget,fontName,fontStyle,firstGlyph,numGlyphs,handleMissingGlyphs,pathParameterTemplate,emScale ):pass
@_f
@_p.types(None,_cs.GLuint,_cs.GLsizei,arrays.GLuintArray,arrays.GLfloatArray)
def glWeightPathsNV( resultPath,numPaths,paths,weights ):pass
@_f
@_p.types(None,_cs.GLuint,_cs.GLuint)
def glCopyPathNV( resultPath,srcPath ):pass
@_f
@_p.types(None,_cs.GLuint,_cs.GLuint,_cs.GLuint,_cs.GLfloat)
def glInterpolatePathsNV( resultPath,pathA,pathB,weight ):pass
@_f
@_p.types(None,_cs.GLuint,_cs.GLuint,_cs.GLenum,arrays.GLfloatArray)
def glTransformPathNV( resultPath,srcPath,transformType,transformValues ):pass
@_f
@_p.types(None,_cs.GLuint,_cs.GLenum,arrays.GLintArray)
def glPathParameterivNV( path,pname,value ):pass
@_f
@_p.types(None,_cs.GLuint,_cs.GLenum,_cs.GLint)
def glPathParameteriNV( path,pname,value ):pass
@_f
@_p.types(None,_cs.GLuint,_cs.GLenum,arrays.GLfloatArray)
def glPathParameterfvNV( path,pname,value ):pass
@_f
@_p.types(None,_cs.GLuint,_cs.GLenum,_cs.GLfloat)
def glPathParameterfNV( path,pname,value ):pass
@_f
@_p.types(None,_cs.GLuint,_cs.GLsizei,arrays.GLfloatArray)
def glPathDashArrayNV( path,dashCount,dashArray ):pass
@_f
@_p.types(None,_cs.GLenum,_cs.GLint,_cs.GLuint)
def glPathStencilFuncNV( func,ref,mask ):pass
@_f
@_p.types(None,_cs.GLfloat,_cs.GLfloat)
def glPathStencilDepthOffsetNV( factor,units ):pass
@_f
@_p.types(None,_cs.GLuint,_cs.GLenum,_cs.GLuint)
def glStencilFillPathNV( path,fillMode,mask ):pass
@_f
@_p.types(None,_cs.GLuint,_cs.GLint,_cs.GLuint)
def glStencilStrokePathNV( path,reference,mask ):pass
@_f
@_p.types(None,_cs.GLsizei,_cs.GLenum,ctypes.c_void_p,_cs.GLuint,_cs.GLenum,_cs.GLuint,_cs.GLenum,arrays.GLfloatArray)
def glStencilFillPathInstancedNV( numPaths,pathNameType,paths,pathBase,fillMode,mask,transformType,transformValues ):pass
@_f
@_p.types(None,_cs.GLsizei,_cs.GLenum,ctypes.c_void_p,_cs.GLuint,_cs.GLint,_cs.GLuint,_cs.GLenum,arrays.GLfloatArray)
def glStencilStrokePathInstancedNV( numPaths,pathNameType,paths,pathBase,reference,mask,transformType,transformValues ):pass
@_f
@_p.types(None,_cs.GLenum)
def glPathCoverDepthFuncNV( func ):pass
@_f
@_p.types(None,_cs.GLenum,_cs.GLenum,_cs.GLenum,arrays.GLfloatArray)
def glPathColorGenNV( color,genMode,colorFormat,coeffs ):pass
@_f
@_p.types(None,_cs.GLenum,_cs.GLenum,_cs.GLint,arrays.GLfloatArray)
def glPathTexGenNV( texCoordSet,genMode,components,coeffs ):pass
@_f
@_p.types(None,_cs.GLenum)
def glPathFogGenNV( genMode ):pass
@_f
@_p.types(None,_cs.GLuint,_cs.GLenum)
def glCoverFillPathNV( path,coverMode ):pass
@_f
@_p.types(None,_cs.GLuint,_cs.GLenum)
def glCoverStrokePathNV( path,coverMode ):pass
@_f
@_p.types(None,_cs.GLsizei,_cs.GLenum,ctypes.c_void_p,_cs.GLuint,_cs.GLenum,_cs.GLenum,arrays.GLfloatArray)
def glCoverFillPathInstancedNV( numPaths,pathNameType,paths,pathBase,coverMode,transformType,transformValues ):pass
@_f
@_p.types(None,_cs.GLsizei,_cs.GLenum,ctypes.c_void_p,_cs.GLuint,_cs.GLenum,_cs.GLenum,arrays.GLfloatArray)
def glCoverStrokePathInstancedNV( numPaths,pathNameType,paths,pathBase,coverMode,transformType,transformValues ):pass
@_f
@_p.types(None,_cs.GLuint,_cs.GLenum,arrays.GLintArray)
def glGetPathParameterivNV( path,pname,value ):pass
@_f
@_p.types(None,_cs.GLuint,_cs.GLenum,arrays.GLfloatArray)
def glGetPathParameterfvNV( path,pname,value ):pass
@_f
@_p.types(None,_cs.GLuint,arrays.GLubyteArray)
def glGetPathCommandsNV( path,commands ):pass
@_f
@_p.types(None,_cs.GLuint,arrays.GLfloatArray)
def glGetPathCoordsNV( path,coords ):pass
@_f
@_p.types(None,_cs.GLuint,arrays.GLfloatArray)
def glGetPathDashArrayNV( path,dashArray ):pass
@_f
@_p.types(None,_cs.GLbitfield,_cs.GLsizei,_cs.GLenum,ctypes.c_void_p,_cs.GLuint,_cs.GLsizei,arrays.GLfloatArray)
def glGetPathMetricsNV( metricQueryMask,numPaths,pathNameType,paths,pathBase,stride,metrics ):pass
@_f
@_p.types(None,_cs.GLbitfield,_cs.GLuint,_cs.GLsizei,_cs.GLsizei,arrays.GLfloatArray)
def glGetPathMetricRangeNV( metricQueryMask,firstPathName,numPaths,stride,metrics ):pass
@_f
@_p.types(None,_cs.GLenum,_cs.GLsizei,_cs.GLenum,ctypes.c_void_p,_cs.GLuint,_cs.GLfloat,_cs.GLfloat,_cs.GLenum,arrays.GLfloatArray)
def glGetPathSpacingNV( pathListMode,numPaths,pathNameType,paths,pathBase,advanceScale,kerningScale,transformType,returnedSpacing ):pass
@_f
@_p.types(None,_cs.GLenum,_cs.GLenum,arrays.GLintArray)
def glGetPathColorGenivNV( color,pname,value ):pass
@_f
@_p.types(None,_cs.GLenum,_cs.GLenum,arrays.GLfloatArray)
def glGetPathColorGenfvNV( color,pname,value ):pass
@_f
@_p.types(None,_cs.GLenum,_cs.GLenum,arrays.GLintArray)
def glGetPathTexGenivNV( texCoordSet,pname,value ):pass
@_f
@_p.types(None,_cs.GLenum,_cs.GLenum,arrays.GLfloatArray)
def glGetPathTexGenfvNV( texCoordSet,pname,value ):pass
@_f
@_p.types(_cs.GLboolean,_cs.GLuint,_cs.GLuint,_cs.GLfloat,_cs.GLfloat)
def glIsPointInFillPathNV( path,mask,x,y ):pass
@_f
@_p.types(_cs.GLboolean,_cs.GLuint,_cs.GLfloat,_cs.GLfloat)
def glIsPointInStrokePathNV( path,x,y ):pass
@_f
@_p.types(_cs.GLfloat,_cs.GLuint,_cs.GLsizei,_cs.GLsizei)
def glGetPathLengthNV( path,startSegment,numSegments ):pass
@_f
@_p.types(_cs.GLboolean,_cs.GLuint,_cs.GLsizei,_cs.GLsizei,_cs.GLfloat,arrays.GLfloatArray,arrays.GLfloatArray,arrays.GLfloatArray,arrays.GLfloatArray)
def glPointAlongPathNV( path,startSegment,numSegments,distance,x,y,tangentX,tangentY ):pass
def glInitPathRenderingNV():
'''Return boolean indicating whether this extension is available'''
from OpenGL import extensions
return extensions.hasGLExtension( EXTENSION_NAME )
|