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

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

Graphics.GL.NV.PathRenderingCompatibility

Contents

Description

 

Synopsis

Extension Support

glGetNVPathRendering :: MonadIO m => m Bool Source #

Is the NV_path_rendering extension supported?

gl_NV_path_rendering :: Bool Source #

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 Source #

Arguments

:: MonadIO m 
=> GLuint

resultPath of type Path.

-> GLuint

srcPath of type Path.

-> m () 

glCoverFillPathInstancedNV Source #

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 Source #

Arguments

:: MonadIO m 
=> GLuint

path of type Path.

-> GLenum

coverMode of type PathCoverMode.

-> m () 

glCoverStrokePathInstancedNV Source #

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 Source #

Arguments

:: MonadIO m 
=> GLuint

path of type Path.

-> GLenum

coverMode of type PathCoverMode.

-> m () 

glDeletePathsNV Source #

Arguments

:: MonadIO m 
=> GLuint

path of type Path.

-> GLsizei

range.

-> m () 

glGenPathsNV Source #

Arguments

:: MonadIO m 
=> GLsizei

range.

-> m GLuint

of type Path.

glGetPathColorGenfvNV Source #

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 Source #

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 Source #

Arguments

:: MonadIO m 
=> GLuint

path of type Path.

-> Ptr GLubyte

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

-> m () 

glGetPathCoordsNV Source #

Arguments

:: MonadIO m 
=> GLuint

path of type Path.

-> Ptr GLfloat

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

-> m () 

glGetPathDashArrayNV Source #

Arguments

:: MonadIO m 
=> GLuint

path of type Path.

-> Ptr GLfloat

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

-> m () 

glGetPathLengthNV Source #

Arguments

:: MonadIO m 
=> GLuint

path of type Path.

-> GLsizei

startSegment.

-> GLsizei

numSegments.

-> m GLfloat 

glGetPathMetricRangeNV Source #

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 Source #

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 Source #

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 Source #

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 Source #

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 Source #

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 Source #

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 Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> GLenum

programInterface.

-> GLuint

index.

-> GLsizei

propCount.

-> Ptr GLenum

props.

-> GLsizei

bufSize.

-> Ptr GLsizei

length.

-> Ptr GLfloat

params.

-> m () 

glInterpolatePathsNV Source #

Arguments

:: MonadIO m 
=> GLuint

resultPath of type Path.

-> GLuint

pathA of type Path.

-> GLuint

pathB of type Path.

-> GLfloat

weight.

-> m () 

glIsPathNV Source #

Arguments

:: MonadIO m 
=> GLuint

path of type Path.

-> m GLboolean

of type Boolean.

glIsPointInFillPathNV Source #

Arguments

:: MonadIO m 
=> GLuint

path of type Path.

-> GLuint

mask of type MaskedStencilValue.

-> GLfloat

x.

-> GLfloat

y.

-> m GLboolean

of type Boolean.

glIsPointInStrokePathNV Source #

Arguments

:: MonadIO m 
=> GLuint

path of type Path.

-> GLfloat

x.

-> GLfloat

y.

-> m GLboolean

of type Boolean.

glMatrixLoad3x2fNV Source #

Arguments

:: MonadIO m 
=> GLenum

matrixMode.

-> Ptr GLfloat

m.

-> m () 

glMatrixLoad3x3fNV Source #

Arguments

:: MonadIO m 
=> GLenum

matrixMode.

-> Ptr GLfloat

m.

-> m () 

glMatrixLoadTranspose3x3fNV Source #

Arguments

:: MonadIO m 
=> GLenum

matrixMode.

-> Ptr GLfloat

m.

-> m () 

glMatrixMult3x2fNV Source #

Arguments

:: MonadIO m 
=> GLenum

matrixMode.

-> Ptr GLfloat

m.

-> m () 

glMatrixMult3x3fNV Source #

Arguments

:: MonadIO m 
=> GLenum

matrixMode.

-> Ptr GLfloat

m.

-> m () 

glMatrixMultTranspose3x3fNV Source #

Arguments

:: MonadIO m 
=> GLenum

matrixMode.

-> Ptr GLfloat

m.

-> m () 

glPathColorGenNV Source #

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 Source #

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 Source #

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 Source #

Arguments

:: MonadIO m 
=> GLenum

func of type DepthFunction.

-> m () 

glPathDashArrayNV Source #

Arguments

:: MonadIO m 
=> GLuint

path of type Path.

-> GLsizei

dashCount.

-> Ptr GLfloat

dashArray pointing to dashCount elements of type GLfloat.

-> m () 

glPathFogGenNV Source #

Arguments

:: MonadIO m 
=> GLenum

genMode of type PathGenMode.

-> m () 

glPathGlyphIndexArrayNV Source #

Arguments

:: MonadIO m 
=> GLuint

firstPathName.

-> GLenum

fontTarget.

-> Ptr a

fontName.

-> GLbitfield

fontStyle.

-> GLuint

firstGlyphIndex.

-> GLsizei

numGlyphs.

-> GLuint

pathParameterTemplate.

-> GLfloat

emScale.

-> m GLenum 

glPathGlyphIndexRangeNV Source #

Arguments

:: MonadIO m 
=> GLenum

fontTarget.

-> Ptr a

fontName.

-> GLbitfield

fontStyle.

-> GLuint

pathParameterTemplate.

-> GLfloat

emScale.

-> Ptr GLuint

baseAndCount.

-> m GLenum 

glPathGlyphRangeNV Source #

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 Source #

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 Source #

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 Source #

Arguments

:: MonadIO m 
=> GLuint

path of type Path.

-> GLenum

pname of type PathParameter.

-> GLfloat

value.

-> m () 

glPathParameterfvNV Source #

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 Source #

Arguments

:: MonadIO m 
=> GLuint

path of type Path.

-> GLenum

pname of type PathParameter.

-> GLint

value.

-> m () 

glPathParameterivNV Source #

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 Source #

Arguments

:: MonadIO m 
=> GLfloat

factor.

-> GLfloat

units.

-> m () 

glPathStencilFuncNV Source #

Arguments

:: MonadIO m 
=> GLenum

func of type StencilFunction.

-> GLint

ref of type ClampedStencilValue.

-> GLuint

mask of type MaskedStencilValue.

-> m () 

glPathStringNV Source #

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 Source #

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 Source #

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 Source #

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 Source #

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 Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> GLint

location.

-> GLenum

genMode.

-> GLint

components.

-> Ptr GLfloat

coeffs.

-> m () 

glStencilFillPathInstancedNV Source #

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 Source #

Arguments

:: MonadIO m 
=> GLuint

path of type Path.

-> GLenum

fillMode of type PathFillMode.

-> GLuint

mask of type MaskedStencilValue.

-> m () 

glStencilStrokePathInstancedNV Source #

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 Source #

Arguments

:: MonadIO m 
=> GLuint

path of type Path.

-> GLint

reference of type StencilValue.

-> GLuint

mask of type MaskedStencilValue.

-> m () 

glStencilThenCoverFillPathInstancedNV Source #

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 Source #

Arguments

:: MonadIO m 
=> GLuint

path.

-> GLenum

fillMode.

-> GLuint

mask.

-> GLenum

coverMode.

-> m () 

glStencilThenCoverStrokePathInstancedNV Source #

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 Source #

Arguments

:: MonadIO m 
=> GLuint

path.

-> GLint

reference.

-> GLuint

mask.

-> GLenum

coverMode.

-> m () 

glTransformPathNV Source #

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 Source #

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 ()