OGLplus (0.52.0) a C++ wrapper for OpenGL

oglplus::BriefPathNVSpec< PathCoordType > Class Template Reference

Facade over PathNVSpec for even more convenient path specification. More...

#include </home/chochlik/devel/oglplus/include/oglplus/ext/NV_path_rendering/path_spec.hpp>

Inheritance diagram for oglplus::BriefPathNVSpec< PathCoordType >:
Collaboration diagram for oglplus::BriefPathNVSpec< PathCoordType >:

Public Member Functions

BriefPathNVSpecZ (void)
 Close.
 
BriefPathNVSpecM (CT c0, CT c1)
 MoveTo.
 
BriefPathNVSpecm (CT c0, CT c1)
 RelativeMoveTo.
 
BriefPathNVSpecL (CT c0, CT c1)
 LineTo.
 
BriefPathNVSpecl (CT c0, CT c1)
 RelativeLineTo.
 
BriefPathNVSpecH (CT c0)
 HorizontalLineTo.
 
BriefPathNVSpech (CT c0)
 RelativeHorizontalLineTo.
 
BriefPathNVSpecV (CT c0)
 VerticalLineTo.
 
BriefPathNVSpecv (CT c0)
 RelativeVerticalLineTo.
 
BriefPathNVSpecQ (CT c0, CT c1, CT c2, CT c3)
 QuadraticCurveTo.
 
BriefPathNVSpecq (CT c0, CT c1, CT c2, CT c3)
 RelativeQuadraticCurveTo.
 
BriefPathNVSpecC (CT c0, CT c1, CT c2, CT c3, CT c4, CT c5)
 CubicCurveTo.
 
BriefPathNVSpecc (CT c0, CT c1, CT c2, CT c3, CT c4, CT c5)
 RelativeCubicCurveTo.
 
BriefPathNVSpecT (CT c0, CT c1)
 SmoothQuadraticCurveTo.
 
BriefPathNVSpect (CT c0, CT c1)
 RelativeSmoothQuadraticCurveTo.
 
BriefPathNVSpecS (CT c0, CT c1, CT c2, CT c3)
 SmoothCubicCurveTo.
 
BriefPathNVSpecs (CT c0, CT c1, CT c2, CT c3)
 RelativeSmoothCubicCurveTo.
 
BriefPathNVSpecA (CT c0, CT c1, CT c2, CT c3, CT c4, CT c5, CT c6)
 ArcTo.
 
BriefPathNVSpeca (CT c0, CT c1, CT c2, CT c3, CT c4, CT c5, CT c6)
 RelativeArcTo.
 
Path specification commands

The path specification is built by calling the member functions in this group. Every one of these functions appends a the specified command to the end of the command list and for commands with coordinates it also appends the specified values to the coordinate list.

PathNVSpecClose (void)
 
PathNVSpecRestart (void)
 Restart path.
 
PathNVSpecMoveTo (T c0, T c1)
 Move to absolute coordinates.
 
PathNVSpecRelativeMoveTo (T c0, T c1)
 Move by specified amount.
 
PathNVSpecLineTo (T c0, T c1)
 Draw a line to absolute coordinates.
 
PathNVSpecRelativeLineTo (T c0, T c1)
 Draw a line in the specified direction.
 
PathNVSpecHorizontalLineTo (T c0)
 Draw a horizontal line to the specified vertical coordinate.
 
PathNVSpecRelativeHorizontalLineTo (T c0)
 Draw a horizontal line in the specified direction.
 
PathNVSpecVerticalLineTo (T c0)
 Draw a vertical line to the specified horizontal coordinate.
 
PathNVSpecRelativeVerticalLineTo (T c0)
 Draw a vertical line in the specified direction.
 
PathNVSpecQuadraticCurveTo (T c0, T c1, T c2, T c3)
 Draw a quadratic curve with the specified absolute control points.
 
PathNVSpecRelativeQuadraticCurveTo (T c0, T c1, T c2, T c3)
 Draw a quadratic curve with the specified relative control points.
 
PathNVSpecCubicCurveTo (T c0, T c1, T c2, T c3, T c4, T c5)
 Draw a cubic curve with the specified absolute control points.
 
