OpenGLRaw-2.6.0.0: A raw binding for the OpenGL graphics system

Copyright(c) Sven Panne 2015
LicenseBSD3
MaintainerSven Panne <svenpanne@gmail.com>
Stabilitystable
Portabilityportable
Safe HaskellNone
LanguageHaskell2010

Graphics.Rendering.OpenGL.Raw.NV.PathRenderingCompatibility

Contents

Description

 

Synopsis

Extension Support

glGetNVPathRendering :: MonadIO m => m Bool

Is the NV_path_rendering extension supported?

gl_NV_path_rendering :: Bool

Is the NV_path_rendering extension supported? Note that in the presence of multiple contexts with different capabilities, this might be wrong. Use glGetNVPathRendering in those cases instead.

Enums

Functions

glCopyPathNV

Arguments

:: MonadIO m 
=> GLuint

resultPath of type Path.

-> GLuint

srcPath of type Path.

-> m () 

glCoverFillPathInstancedNV

Arguments

:: MonadIO m 
=> GLsizei

numPaths.

-> GLenum

pathNameType of type PathElementType.

-> Ptr a

paths pointing to COMPSIZE(numPaths,pathNameType,paths) elements of type PathElement.

-> GLuint

pathBase of type Path.

-> GLenum

coverMode of type PathCoverMode.

-> GLenum

transformType of type PathTransformType.

-> Ptr GLfloat

transformValues pointing to COMPSIZE(numPaths,transformType) elements of type GLfloat.

-> m () 

glCoverFillPathNV

Arguments

:: MonadIO m 
=> GLuint

path of type Path.

-> GLenum

coverMode of type PathCoverMode.

-> m () 

glCoverStrokePathInstancedNV

Arguments

:: MonadIO m 
=> GLsizei

numPaths.

-> GLenum

pathNameType of type PathElementType.

-> Ptr a

paths pointing to COMPSIZE(numPaths,pathNameType,paths) elements of type PathElement.

-> GLuint

pathBase of type Path.

-> GLenum

coverMode of type PathCoverMode.

-> GLenum

transformType of type PathTransformType.

-> Ptr GLfloat

transformValues pointing to COMPSIZE(numPaths,transformType) elements of type GLfloat.

-> m () 

glCoverStrokePathNV

Arguments

:: MonadIO m 
=> GLuint

path of type Path.

-> GLenum

coverMode of type PathCoverMode.

-> m () 

glDeletePathsNV

Arguments

:: MonadIO m 
=> GLuint

path of type Path.

-> GLsizei

range.

-> m () 

glGenPathsNV

Arguments

:: MonadIO m 
=> GLsizei

range.

-> m GLuint

of type Path.

glGetPathColorGenfvNV

Arguments

:: MonadIO m 
=> GLenum

color of type PathColor.

-> GLenum

pname of type PathGenMode.

-> Ptr GLfloat

value pointing to COMPSIZE(pname) elements of type GLfloat.

-> m () 

glGetPathColorGenivNV

Arguments

:: MonadIO m 
=> GLenum

color of type PathColor.

-> GLenum

pname of type PathGenMode.

-> Ptr GLint

value pointing to COMPSIZE(pname) elements of type GLint.

-> m () 

glGetPathCommandsNV

Arguments

:: MonadIO m 
=> GLuint

path of type Path.

-> Ptr GLubyte

commands pointing to COMPSIZE(path) elements of type PathCommand.

-> m () 

glGetPathCoordsNV

Arguments

:: MonadIO m 
=> GLuint

path of type Path.

-> Ptr GLfloat

coords pointing to COMPSIZE(path) elements of type GLfloat.

-> m () 

glGetPathDashArrayNV

Arguments

:: MonadIO m 
=> GLuint

path of type Path.

-> Ptr GLfloat

dashArray pointing to COMPSIZE(path) elements of type GLfloat.

-> m () 

glGetPathLengthNV

Arguments

:: MonadIO m 
=> GLuint

path of type Path.

-> GLsizei

