Conventional OpenGL supports rendering images (pixel rectangles and bitmaps) and simple geometric primitives (points, lines, polygons).
This extension adds a new rendering paradigm, known as path rendering, for rendering filled and stroked paths. Path rendering is not novel but rather a standard part of most resolution-independent 2D rendering systems such as Flash, PDF, Silverlight, SVG, Java 2D, Office drawings, TrueType fonts, PostScript and its fonts, Quartz 2D, XML Paper Specification (XPS), and OpenVG. What is novel is the ability to mix path rendering with arbitrary OpenGL 3D rendering and imaging.
With this extension, path rendering becomes a first-class rendering mode within the OpenGL graphics system that can be arbitrarily mixed with existing OpenGL rendering and can take advantage of OpenGL's existing mechanisms for texturing, programmability, and per-fragment operations.
Unlike geometric primitive rendering, paths are specified on a 2D (non-projective) plane rather than in 3D (projective) space. Even though the path is defined in a 2D plane, every path can be transformed into 3D clip space allowing for 3D view frustum & user-defined clipping, depth offset, and depth testing in the same manner as geometric primitive rendering.
Both geometric primitive rendering and path rendering support rasterization of edges defined by line segments; however, path rendering also allows path segments to be specified by Bezier (cubic or quadratic) curves or partial elliptical arcs. This allows path rendering to define truly curved primitive boundaries unlike the straight edges of line and polygon primitives. Whereas geometric primitive rendering requires convex polygons for well-defined rendering results, path rendering allows (and encourages!) concave and curved outlines to be specified. These paths are even allowed to self-intersect.
When filling closed paths, the winding of paths (counterclockwise or clockwise) determines whether pixels are inside or outside of the path.
Paths can also be stroked whereby, conceptually, a fixed-width "brush" is pulled along the path such that the brush remains orthogonal to the gradient of each path segment. Samples within the sweep of this brush are considered inside the stroke of the path.
This extension supports path rendering through a sequence of three operations:
Path commands can be specified explicitly from path command and coordinate data, parsed from a string based on standard grammars for representing paths, or specified by a particular glyph of standard font representations. Also new paths can be specified by weighting one or more existing paths so long as all the weighted paths have consistent command sequences.
Each path object contains zero or more subpaths specified by a sequence of line segments, partial elliptical arcs, and (cubic or quadratic) Bezier curve segments. Each path may contain multiple subpaths that can be closed (forming a contour) or open.
Path stenciling can determine either the filled or stroked coverage of a path.
The details of path stenciling are explained within the core of the specification.
Stenciling a stroked path supports all the standard embellishments for path stroking such as end caps, join styles, miter limits, dashing, and dash caps. These stroking properties specified are parameters of path objects.
Path covering can cover either the filled or stroked coverage of a path.
The details of path covering are explained within the core of the specification.
To render a path object into the color buffer, an application specifies a path object and then uses a two-step rendering process. First, the path object is stenciled whereby the path object's stroked or filled coverage is rasterized into the stencil buffer. Second, the path object is covered whereby conservative bounding geometry for the path is transformed and rasterized with stencil testing configured to test against the coverage information written to the stencil buffer in the first step so that only fragments covered by the path are written during this second step. Also during this second step written pixels typically have their stencil value reset (so there's no need for clearing the stencil buffer between rendering each path).
| Modifier and Type | Field and Description |
|---|---|
| public static final int | GL_2_BYTES_NV
The following types are defined as alias to the GL tokens. |
| public static final int | GL_3_BYTES_NV
The following types are defined as alias to the GL tokens. |
| public static final int | GL_4_BYTES_NV
The following types are defined as alias to the GL tokens. |
| public static final int | GL_ACCUM_ADJACENT_PAIRS_NV
Accepted by the |
| public static final int | GL_ADJACENT_PAIRS_NV
Accepted by the |
| public static final int | GL_AFFINE_2D_NV
Accepted by the |
| public static final int | GL_AFFINE_3D_NV
Accepted by the |
| public static final byte | GL_ARC_TO_NV
Accepted in elements of the |
| public static final int | GL_BEVEL_NV
Accepted by the |
| public static final int | GL_BOLD_BIT_NV
Accepted by the |
| public static final int | GL_BOUNDING_BOX_NV
Accepted by the |
| public static final int | GL_BOUNDING_BOX_OF_BOUNDING_BOXES_NV
Accepted by the |
| public static final byte | GL_CIRCULAR_CCW_ARC_TO_NV
Accepted in elements of the |
| public static final byte | GL_CIRCULAR_CW_ARC_TO_NV
Accepted in elements of the |
| public static final byte | GL_CIRCULAR_TANGENT_ARC_TO_NV
Accepted in elements of the |
| public static final byte | GL_CLOSE_PATH_NV
Accepted in elements of the |
| public static final byte | GL_CONIC_CURVE_TO_NV
Accepted in elements of the |
| public static final int | GL_CONSTANT_NV
The following types are defined as alias to the GL tokens. |
| public static final int | GL_CONVEX_HULL_NV
Accepted by the |
| public static final int | GL_COUNT_DOWN_NV
Accepted by the |
| public static final int | GL_COUNT_UP_NV
Accepted by the |
| public static final byte | GL_CUBIC_CURVE_TO_NV
Accepted in elements of the |
| public static final byte | GL_DUP_FIRST_CUBIC_CURVE_TO_NV
Accepted in elements of the |
| public static final byte | GL_DUP_LAST_CUBIC_CURVE_TO_NV
Accepted in elements of the |
| public static final int | GL_EYE_LINEAR_NV
The following types are defined as alias to the GL tokens. |
| public static final int | GL_FILE_NAME_NV
Accepted by the |
| public static final int | GL_FIRST_TO_REST_NV
Accepted by the |
| public static final int | GL_FONT_ASCENDER_BIT_NV
Accepted as a bit within the |
| public static final int | GL_FONT_DESCENDER_BIT_NV
Accepted as a bit within the |
| public static final int | GL_FONT_GLYPHS_AVAILABLE_NV
Returned by PathGlyphIndexRangeNV. |
| public static final int | GL_FONT_HAS_KERNING_BIT_NV
Accepted as a bit within the |
| public static final int | GL_FONT_HEIGHT_BIT_NV
Accepted as a bit within the |
| public static final int | GL_FONT_MAX_ADVANCE_HEIGHT_BIT_NV
Accepted as a bit within the |
| public static final int | GL_FONT_MAX_ADVANCE_WIDTH_BIT_NV
Accepted as a bit within the |
| public static final int | GL_FONT_NUM_GLYPH_INDICES_BIT_NV
Accepted as a bit within the |
| public static final int | GL_FONT_TARGET_UNAVAILABLE_NV
Returned by PathGlyphIndexRangeNV. |
| public static final int | GL_FONT_UNAVAILABLE_NV
Returned by PathGlyphIndexRangeNV. |
| public static final int | GL_FONT_UNDERLINE_POSITION_BIT_NV
Accepted as a bit within the |
| public static final int | GL_FONT_UNDERLINE_THICKNESS_BIT_NV
Accepted as a bit within the |
| public static final int | GL_FONT_UNINTELLIGIBLE_NV
Returned by PathGlyphIndexRangeNV. |
| public static final int | GL_FONT_UNITS_PER_EM_BIT_NV
Accepted as a bit within the |
| public static final int | GL_FONT_X_MAX_BOUNDS_BIT_NV
Accepted as a bit within the |
| public static final int | GL_FONT_X_MIN_BOUNDS_BIT_NV
Accepted as a bit within the |
| public static final int | GL_FONT_Y_MAX_BOUNDS_BIT_NV
Accepted as a bit within the |
| public static final int | GL_FONT_Y_MIN_BOUNDS_BIT_NV
Accepted as a bit within the |
| public static final int | GL_FRAGMENT_INPUT_NV
Accepted by the |
| public static final int | GL_GLYPH_HAS_KERNING_BIT_NV
Accepted as a bit within the |
| public static final int | GL_GLYPH_HEIGHT_BIT_NV
Accepted as a bit within the |
| public static final int | GL_GLYPH_HORIZONTAL_BEARING_ADVANCE_BIT_NV
Accepted as a bit within the |
| public static final int | GL_GLYPH_HORIZONTAL_BEARING_X_BIT_NV
Accepted as a bit within the |
| public static final int | GL_GLYPH_HORIZONTAL_BEARING_Y_BIT_NV
Accepted as a bit within the |
| public static final int | GL_GLYPH_VERTICAL_BEARING_ADVANCE_BIT_NV
Accepted as a bit within the |
| public static final int | GL_GLYPH_VERTICAL_BEARING_X_BIT_NV
Accepted as a bit within the |
| public static final int | GL_GLYPH_VERTICAL_BEARING_Y_BIT_NV
Accepted as a bit within the |
| public static final int | GL_GLYPH_WIDTH_BIT_NV
Accepted as a bit within the |
| public static final byte | GL_HORIZONTAL_LINE_TO_NV
Accepted in elements of the |
| public static final int | GL_ITALIC_BIT_NV
Accepted by the |
| public static final byte | GL_LARGE_CCW_ARC_TO_NV
Accepted in elements of the |
| public static final byte | GL_LARGE_CW_ARC_TO_NV
Accepted in elements of the |
| public static final byte | GL_LINE_TO_NV
Accepted in elements of the |
| public static final int | GL_MITER_REVERT_NV
Accepted by the |
| public static final int | GL_MITER_TRUNCATE_NV
Accepted by the |
| public static final int | GL_MOVE_TO_CONTINUES_NV
Accepted by the |
| public static final byte | GL_MOVE_TO_NV
Accepted in elements of the |
| public static final int | GL_MOVE_TO_RESETS_NV
Accepted by the |
| public static final int | GL_OBJECT_LINEAR_NV
The following types are defined as alias to the GL tokens. |
| public static final int | GL_PATH_CLIENT_LENGTH_NV
Accepted by the |
| public static final int | GL_PATH_COMMAND_COUNT_NV
Accepted by the |
| public static final int | GL_PATH_COMPUTED_LENGTH_NV
Accepted by the |
| public static final int | GL_PATH_COORD_COUNT_NV
Accepted by the |
| public static final int | GL_PATH_COVER_DEPTH_FUNC_NV
Accepted by the |
| public static final int | GL_PATH_DASH_ARRAY_COUNT_NV
Accepted by the |
| public static final int | GL_PATH_DASH_CAPS_NV
Accepted by the |
| public static final int | GL_PATH_DASH_OFFSET_NV
Accepted by the |
| public static final int | GL_PATH_DASH_OFFSET_RESET_NV
Accepted by the |
| public static final int | GL_PATH_END_CAPS_NV
Accepted by the |
| public static final int | GL_PATH_ERROR_POSITION_NV
Accepted by the |
| public static final int | GL_PATH_FILL_BOUNDING_BOX_NV
Accepted by the |
| public static final int | GL_PATH_FILL_COVER_MODE_NV
Accepted by the |
| public static final int | GL_PATH_FILL_MASK_NV
Accepted by the |
| public static final int | GL_PATH_FILL_MODE_NV
Accepted by the |
| public static final int | GL_PATH_FORMAT_PS_NV
Accepted by the |
| public static final int | GL_PATH_FORMAT_SVG_NV
Accepted by the |
| public static final int | GL_PATH_INITIAL_DASH_CAP_NV
Accepted by the |
| public static final int | GL_PATH_INITIAL_END_CAP_NV
Accepted by the |
| public static final int | GL_PATH_JOIN_STYLE_NV
Accepted by the |
| public static final int | GL_PATH_MAX_MODELVIEW_STACK_DEPTH_NV
Token values for matrices. |
| public static final int | GL_PATH_MAX_PROJECTION_STACK_DEPTH_NV
Token values for matrices. |
| public static final int | GL_PATH_MITER_LIMIT_NV
Accepted by the |
| public static final int | GL_PATH_MODELVIEW_MATRIX_NV
Token values for matrices. |
| public static final int | GL_PATH_MODELVIEW_NV
Token values for matrices. |
| public static final int | GL_PATH_MODELVIEW_STACK_DEPTH_NV
Token values for matrices. |
| public static final int | GL_PATH_OBJECT_BOUNDING_BOX_NV
Accepted by the |
| public static final int | GL_PATH_PROJECTION_MATRIX_NV
Token values for matrices. |
| public static final int | GL_PATH_PROJECTION_NV
Token values for matrices. |
| public static final int | GL_PATH_PROJECTION_STACK_DEPTH_NV
Token values for matrices. |
| public static final int | GL_PATH_STENCIL_DEPTH_OFFSET_FACTOR_NV
Accepted by the |
| public static final int | GL_PATH_STENCIL_DEPTH_OFFSET_UNITS_NV
Accepted by the |
| public static final int | GL_PATH_STENCIL_FUNC_NV
Accepted by the |
| public static final int | GL_PATH_STENCIL_REF_NV
Accepted by the |
| public static final int | GL_PATH_STENCIL_VALUE_MASK_NV
Accepted by the |
| public static final int | GL_PATH_STROKE_BOUND_NV
Accepted by the |
| public static final int | GL_PATH_STROKE_BOUNDING_BOX_NV
Accepted by the |
| public static final int | GL_PATH_STROKE_COVER_MODE_NV
Accepted by the |
| public static final int | GL_PATH_STROKE_MASK_NV
Accepted by the |
| public static final int | GL_PATH_STROKE_WIDTH_NV
Accepted by the |
| public static final int | GL_PATH_TERMINAL_DASH_CAP_NV
Accepted by the |
| public static final int | GL_PATH_TERMINAL_END_CAP_NV
Accepted by the |
| public static final int | GL_PATH_TRANSPOSE_MODELVIEW_MATRIX_NV
Token values for matrices. |
| public static final int | GL_PATH_TRANSPOSE_PROJECTION_MATRIX_NV
Token values for matrices. |
| public static final byte | GL_QUADRATIC_CURVE_TO_NV
Accepted in elements of the |
| public static final byte | GL_RECT_NV
Accepted in elements of the |
| public static final byte | GL_RELATIVE_ARC_TO_NV
Accepted in elements of the |
| public static final byte | GL_RELATIVE_CONIC_CURVE_TO_NV
Accepted in elements of the |
| public static final byte | GL_RELATIVE_CUBIC_CURVE_TO_NV
Accepted in elements of the |
| public static final byte | GL_RELATIVE_HORIZONTAL_LINE_TO_NV
Accepted in elements of the |
| public static final byte | GL_RELATIVE_LARGE_CCW_ARC_TO_NV
Accepted in elements of the |
| public static final byte | GL_RELATIVE_LARGE_CW_ARC_TO_NV
Accepted in elements of the |
| public static final byte | GL_RELATIVE_LINE_TO_NV
Accepted in elements of the |
| public static final byte | GL_RELATIVE_MOVE_TO_NV
Accepted in elements of the |
| public static final byte | GL_RELATIVE_QUADRATIC_CURVE_TO_NV
Accepted in elements of the |
| public static final byte | GL_RELATIVE_RECT_NV
Accepted in elements of the |
| public static final byte | GL_RELATIVE_ROUNDED_RECT2_NV
Accepted in elements of the |
| public static final byte | GL_RELATIVE_ROUNDED_RECT4_NV
Accepted in elements of the |
| public static final byte | GL_RELATIVE_ROUNDED_RECT8_NV
Accepted in elements of the |
| public static final byte | GL_RELATIVE_ROUNDED_RECT_NV
Accepted in elements of the |
| public static final byte | GL_RELATIVE_SMALL_CCW_ARC_TO_NV
Accepted in elements of the |
| public static final byte | GL_RELATIVE_SMALL_CW_ARC_TO_NV
Accepted in elements of the |
| public static final byte | GL_RELATIVE_SMOOTH_CUBIC_CURVE_TO_NV
Accepted in elements of the |
| public static final byte | GL_RELATIVE_SMOOTH_QUADRATIC_CURVE_TO_NV
Accepted in elements of the |
| public static final byte | GL_RELATIVE_VERTICAL_LINE_TO_NV
Accepted in elements of the |
| public static final byte | GL_RESTART_PATH_NV
Accepted in elements of the |
| public static final int | GL_ROUND_NV
Accepted by the |
| public static final byte | GL_ROUNDED_RECT2_NV
Accepted in elements of the |
| public static final byte | GL_ROUNDED_RECT4_NV
Accepted in elements of the |
| public static final byte | GL_ROUNDED_RECT8_NV
Accepted in elements of the |
| public static final byte | GL_ROUNDED_RECT_NV
Accepted in elements of the |
| public static final int | GL_SKIP_MISSING_GLYPH_NV
Accepted by the |
| public static final byte | GL_SMALL_CCW_ARC_TO_NV
Accepted in elements of the |
| public static final byte | GL_SMALL_CW_ARC_TO_NV
Accepted in elements of the |
| public static final byte | GL_SMOOTH_CUBIC_CURVE_TO_NV
Accepted in elements of the |
| public static final byte | GL_SMOOTH_QUADRATIC_CURVE_TO_NV
Accepted in elements of the |
| public static final int | GL_SQUARE_NV
Accepted by the |
| public static final int | GL_STANDARD_FONT_FORMAT_NV
Accepted by the |
| public static final int | GL_STANDARD_FONT_NAME_NV
Accepted by the |
| public static final int | GL_SYSTEM_FONT_NAME_NV
Accepted by the |
| public static final int | GL_TRANSLATE_2D_NV
Accepted by the |
| public static final int | GL_TRANSLATE_3D_NV
Accepted by the |
| public static final int | GL_TRANSLATE_X_NV
Accepted by the |
| public static final int | GL_TRANSLATE_Y_NV
Accepted by the |
| public static final int | GL_TRANSPOSE_AFFINE_2D_NV
Accepted by the |
| public static final int | GL_TRANSPOSE_AFFINE_3D_NV
Accepted by the |
| public static final int | GL_TRIANGULAR_NV
Accepted by the |
| public static final int | GL_USE_MISSING_GLYPH_NV
Accepted by the |
| public static final int | GL_UTF16_NV
Accepted by the |
| public static final int | GL_UTF8_NV
Accepted by the |
| public static final byte | GL_VERTICAL_LINE_TO_NV
Accepted in elements of the |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description | ||
|---|---|---|---|
| private static int | |||
| private static int | |||
| private static int | |||
| public static native void | |||
| public static void | glCoverFillPathInstancedNV(int pathNameType, ByteBuffer paths, int pathBase, int coverMode, int transformType, FloatBuffer transformValues)
| ||
| public static void | glCoverFillPathInstancedNV(int pathNameType, ByteBuffer paths, int pathBase, int coverMode, int transformType, float[] transformValues)
Array version of: | ||
| public static native void | |||
| public static void | glCoverStrokePathInstancedNV(int pathNameType, ByteBuffer paths, int pathBase, int coverMode, int transformType, FloatBuffer transformValues)
| ||
| public static void | glCoverStrokePathInstancedNV(int pathNameType, ByteBuffer paths, int pathBase, int coverMode, int transformType, float[] transformValues)
Array version of: | ||
| public static native void | |||
| public static native void | |||
| public static native int | |||
| public static void | |||
| public static void | |||
| public static void | |||
| public static void | |||
| public static void | |||
| public static native float | |||
| public static void | glGetPathMetricRangeNV(int
one or more of: metricQueryMask, int firstPathName, int numPaths, int stride, FloatBuffer metrics)
| ||
| public static void | glGetPathMetricRangeNV(int metricQueryMask, int firstPathName, int numPaths, int stride, float[] metrics)
Array version of: | ||
| public static void | glGetPathMetricsNV(int
one or more of: metricQueryMask, int pathNameType, ByteBuffer paths, int pathBase, int stride, FloatBuffer metrics)
| ||
| public static void | glGetPathMetricsNV(int metricQueryMask, int pathNameType, ByteBuffer paths, int pathBase, int stride, float[] metrics)
Array version of: | ||
| public static float | glGetPathParameterfNV(int path, int
one of: pname)
| ||
| public static void | glGetPathParameterfvNV(int path, int
one of: pname, FloatBuffer value)
| ||
| public static void | |||
| public static int | glGetPathParameteriNV(int path, int
one of: pname)
| ||
| public static void | glGetPathParameterivNV(int path, int
one of: pname, IntBuffer value)
| ||
| public static void | |||
| public static void | glGetPathSpacingNV(int pathListMode, int pathNameType, ByteBuffer paths, int pathBase, float advanceScale, float kerningScale, int transformType, FloatBuffer returnedSpacing)
| ||
| public static void | glGetPathSpacingNV(int pathListMode, int pathNameType, ByteBuffer paths, int pathBase, float advanceScale, float kerningScale, int transformType, float[] returnedSpacing)
Array version of: | ||
| public static void | glGetProgramResourcefvNV(int program, int programInterface, int index, IntBuffer props, IntBuffer length, FloatBuffer params)
| ||
| public static void | glGetProgramResourcefvNV(int program, int programInterface, int index, int[] props, int[] length, float[] params)
Array version of: | ||
| public static native void | |||
| public static native boolean | |||
| public static native boolean | |||
| public static native boolean | |||
| public static void | |||
| public static void | |||
| public static void | |||
| public static void | |||
| public static void | |||
| public static void | |||
| public static void | |||
| public static void | |||
| public static void | |||
| public static void | |||
| public static void | |||
| public static void | |||
| public static void | |||
| public static void | |||
| public static void | |||
| public static void | glPathCommandsNV(int path, ByteBuffer commands, int coordType, short[] coords)
Array version of: | ||
| public static void | glPathCommandsNV(int path, ByteBuffer commands, int coordType, float[] coords)
Array version of: | ||
| public static void | |||
| public static void | |||
| public static void | |||
| public static void | |||
| public static void | |||
| public static native void | |||
| public static void | |||
| public static void | |||
| public static int | glPathGlyphIndexArrayNV(int firstPathName, int fontTarget, ByteBuffer fontName, int
one or more of: fontStyle, int firstGlyphIndex, int numGlyphs, int pathParameterTemplate, float emScale)
| ||
| public static int | glPathGlyphIndexRangeNV(int fontTarget, ByteBuffer fontName, int
one or more of: fontStyle, int pathParameterTemplate, float emScale, int baseAndCount)
| ||
| public static void | glPathGlyphRangeNV(int firstPathName, int fontTarget, ByteBuffer fontName, int
one or more of: fontStyle, int firstGlyph, int numGlyphs, int handleMissingGlyphs, int pathParameterTemplate, float emScale)
| ||
| public static void | glPathGlyphsNV(int firstPathName, int fontTarget, ByteBuffer fontName, int
one or more of: fontStyle, int type, ByteBuffer charcodes, int handleMissingGlyphs, int pathParameterTemplate, float emScale)
| ||
| public static int | glPathMemoryGlyphIndexArrayNV(int firstPathName, int fontTarget, ByteBuffer fontData, int faceIndex, int firstGlyphIndex, int numGlyphs, int pathParameterTemplate, float emScale)
| ||
| public static native void | glPathParameterfNV(int path, int
one of: pname, float value)
| ||
| public static void | glPathParameterfvNV(int path, int
one of: pname, FloatBuffer value)
| ||
| public static void | |||
| public static native void | glPathParameteriNV(int path, int
one of: pname, int value)
| ||
| public static void | glPathParameterivNV(int path, int
one of: pname, IntBuffer value)
| ||
| public static void | |||
| public static native void | |||
| public static native void | |||
| public static void | |||
| public static void | glPathSubCommandsNV(int path, int commandStart, int commandsToDelete, ByteBuffer commands, int coordType, ByteBuffer coords)
| ||
| public static void | glPathSubCommandsNV(int path, int commandStart, int commandsToDelete, ByteBuffer commands, int coordType, ShortBuffer coords)
| ||
| public static void | glPathSubCommandsNV(int path, int commandStart, int commandsToDelete, ByteBuffer commands, int coordType, FloatBuffer coords)
| ||
| public static void | glPathSubCommandsNV(int path, int commandStart, int commandsToDelete, ByteBuffer commands, int coordType, short[] coords)
Array version of: | ||
| public static void | glPathSubCommandsNV(int path, int commandStart, int commandsToDelete, ByteBuffer commands, int coordType, float[] coords)
Array version of: | ||
| public static void | |||
| public static void | |||
| public static void | |||
| public static void | glPathSubCoordsNV(int path, int coordStart, int coordType, short[] coords)
Array version of: | ||
| public static void | glPathSubCoordsNV(int path, int coordStart, int coordType, float[] coords)
Array version of: | ||
| public static boolean | glPointAlongPathNV(int path, int startSegment, int numSegments, float distance, FloatBuffer x, FloatBuffer y, FloatBuffer tangentX, FloatBuffer tangentY)
| ||
| public static boolean | glPointAlongPathNV(int path, int startSegment, int numSegments, float distance, float[] x, float[] y, float[] tangentX, float[] tangentY)
Array version of: | ||
| public static void | glProgramPathFragmentInputGenNV(int program, int location, int genMode, int components, FloatBuffer coeffs)
| ||
| public static void | glProgramPathFragmentInputGenNV(int program, int location, int genMode, int components, float[] coeffs)
Array version of: | ||
| public static void | glStencilFillPathInstancedNV(int pathNameType, ByteBuffer paths, int pathBase, int fillMode, int mask, int transformType, FloatBuffer transformValues)
| ||
| public static void | glStencilFillPathInstancedNV(int pathNameType, ByteBuffer paths, int pathBase, int fillMode, int mask, int transformType, float[] transformValues)
Array version of: | ||
| public static native void | |||
| public static void | glStencilStrokePathInstancedNV(int pathNameType, ByteBuffer paths, int pathBase, int reference, int mask, int transformType, FloatBuffer transformValues)
| ||
| public static void | glStencilStrokePathInstancedNV(int pathNameType, ByteBuffer paths, int pathBase, int reference, int mask, int transformType, float[] transformValues)
Array version of: | ||
| public static native void | |||
| public static void | glStencilThenCoverFillPathInstancedNV(int pathNameType, ByteBuffer paths, int pathBase, int fillMode, int mask, int coverMode, int transformType, FloatBuffer transformValues)
| ||
| public static void | glStencilThenCoverFillPathInstancedNV(int pathNameType, ByteBuffer paths, int pathBase, int fillMode, int mask, int coverMode, int transformType, float[] transformValues)
Array version of: | ||
| public static native void | |||
| public static void | glStencilThenCoverStrokePathInstancedNV(int pathNameType, ByteBuffer paths, int pathBase, int reference, int mask, int coverMode, int transformType, FloatBuffer transformValues)
| ||
| public static void | glStencilThenCoverStrokePathInstancedNV(int pathNameType, ByteBuffer paths, int pathBase, int reference, int mask, int coverMode, int transformType, float[] transformValues)
Array version of: | ||
| public static native void | |||
| public static void | |||
| public static void | glTransformPathNV(int resultPath, int srcPath, int transformType, float[] transformValues)
Array version of: | ||
| public static void | |||
| public static void | |||
| public static native void | nglCoverFillPathInstancedNV(int numPaths, int pathNameType, long paths, int pathBase, int coverMode, int transformType, long transformValues)
Unsafe version of: | ||
| public static native void | nglCoverStrokePathInstancedNV(int numPaths, int pathNameType, long paths, int pathBase, int coverMode, int transformType, long transformValues)
Unsafe version of: | ||
| public static native void | |||
| public static native void | |||
| public static native void | |||
| public static native void | nglGetPathMetricRangeNV(int metricQueryMask, int firstPathName, int numPaths, int stride, long metrics)
Unsafe version of: | ||
| public static native void | nglGetPathMetricsNV(int metricQueryMask, int numPaths, int pathNameType, long paths, int pathBase, int stride, long metrics)
Unsafe version of: | ||
| public static native void | |||
| public static native void | |||
| public static native void | nglGetPathSpacingNV(int pathListMode, int numPaths, int pathNameType, long paths, int pathBase, float advanceScale, float kerningScale, int transformType, long returnedSpacing)
Unsafe version of: | ||
| public static native void | nglGetProgramResourcefvNV(int program, int programInterface, int index, int propCount, long props, int bufSize, long length, long params)
| ||
| public static native void | |||
| public static native void | |||
| public static native void | |||
| public static native void | |||
| public static native void | |||
| public static native void | |||
| public static native void | nglPathCommandsNV(int path, int numCommands, long commands, int numCoords, int coordType, long coords)
Unsafe version of: | ||
| public static native void | |||
| public static native void | |||
| public static native int | nglPathGlyphIndexArrayNV(int firstPathName, int fontTarget, long fontName, int fontStyle, int firstGlyphIndex, int numGlyphs, int pathParameterTemplate, float emScale)
Unsafe version of: | ||
| public static native int | nglPathGlyphIndexRangeNV(int fontTarget, long fontName, int fontStyle, int pathParameterTemplate, float emScale, int baseAndCount)
Unsafe version of: | ||
| public static native void | nglPathGlyphRangeNV(int firstPathName, int fontTarget, long fontName, int fontStyle, int firstGlyph, int numGlyphs, int handleMissingGlyphs, int pathParameterTemplate, float emScale)
Unsafe version of: | ||
| public static native void | nglPathGlyphsNV(int firstPathName, int fontTarget, long fontName, int fontStyle, int numGlyphs, int type, long charcodes, int handleMissingGlyphs, int pathParameterTemplate, float emScale)
Unsafe version of: | ||
| public static native int | nglPathMemoryGlyphIndexArrayNV(int firstPathName, int fontTarget, long fontSize, long fontData, int faceIndex, int firstGlyphIndex, int numGlyphs, int pathParameterTemplate, float emScale)
Unsafe version of: | ||
| public static native void | |||
| public static native void | |||
| public static native void | |||
| public static native void | nglPathSubCommandsNV(int path, int commandStart, int commandsToDelete, int numCommands, long commands, int numCoords, int coordType, long coords)
Unsafe version of: | ||
| public static native void | nglPathSubCoordsNV(int path, int coordStart, int numCoords, int coordType, long coords)
Unsafe version of: | ||
| public static native boolean | nglPointAlongPathNV(int path, int startSegment, int numSegments, float distance, long x, long y, long tangentX, long tangentY)
| ||
| public static native void | nglProgramPathFragmentInputGenNV(int program, int location, int genMode, int components, long coeffs)
| ||
| public static native void | nglStencilFillPathInstancedNV(int numPaths, int pathNameType, long paths, int pathBase, int fillMode, int mask, int transformType, long transformValues)
Unsafe version of: | ||
| public static native void | nglStencilStrokePathInstancedNV(int numPaths, int pathNameType, long paths, int pathBase, int reference, int mask, int transformType, long transformValues)
Unsafe version of: | ||
| public static native void | nglStencilThenCoverFillPathInstancedNV(int numPaths, int pathNameType, long paths, int pathBase, int fillMode, int mask, int coverMode, int transformType, long transformValues)
Unsafe version of: | ||
| public static native void | nglStencilThenCoverStrokePathInstancedNV(int numPaths, int pathNameType, long paths, int pathBase, int reference, int mask, int coverMode, int transformType, long transformValues)
Unsafe version of: | ||
| public static native void | nglTransformPathNV(int resultPath, int srcPath, int transformType, long transformValues)
Unsafe version of: | ||
| public static native void | |||
| private static int | |||
| private static int |