PathNVSpecRelativeCubicCurveTo (T c0, T c1, T c2, T c3, T c4, T c5)
 Draw a cubic curve with the specified relative control points.
 
PathNVSpecSmoothQuadraticCurveTo (T c0, T c1)
 Draw a smooth quadratic curve with specified absolute control points.
 
PathNVSpecRelativeSmoothQuadraticCurveTo (T c0, T c1)
 Draw a smooth quadratic curve with specified relative control points.
 
PathNVSpecSmoothCubicCurveTo (T c0, T c1, T c2, T c3)
 Draw a smooth cubic curve with specified absolute control points.
 
PathNVSpecRelativeSmoothCubicCurveTo (T c0, T c1, T c2, T c3)
 Draw a smooth cubic curve with specified relative control points.
 
PathNVSpecSmallCCWArcTo (T c0, T c1, T c2, T c3, T c4)
 Draw a small-sweep CCW elliptical arc with absolute parameters.
 
PathNVSpecRelativeSmallCCWArcTo (T c0, T c1, T c2, T c3, T c4)
 Draw a small-sweep CCW elliptical arc with relative parameters.
 
PathNVSpecSmallCWArcTo (T c0, T c1, T c2, T c3, T c4)
 Draw a small-sweep CW elliptical arc with absolute parameters.
 
PathNVSpecRelativeSmallCWArcTo (T c0, T c1, T c2, T c3, T c4)
 Draw a small-sweep CW elliptical arc with relative parameters.
 
PathNVSpecLargeCCWArcTo (T c0, T c1, T c2, T c3, T c4)
 Draw a large-sweep CCW elliptical arc with absolute parameters.
 
PathNVSpecRelativeLargeCCWArcTo (T c0, T c1, T c2, T c3, T c4)
 Draw a large-sweep CCW elliptical arc with relative parameters.
 
PathNVSpecLargeCWArcTo (T c0, T c1, T c2, T c3, T c4)
 Draw a large-sweep CW elliptical arc with absolute parameters.
 
PathNVSpecRelativeLargeCWArcTo (T c0, T c1, T c2, T c3, T c4)
 Draw a large-sweep CW elliptical arc with relative parameters.
 
PathNVSpecDupFirstCubicCurveTo (T c0, T c1, T c2, T c3)
 Draw a cubic curve segment duplicating first control point.
 
PathNVSpecDupLastCubicCurveTo (T c0, T c1, T c2, T c3)
 Draw a cubic curve segment duplicating last control point.
 
PathNVSpecRect (T c0, T c1, T c2, T c3)
 Draw a rectangle with the specified absolute coordinates.
 
PathNVSpecCircularCCWArcTo (T c0, T c1, T c2, T c3, T c4)
 Draw a circular CCW arc with the specified absolute coordinates.
 
PathNVSpecCircularCWArcTo (T c0, T c1, T c2, T c3, T c4)
 Draw a circular CW arc with the specified absolute coordinates.
 
PathNVSpecCircularTangentArcTo (T c0, T c1, T c2, T c3, T c4)
 Draw a circular tangential arc with specified absolute coordinates.
 
PathNVSpecArcTo (T c0, T c1, T c2, T c3, T c4, T c5, T c6)
 Draw a general elliptical arc with specified absolute coordinates.
 
PathNVSpecRelativeArcTo (T c0, T c1, T c2, T c3, T c4, T c5, T c6)
 Draw a general elliptical arc with specified relative coordinates.
 

Detailed Description

template<typename PathCoordType>
class oglplus::BriefPathNVSpec< PathCoordType >

Facade over PathNVSpec for even more convenient path specification.

See Also
PathNVSpec
PathNV

Member Function Documentation

template<typename PathCoordType>
PathNVSpec& oglplus::PathNVSpec< PathCoordType >::Close ( void  )
inherited

The documentation for this class was generated from the following file:
  • /home/chochlik/devel/oglplus/include/oglplus/ext/NV_path_rendering/path_spec.hpp

Copyright © 2010-2014 Matúš Chochlík, University of Žilina, Žilina, Slovakia.
<matus.chochlik -at- fri.uniza.sk>
<chochlik -at -gmail.com>
Documentation generated on Mon Sep 22 2014 by Doxygen (version 1.8.6).