startSegment.

-> GLsizei

numSegments.

-> m GLfloat 

glGetPathMetricRangeNV

Arguments

:: MonadIO m 
=> GLbitfield

metricQueryMask of type PathMetricMask.

-> GLuint

firstPathName of type Path.

-> GLsizei

numPaths.

-> GLsizei

stride.

-> Ptr GLfloat

metrics pointing to COMPSIZE(metricQueryMask,numPaths,stride) elements of type GLfloat.

-> m () 

glGetPathMetricsNV

Arguments

:: MonadIO m 
=> GLbitfield

metricQueryMask of type PathMetricMask.

-> GLsizei

numPaths.

-> GLenum

pathNameType of type PathElementType.

-> Ptr a

paths pointing to COMPSIZE(numPaths,pathNameType,paths) elements of type PathElement.

-> GLuint

pathBase of type Path.

-> GLsizei

stride.

-> Ptr GLfloat

metrics pointing to COMPSIZE(metricQueryMask,numPaths,stride) elements of type GLfloat.

-> m () 

glGetPathParameterfvNV

Arguments

:: MonadIO m 
=> GLuint

path of type Path.

-> GLenum

pname of type PathParameter.

-> Ptr GLfloat

value pointing to 4 elements of type GLfloat.

-> m () 

glGetPathParameterivNV

Arguments

:: MonadIO m 
=> GLuint

path of type Path.

-> GLenum

pname of type PathParameter.

-> Ptr GLint

value pointing to 4 elements of type GLint.

-> m () 

glGetPathSpacingNV

Arguments

:: MonadIO m 
=> GLenum

pathListMode of type PathListMode.

-> GLsizei

numPaths.

-> GLenum

pathNameType of type PathElementType.

-> Ptr a

paths pointing to COMPSIZE(numPaths,pathNameType,paths) elements of type PathElement.

-> GLuint

pathBase of type Path.

-> GLfloat

advanceScale.

-> GLfloat

kerningScale.

-> GLenum

transformType of type PathTransformType.

-> Ptr GLfloat

returnedSpacing pointing to COMPSIZE(pathListMode,numPaths) elements of type GLfloat.

-> m () 

glGetPathTexGenfvNV

Arguments

:: MonadIO m 
=> GLenum

texCoordSet of type TextureUnit.

-> GLenum

pname of type PathGenMode.

-> Ptr GLfloat

value pointing to COMPSIZE(pname) elements of type GLfloat.

-> m () 

glGetPathTexGenivNV

Arguments

:: MonadIO m 
=> GLenum

texCoordSet of type TextureUnit.

-> GLenum

pname of type PathGenMode.

-> Ptr GLint

value pointing to COMPSIZE(pname) elements of type GLint.

-> m () 

glGetProgramResourcefvNV

Arguments

:: MonadIO m 
=> GLuint

program.

-> GLenum

programInterface.

-> GLuint

index.

-> GLsizei

propCount.

-> Ptr GLenum

props.

-> GLsizei

bufSize.

-> Ptr GLsizei

length.

-> Ptr GLfloat

params.

-> m () 

glInterpolatePathsNV

Arguments

:: MonadIO m 
=> GLuint

resultPath of type Path.

-> GLuint

pathA of type Path.

-> GLuint

pathB of type Path.

-> GLfloat

weight.

-> m () 

glIsPathNV

Arguments

:: MonadIO m 
=> GLuint

path of type Path.

-> m GLboolean

of type Boolean.

glIsPointInFillPathNV

Arguments

:: MonadIO m 
=> GLuint

path of type Path.

-> GLuint

mask of type MaskedStencilValue.

-> GLfloat

x.

-> GLfloat

y.

-> m GLboolean

of type Boolean.

glIsPointInStrokePathNV

Arguments

:: MonadIO m 
=> GLuint

path of type Path.

-> GLfloat

x.

-> GLfloat

y.

-> m GLboolean

of type Boolean.

glMatrixLoad3x2fNV

Arguments

:: MonadIO m 
=> GLenum

