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

BriefPathNVSpec & Z (void)
 Close.
 
BriefPathNVSpec & M (CT c0, CT c1)
 MoveTo.
 
BriefPathNVSpec & m (CT c0, CT c1)
 RelativeMoveTo.
 
BriefPathNVSpec & L (CT c0, CT c1)
 LineTo.
 
BriefPathNVSpec & l (CT c0, CT c1)
 RelativeLineTo.
 
BriefPathNVSpec & H (CT c0)
 HorizontalLineTo.
 
BriefPathNVSpec & h (CT c0)
 RelativeHorizontalLineTo.
 
BriefPathNVSpec & V (CT c0)
 VerticalLineTo.
 
BriefPathNVSpec & v (CT c0)
 RelativeVerticalLineTo.
 
BriefPathNVSpec & Q (CT c0, CT c1, CT c2, CT c3)
 QuadraticCurveTo.
 
BriefPathNVSpec & q (CT c0, CT c1, CT c2, CT c3)
 RelativeQuadraticCurveTo.
 
BriefPathNVSpec & C (CT c0, CT c1, CT c2, CT c3, CT c4, CT c5)
 CubicCurveTo.
 
BriefPathNVSpec & c (CT c0, CT c1, CT c2, CT c3, CT c4, CT c5)
 RelativeCubicCurveTo.
 
BriefPathNVSpec & T (CT c0, CT c1)
 SmoothQuadraticCurveTo.
 
BriefPathNVSpec & t (CT c0, CT c1)
 RelativeSmoothQuadraticCurveTo.
 
BriefPathNVSpec & S (CT c0, CT c1, CT c2, CT c3)
 SmoothCubicCurveTo.
 
BriefPathNVSpec & s (CT c0, CT c1, CT c2, CT c3)
 RelativeSmoothCubicCurveTo.
 
BriefPathNVSpec & A (CT c0, CT c1, CT c2, CT c3, CT c4, CT c5, CT c6)
 ArcTo.
 
BriefPathNVSpec & a (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.

PathNVSpec & Close (void)
 
PathNVSpec & Restart (void)
 Restart path.
 
PathNVSpec & MoveTo (T c0, T c1)
 Move to absolute coordinates.
 
PathNVSpec & RelativeMoveTo (T c0, T c1)
 Move by specified amount.
 
PathNVSpec & LineTo (T c0, T c1)
 Draw a line to absolute coordinates.
 
PathNVSpec & RelativeLineTo (T c0, T c1)
 Draw a line in the specified direction.
 
PathNVSpec & HorizontalLineTo (T c0)
 Draw a horizontal line to the specified vertical coordinate.
 
PathNVSpec & RelativeHorizontalLineTo (T c0)
 Draw a horizontal line in the specified direction.
 
PathNVSpec & VerticalLineTo (T c0)
 Draw a vertical line to the specified horizontal coordinate.
 
PathNVSpec & RelativeVerticalLineTo (T c0)
 Draw a vertical line in the specified direction.
 
PathNVSpec & QuadraticCurveTo (T c0, T c1, T c2, T c3)
 Draw a quadratic curve with the specified absolute control points.
 
PathNVSpec & RelativeQuadraticCurveTo (T c0, T c1, T c2, T c3)
 Draw a quadratic curve with the specified relative control points.
 
PathNVSpec & CubicCurveTo (T c0, T c1, T c2, T c3, T c4, T c5)
 Draw a cubic curve with the specified absolute control points.
 
PathNVSpec & RelativeCubicCurveTo (T c0, T c1, T c2, T c3, T c4, T c5)
 Draw a cubic curve with the specified relative control points.
 
PathNVSpec & SmoothQuadraticCurveTo (T c0, T c1)
 Draw a smooth quadratic curve with specified absolute control points.
 
PathNVSpec & RelativeSmoothQuadraticCurveTo (T c0, T c1)
 Draw a smooth quadratic curve with specified relative control points.
 
PathNVSpec & SmoothCubicCurveTo (T c0, T c1, T c2, T c3)
 Draw a smooth cubic curve with specified absolute control points.
 
PathNVSpec & RelativeSmoothCubicCurveTo (T c0, T c1, T c2, T c3)
 Draw a smooth cubic curve with specified relative control points.
 
PathNVSpec & SmallCCWArcTo (T c0, T c1, T c2, T c3, T c4)
 Draw a small-sweep CCW elliptical arc with absolute parameters.
 
PathNVSpec & RelativeSmallCCWArcTo (T c0, T c1, T c2, T c3, T c4)
 Draw a small-sweep CCW elliptical arc with relative parameters.
 
PathNVSpec & SmallCWArcTo (T c0, T c1, T c2, T c3, T c4)
 Draw a small-sweep CW elliptical arc with absolute parameters.
 
PathNVSpec & RelativeSmallCWArcTo (T c0, T c1, T c2, T c3, T c4)
 Draw a small-sweep CW elliptical arc with relative parameters.
 
PathNVSpec & LargeCCWArcTo (T c0, T c1, T c2, T c3, T c4)
 Draw a large-sweep CCW elliptical arc with absolute parameters.
 
PathNVSpec & RelativeLargeCCWArcTo (T c0, T c1, T c2, T c3, T c4)
 Draw a large-sweep CCW elliptical arc with relative parameters.
 
PathNVSpec & LargeCWArcTo (T c0, T c1, T c2, T c3, T c4)
 Draw a large-sweep CW elliptical arc with absolute parameters.
 
PathNVSpec & RelativeLargeCWArcTo (T c0, T c1, T c2, T c3, T c4)
 Draw a large-sweep CW elliptical arc with relative parameters.
 
PathNVSpec & DupFirstCubicCurveTo (T c0, T c1, T c2, T c3)
 Draw a cubic curve segment duplicating first control point.
 
PathNVSpec & DupLastCubicCurveTo (T c0, T c1, T c2, T c3)
 Draw a cubic curve segment duplicating last control point.
 
PathNVSpec & Rect (T c0, T c1, T c2, T c3)
 Draw a rectangle with the specified absolute coordinates.
 
PathNVSpec & CircularCCWArcTo (T c0, T c1, T c2, T c3, T c4)
 Draw a circular CCW arc with the specified absolute coordinates.
 
PathNVSpec & CircularCWArcTo (T c0, T c1, T c2, T c3, T c4)
 Draw a circular CW arc with the specified absolute coordinates.
 
PathNVSpec & CircularTangentArcTo (T c0, T c1, T c2, T c3, T c4)
 Draw a circular tangential arc with specified absolute coordinates.
 
PathNVSpec & ArcTo (T c0, T c1, T c2, T c3, T c4, T c5, T c6)
 Draw a general elliptical arc with specified absolute coordinates.
 
PathNVSpec & RelativeArcTo (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).