matrixMode.

-> Ptr GLfloat

m.

-> m () 

glMatrixLoad3x3fNV

Arguments

:: MonadIO m 
=> GLenum

matrixMode.

-> Ptr GLfloat

m.

-> m () 

glMatrixLoadTranspose3x3fNV

Arguments

:: MonadIO m 
=> GLenum

matrixMode.

-> Ptr GLfloat

m.

-> m () 

glMatrixMult3x2fNV

Arguments

:: MonadIO m 
=> GLenum

matrixMode.

-> Ptr GLfloat

m.

-> m () 

glMatrixMult3x3fNV

Arguments

:: MonadIO m 
=> GLenum

matrixMode.

-> Ptr GLfloat

m.

-> m () 

glMatrixMultTranspose3x3fNV

Arguments

:: MonadIO m 
=> GLenum

matrixMode.

-> Ptr GLfloat

m.

-> m () 

glPathColorGenNV

Arguments

:: MonadIO m 
=> GLenum

color of type PathColor.

-> GLenum

genMode of type PathGenMode.

-> GLenum

colorFormat of type PathColorFormat.

-> Ptr GLfloat

coeffs pointing to COMPSIZE(genMode,colorFormat) elements of type GLfloat.

-> m () 

glPathCommandsNV

Arguments

:: MonadIO m 
=> GLuint

path of type Path.

-> GLsizei

numCommands.

-> Ptr GLubyte

commands pointing to numCommands elements of type PathCommand.

-> GLsizei

numCoords.

-> GLenum

coordType of type PathCoordType.

-> Ptr a

coords pointing to COMPSIZE(numCoords,coordType) elements of type a.

-> m () 

glPathCoordsNV

Arguments

:: MonadIO m 
=> GLuint

path of type Path.

-> GLsizei

numCoords.

-> GLenum

coordType of type PathCoordType.

-> Ptr a

coords pointing to COMPSIZE(numCoords,coordType) elements of type a.

-> m () 

glPathCoverDepthFuncNV

Arguments

:: MonadIO m 
=> GLenum

func of type DepthFunction.

-> m () 

glPathDashArrayNV

Arguments

:: MonadIO m 
=> GLuint

path of type Path.

-> GLsizei

dashCount.

-> Ptr GLfloat

dashArray pointing to dashCount elements of type GLfloat.

-> m () 

glPathFogGenNV

Arguments

:: MonadIO m 
=> GLenum

genMode of type PathGenMode.

-> m () 

glPathGlyphIndexArrayNV

Arguments

:: MonadIO m 
=> GLuint

firstPathName.

-> GLenum

fontTarget.

-> Ptr a

fontName.

-> GLbitfield

fontStyle.

-> GLuint

firstGlyphIndex.

-> GLsizei

numGlyphs.

-> GLuint

pathParameterTemplate.

-> GLfloat

emScale.

-> m GLenum 

glPathGlyphIndexRangeNV

Arguments

:: MonadIO m 
=> GLenum

fontTarget.

-> Ptr a

fontName.

-> GLbitfield

fontStyle.

-> GLuint

pathParameterTemplate.

-> GLfloat

emScale.

-> Ptr GLuint

baseAndCount.

-> m GLenum 

glPathGlyphRangeNV

Arguments

:: MonadIO m 
=> GLuint

firstPathName of type Path.

-> GLenum

fontTarget of type PathFontTarget.

-> Ptr a

fontName pointing to COMPSIZE(fontTarget,fontName) elements of type a.

-> GLbitfield

fontStyle of type PathFontStyle.

-> GLuint

firstGlyph.

-> GLsizei

numGlyphs.

-> GLenum

handleMissingGlyphs of type PathHandleMissingGlyphs.

-> GLuint

pathParameterTemplate of type Path.

-> GLfloat

emScale.

-> m () 

glPathGlyphsNV

Arguments

:: MonadIO m 
=> GLuint

firstPathName of type Path.

-> GLenum

fontTarget of type PathFontTarget.

-> Ptr a

fontName pointing to COMPSIZE(fontTarget,fontName) elements of type a.

-> GLbitfield

fontStyle of type PathFontStyle.

-> GLsizei

numGlyphs.

-> GLenum

type of type PathElementType.

-> Ptr b

charcodes pointing to COMPSIZE(numGlyphs,type,charcodes) elements of type b.

-> GLenum

handleMissingGlyphs of type PathHandleMissingGlyphs.

-> GLuint

pathParameterTemplate of type Path.

-> GLfloat

emScale.

-> m () 

glPathMemoryGlyphIndexArrayNV

Arguments

:: MonadIO m 
=> GLuint

firstPathName.

-> GLenum

fontTarget.

-> GLsizeiptr

fontSize.

-> Ptr a

fontData.

-> GLsizei

faceIndex.

-> GLuint

firstGlyphIndex.

-> GLsizei

numGlyphs.

-> GLuint

pathParameterTemplate.

-> GLfloat

emScale.

-> m GLenum 

glPathParameterfNV

Arguments

:: MonadIO m 
=> GLuint

path of type Path.

-> GLenum

pname of type PathParameter.

-> GLfloat

value.

-> m () 

glPathParameterfvNV

Arguments

:: MonadIO m 
=> GLuint

path of type Path.

-> GLenum

pname of type PathParameter.

-> Ptr GLfloat

value pointing to COMPSIZE(pname) elements of type GLfloat.

-> m () 

glPathParameteriNV

Arguments

:: MonadIO m 
=> GLuint

path of type Path.

-> GLenum

pname of type PathParameter.

-> GLint

value.

-> m () 

glPathParameterivNV

Arguments

:: MonadIO m 
=> GLuint

path of type Path.

-> GLenum

pname of type PathParameter.

-> Ptr GLint

value pointing to COMPSIZE(pname) elements of type GLint.

-> m () 

glPathStencilDepthOffsetNV

Arguments

:: MonadIO m 
=> GLfloat

factor.

-> GLfloat

units.

-> m () 

glPathStencilFuncNV

Arguments

:: MonadIO m 
=> GLenum

func of type StencilFunction.

-> GLint

ref of type ClampedStencilValue.

-> GLuint

mask of type MaskedStencilValue.

-> m () 

glPathStringNV

Arguments

:: MonadIO m 
=> GLuint

path of type Path.

-> GLenum

format of type PathStringFormat.

-> GLsizei

length.

-> Ptr a

pathString pointing to length elements of type a.

-> m () 

glPathSubCommandsNV

Arguments

:: MonadIO m 
=> GLuint

path of type Path.

-> GLsizei

commandStart.

-> GLsizei

commandsToDelete.

-> GLsizei

numCommands.

-> Ptr GLubyte

commands pointing to numCommands elements of type PathCommand.

-> GLsizei

numCoords.

-> GLenum

coordType of type PathCoordType.

-> Ptr a

coords pointing to COMPSIZE(numCoords,coordType) elements of type a.

-> m () 

glPathSubCoordsNV

Arguments

:: MonadIO m 
=> GLuint

path of type Path.

-> GLsizei

coordStart.

-> GLsizei

numCoords.

-> GLenum

coordType of type PathCoordType.

-> Ptr a

coords pointing to COMPSIZE(numCoords,coordType) elements of type a.

-> m () 

glPathTexGenNV

Arguments

:: MonadIO m 
=> GLenum

texCoordSet of type PathColor.

-> GLenum

genMode of type PathGenMode.

-> GLint

components.

-> Ptr GLfloat

coeffs pointing to COMPSIZE(genMode,components) elements of type GLfloat.

-> m () 

glPointAlongPathNV

Arguments

:: MonadIO m 
=> GLuint

path of type Path.

-> GLsizei

startSegment.

-> GLsizei

numSegments.

-> GLfloat

distance.

-> Ptr GLfloat

x pointing to 1 element of type GLfloat.

-> Ptr GLfloat

y pointing to 1 element of type GLfloat.

-> Ptr GLfloat

tangentX pointing to 1 element of type GLfloat.

-> Ptr GLfloat

tangentY pointing to 1 element of type GLfloat.

-> m GLboolean

of type Boolean.

glProgramPathFragmentInputGenNV

Arguments

:: MonadIO m 
=> GLuint

program.

-> GLint

location.

-> GLenum

genMode.

-> GLint

components.

-> Ptr GLfloat

coeffs.

-> m () 

glStencilFillPathInstancedNV

Arguments

:: MonadIO m 
=> GLsizei

numPaths.

-> GLenum

pathNameType of type PathElementType.

-> Ptr a

paths pointing to COMPSIZE(numPaths,pathNameType,paths) elements of type PathElement.

-> GLuint

pathBase of type Path.

-> GLenum

fillMode of type PathFillMode.

-> GLuint

mask of type MaskedStencilValue.

-> GLenum

transformType of type PathTransformType.

-> Ptr GLfloat

transformValues pointing to COMPSIZE(numPaths,transformType) elements of type GLfloat.

-> m () 

glStencilFillPathNV

Arguments

:: MonadIO m 
=> GLuint

path of type Path.

-> GLenum

fillMode of type PathFillMode.

-> GLuint

mask of type MaskedStencilValue.

-> m () 

glStencilStrokePathInstancedNV

Arguments

:: MonadIO m 
=> GLsizei

numPaths.

-> GLenum

pathNameType of type PathElementType.

-> Ptr a

paths pointing to COMPSIZE(numPaths,pathNameType,paths) elements of type PathElement.

-> GLuint

pathBase of type Path.

-> GLint

reference of type StencilValue.

-> GLuint

mask of type MaskedStencilValue.

-> GLenum

transformType of type PathTransformType.

-> Ptr GLfloat

transformValues pointing to COMPSIZE(numPaths,transformType) elements of type GLfloat.

-> m () 

glStencilStrokePathNV

Arguments

:: MonadIO m 
=> GLuint

path of type Path.

-> GLint

reference of type StencilValue.

-> GLuint

mask of type MaskedStencilValue.

-> m () 

glStencilThenCoverFillPathInstancedNV

Arguments

:: MonadIO m 
=> GLsizei

numPaths.

-> GLenum

pathNameType.

-> Ptr a

paths.

-> GLuint

pathBase.

-> GLenum

fillMode.

-> GLuint

mask.

-> GLenum

coverMode.

-> GLenum

transformType.

-> Ptr GLfloat

transformValues.

-> m () 

glStencilThenCoverFillPathNV

Arguments

:: MonadIO m 
=> GLuint

path.

-> GLenum

fillMode.

-> GLuint

mask.

-> GLenum

coverMode.

-> m () 

glStencilThenCoverStrokePathInstancedNV

Arguments

:: MonadIO m 
=> GLsizei

numPaths.

-> GLenum

pathNameType.

-> Ptr a

paths.

-> GLuint

pathBase.

-> GLint

reference.

-> GLuint

mask.

-> GLenum

coverMode.

-> GLenum

transformType.

-> Ptr GLfloat

transformValues.

-> m () 

glStencilThenCoverStrokePathNV

Arguments

:: MonadIO m 
=> GLuint

path.

-> GLint

reference.

-> GLuint

mask.

-> GLenum

coverMode.

-> m () 

glTransformPathNV

Arguments

:: MonadIO m 
=> GLuint

resultPath of type Path.

-> GLuint

srcPath of type Path.

-> GLenum

transformType of type PathTransformType.

-> Ptr GLfloat

transformValues pointing to COMPSIZE(transformType) elements of type GLfloat.

-> m () 

glWeightPathsNV

Arguments

:: MonadIO m 
=> GLuint

resultPath of type Path.

-> GLsizei

numPaths.

-> Ptr GLuint

paths pointing to numPaths elements of type Path.

-> Ptr GLfloat

weights pointing to numPaths elements of type GLfloat.

-> m ()