OGLplus (0.52.0) a C++ wrapper for OpenGL

path_array.hpp
Go to the documentation of this file.
1 
12 #pragma once
13 #ifndef OGLPLUS_EXT_NV_PATH_RENDERING_PATH_ARRAY_1203031902_HPP
14 #define OGLPLUS_EXT_NV_PATH_RENDERING_PATH_ARRAY_1203031902_HPP
15 
16 #if OGLPLUS_DOCUMENTATION_ONLY || GL_NV_path_rendering
17 
19 
25 
26 namespace oglplus {
27 
29 
33  : public Array<PathNV>
34 {
35 public:
37  PathArrayNV(GLsizei count)
38  : Array<PathNV>(count)
39  { }
40 
42 
46  template <typename CharType>
48  PathNVFontTarget font_target,
49  const GLchar* font_name,
50  Bitfield<PathNVFontStyle> font_style,
51  GLsizei num_glyphs,
52  const CharType* char_codes,
53  PathNVMissingGlyph handle_missing_glyphs,
54  GLuint parameter_template,
55  GLfloat em_scale
56  )
57  {
58  OGLPLUS_GLFUNC(PathGlyphsNV)(
59  this->_names[0],
60  GLenum(font_target),
61  (const void*)font_name,
62  GLbitfield(font_style),
63  num_glyphs,
64  GetDataType<CharType>(),
65  (const void*)char_codes,
66  GLenum(handle_missing_glyphs),
67  parameter_template,
68  em_scale
69  );
70  OGLPLUS_CHECK(
71  PathGlyphsNV,
72  Error,
73  EnumParam(font_target)
74  );
75  return *this;
76  }
77 
79 
83  template <typename CharType>
85  PathNVFontTarget font_target,
86  const GLchar* font_name,
87  Bitfield<PathNVFontStyle> font_style,
88  const std::vector<CharType>& char_codes,
89  PathNVMissingGlyph handle_missing_glyphs,
90  GLuint parameter_template,
91  GLfloat em_scale
92  )
93  {
94  OGLPLUS_GLFUNC(PathGlyphsNV)(
95  this->_names[0],
96  GLenum(font_target),
97  (const void*)font_name,
98  GLbitfield(font_style),
99  GLsizei(char_codes.size()),
100  GetDataType<CharType>(),
101  (const void*)char_codes.data(),
102  GLenum(handle_missing_glyphs),
103  parameter_template,
104  em_scale
105  );
106  OGLPLUS_CHECK(
107  PathGlyphsNV,
108  Error,
109  EnumParam(font_target)
110  );
111  return *this;
112  }
113 
115 
120  PathNVFontTarget font_target,
121  const GLchar* font_name,
122  Bitfield<PathNVFontStyle> font_style,
123  StrCRef char_codes,
124  PathNVMissingGlyph handle_missing_glyphs,
125  GLuint parameter_template,
126  GLfloat em_scale
127  )
128  {
129  OGLPLUS_GLFUNC(PathGlyphsNV)(
130  this->_names[0],
131  GLenum(font_target),
132  (const void*)font_name,
133  GLbitfield(font_style),
134  char_codes.size(),
135  GL_UTF8_NV,
136  (const void*)char_codes.c_str(),
137  GLenum(handle_missing_glyphs),
138  parameter_template,
139  em_scale
140  );
141  OGLPLUS_CHECK(
142  PathGlyphsNV,
143  Error,
144  EnumParam(font_target)
145  );
146  return *this;
147  }
148 
150 
155  PathNVFontTarget font_target,
156  const GLchar* font_name,
157  Bitfield<PathNVFontStyle> font_style,
158  GLuint first_glyph,
159  GLsizei num_glyphs,
160  PathNVMissingGlyph handle_missing_glyphs,
161  GLuint parameter_template,
162  GLfloat em_scale
163  )
164  {
165  OGLPLUS_GLFUNC(PathGlyphRangeNV)(
166  this->_names[0],
167  GLenum(font_target),
168  (const void*)font_name,
169  GLbitfield(font_style),
170  first_glyph,
171  num_glyphs,
172  GLenum(handle_missing_glyphs),
173  parameter_template,
174  em_scale
175  );
176  OGLPLUS_CHECK(
177  PathGlyphRangeNV,
178  Error,
179  EnumParam(font_target)
180  );
181  return *this;
182  }
183 
185 
189  template <typename IndexType>
191  PathNVListMode list_mode,
192  GLsizei num_indices,
193  const IndexType* indices,
194  GLfloat advance_scale,
195  GLfloat kerning_scale,
196  PathNVTransformType transform_type,
197  GLfloat* returned_values
198  )
199  {
200  OGLPLUS_GLFUNC(GetPathSpacingNV)(
201  GLenum(list_mode),
202  num_indices,
203  GLenum(GetDataType<IndexType>()),
204  (const void*)indices,
205  this->_names[0],
206  advance_scale,
207  kerning_scale,
208  GLenum(transform_type),
209  returned_values
210  );
211  OGLPLUS_CHECK(
212  GetPathSpacingNV,
213  Error,
214  EnumParam(list_mode)
215  );
216  return *this;
217  }
218 
220 
224  template <typename IndexType>
226  PathNVListMode list_mode,
227  const std::vector<IndexType>& indices,
228  GLfloat advance_scale,
229  GLfloat kerning_scale,
230  PathNVTransformType transform_type,
231  std::vector<GLfloat>& returned_values
232  )
233  {
234  OGLPLUS_GLFUNC(GetPathSpacingNV)(
235  GLenum(list_mode),
236  GLsizei(indices.size()),
237  GLenum(GetDataType<IndexType>()),
238  (const void*)indices.data(),
239  this->_names[0],
240  advance_scale,
241  kerning_scale,
242  GLenum(transform_type),
243  returned_values.data()
244  );
245  OGLPLUS_CHECK(
246  GetPathSpacingNV,
247  Error,
248  EnumParam(list_mode)
249  );
250  return *this;
251  }
252 
254 
259  PathNVListMode list_mode,
260  StrCRef indices,
261  GLfloat advance_scale,
262  GLfloat kerning_scale,
263  PathNVTransformType transform_type,
264  std::vector<GLfloat>& returned_values
265  )
266  {
267  OGLPLUS_GLFUNC(GetPathSpacingNV)(
268  GLenum(list_mode),
269  GLsizei(indices.size()+1), //include null terminator
270  GL_UTF8_NV,
271  (const void*)indices.c_str(),
272  this->_names[0],
273  advance_scale,
274  kerning_scale,
275  GLenum(transform_type),
276  returned_values.data()
277  );
278  OGLPLUS_CHECK(
279  GetPathSpacingNV,
280  Error,
281  EnumParam(list_mode)
282  );
283  return *this;
284  }
285 
287 
291  template <typename IndexType>
293  Bitfield<PathNVMetricQuery> query_mask,
294  GLsizei num_indices,
295  const IndexType* indices,
296  GLsizei stride,
297  GLfloat* returned_values
298  )
299  {
300  OGLPLUS_GLFUNC(GetPathMetricsNV)(
301  GLbitfield(query_mask),
302  num_indices,
303  GLenum(GetDataType<IndexType>()),
304  (const void*)indices,
305  this->_names[0],
306  stride,
307  returned_values
308  );
309  OGLPLUS_CHECK_SIMPLE(GetPathMetricsNV);
310  return *this;
311  }
312 
314 
318  template <typename IndexType>
320  Bitfield<PathNVMetricQuery> query_mask,
321  const std::vector<IndexType>& indices,
322  GLsizei stride,
323  GLfloat* returned_values
324  )
325  {
326  OGLPLUS_GLFUNC(GetPathMetricsNV)(
327  GLbitfield(query_mask),
328  GLsizei(indices.size()),
329  GLenum(GetDataType<IndexType>()),
330  (const void*)indices.data(),
331  this->_names[0],
332  stride,
333  returned_values
334  );
335  OGLPLUS_CHECK_SIMPLE(GetPathMetricsNV);
336  return *this;
337  }
338 
340 
345  Bitfield<PathNVMetricQuery> query_mask,
346  StrCRef indices,
347  GLsizei stride,
348  GLfloat* returned_values
349  )
350  {
351  OGLPLUS_GLFUNC(GetPathMetricsNV)(
352  GLbitfield(query_mask),
353  GLsizei(indices.size()+1),
354  GL_UTF8_NV,
355  (const void*)indices.c_str(),
356  this->_names[0],
357  stride,
358  returned_values
359  );
360  OGLPLUS_CHECK_SIMPLE(GetPathMetricsNV);
361  return *this;
362  }
363 
365 
370  Bitfield<PathNVMetricQuery> query_mask,
371  GLsizei num_paths,
372  GLsizei stride,
373  GLfloat* returned_values
374  )
375  {
376  OGLPLUS_GLFUNC(GetPathMetricRangeNV)(
377  GLbitfield(query_mask),
378  this->_names[0],
379  num_paths,
380  stride,
381  returned_values
382  );
383  OGLPLUS_CHECK_SIMPLE(GetPathMetricRangeNV);
384  return *this;
385  }
386 
388 
392  template <typename IndexType>
394  GLsizei num_paths,
395  const IndexType* paths,
396  PathNVFillMode mode,
397  GLuint mask,
398  PathNVTransformType transform_type,
399  const GLfloat* transform_values
400  )
401  {
402  OGLPLUS_GLFUNC(StencilFillPathInstancedNV)(
403  num_paths,
404  GLenum(GetDataType<IndexType>()),
405  (const void*)paths,
406  this->_names[0],
407  GLenum(mode),
408  mask,
409  GLenum(transform_type),
410  transform_values
411  );
412  OGLPLUS_CHECK(
413  StencilFillPathInstancedNV,
414  Error,
415  EnumParam(mode)
416  );
417  return *this;
418  }
419 
421 
425  template <typename IndexType>
427  const std::vector<IndexType>& paths,
428  PathNVFillMode mode,
429  GLuint mask,
430  PathNVTransformType transform_type,
431  const std::vector<GLfloat>& transform_values
432  )
433  {
434  // TODO: check if enough transform values
435  // are provided for transform type
436  OGLPLUS_GLFUNC(StencilFillPathInstancedNV)(
437  GLsizei(paths.size()),
438  GLenum(GetDataType<IndexType>()),
439  (const void*)paths.data(),
440  this->_names[0],
441  GLenum(mode),
442  mask,
443  GLenum(transform_type),
444  transform_values.data()
445  );
446  OGLPLUS_CHECK(
447  StencilFillPathInstancedNV,
448  Error,
449  EnumParam(mode)
450  );
451  return *this;
452  }
453 
455 
460  StrCRef paths,
461  PathNVFillMode mode,
462  GLuint mask,
463  PathNVTransformType transform_type,
464  const std::vector<GLfloat>& transform_values
465  )
466  {
467  // TODO: check if enough transform values
468  // are provided for transform type
469  OGLPLUS_GLFUNC(StencilFillPathInstancedNV)(
470  GLsizei(paths.size()),
471  GL_UTF8_NV,
472  (const void*)paths.c_str(),
473  this->_names[0],
474  GLenum(mode),
475  mask,
476  GLenum(transform_type),
477  transform_values.data()
478  );
479  OGLPLUS_CHECK(
480  StencilFillPathInstancedNV,
481  Error,
482  EnumParam(mode)
483  );
484  return *this;
485  }
486 
488 
492  template <typename IndexType>
494  GLsizei num_paths,
495  const IndexType* paths,
496  PathNVFillCoverMode mode,
497  PathNVTransformType transform_type,
498  const GLfloat* transform_values
499  )
500  {
501  OGLPLUS_GLFUNC(CoverFillPathInstancedNV)(
502  num_paths,
503  GLenum(GetDataType<IndexType>()),
504  (const void*)paths,
505  this->_names[0],
506  GLenum(mode),
507  GLenum(transform_type),
508  transform_values
509  );
510  OGLPLUS_CHECK(
511  CoverFillPathInstancedNV,
512  Error,
513  EnumParam(mode)
514  );
515  return *this;
516  }
517 
519 
523  template <typename IndexType>
525  const std::vector<IndexType>& paths,
526  PathNVFillCoverMode mode,
527  PathNVTransformType transform_type,
528  const std::vector<GLfloat>& transform_values
529  )
530  {
531  OGLPLUS_GLFUNC(CoverFillPathInstancedNV)(
532  GLsizei(paths.size()),
533  GLenum(GetDataType<IndexType>()),
534  (const void*)paths.data(),
535  this->_names[0],
536  GLenum(mode),
537  GLenum(transform_type),
538  transform_values.data()
539  );
540  OGLPLUS_CHECK(
541  CoverFillPathInstancedNV,
542  Error,
543  EnumParam(mode)
544  );
545  return *this;
546  }
547 
549 
554  StrCRef paths,
555  PathNVFillCoverMode mode,
556  PathNVTransformType transform_type,
557  const std::vector<GLfloat>& transform_values
558  )
559  {
560  OGLPLUS_GLFUNC(CoverFillPathInstancedNV)(
561  GLsizei(paths.size()),
562  GL_UTF8_NV,
563  (const void*)paths.c_str(),
564  this->_names[0],
565  GLenum(mode),
566  GLenum(transform_type),
567  transform_values.data()
568  );
569  OGLPLUS_CHECK(
570  CoverFillPathInstancedNV,
571  Error,
572  EnumParam(mode)
573  );
574  return *this;
575  }
576 
578 
582  template <typename IndexType>
584  GLsizei num_paths,
585  const IndexType* paths,
586  GLint reference,
587  GLuint mask,
588  PathNVTransformType transform_type,
589  const GLfloat* transform_values
590  )
591  {
592  OGLPLUS_GLFUNC(StencilStrokePathInstancedNV)(
593  num_paths,
594  GLenum(GetDataType<IndexType>()),
595  (const void*)paths,
596  this->_names[0],
597  reference,
598  mask,
599  GLenum(transform_type),
600  transform_values
601  );
602  OGLPLUS_CHECK_SIMPLE(StencilStrokePathInstancedNV);
603  return *this;
604  }
605 
607 
611  template <typename IndexType>
613  const std::vector<IndexType>& paths,
614  GLint reference,
615  GLuint mask,
616  PathNVTransformType transform_type,
617  const std::vector<GLfloat>& transform_values
618  )
619  {
620  OGLPLUS_GLFUNC(StencilStrokePathInstancedNV)(
621  GLsizei(paths.size()),
622  GLenum(GetDataType<IndexType>()),
623  (const void*)paths.data(),
624  this->_names[0],
625  reference,
626  mask,
627  GLenum(transform_type),
628  transform_values.data()
629  );
630  OGLPLUS_CHECK_SIMPLE(StencilStrokePathInstancedNV);
631  return *this;
632  }
633 
635 
640  StrCRef paths,
641  GLint reference,
642  GLuint mask,
643  PathNVTransformType transform_type,
644  const std::vector<GLfloat>& transform_values
645  )
646  {
647  OGLPLUS_GLFUNC(StencilStrokePathInstancedNV)(
648  GLsizei(paths.size()),
649  GL_UTF8_NV,
650  (const void*)paths.c_str(),
651  this->_names[0],
652  reference,
653  mask,
654  GLenum(transform_type),
655  transform_values.data()
656  );
657  OGLPLUS_CHECK_SIMPLE(StencilStrokePathInstancedNV);
658  return *this;
659  }
660 
662 
666  template <typename IndexType>
668  GLsizei num_paths,
669  const IndexType* paths,
671  PathNVTransformType transform_type,
672  const GLfloat* transform_values
673  )
674  {
675  OGLPLUS_GLFUNC(CoverStrokePathInstancedNV)(
676  num_paths,
677  GLenum(GetDataType<IndexType>()),
678  (const void*)paths,
679  this->_names[0],
680  GLenum(mode),
681  GLenum(transform_type),
682  transform_values
683  );
684  OGLPLUS_CHECK(
685  CoverStrokePathInstancedNV,
686  Error,
687  EnumParam(mode)
688  );
689  return *this;
690  }
691 
693 
697  template <typename IndexType>
699  const std::vector<IndexType>& paths,
701  PathNVTransformType transform_type,
702  const std::vector<GLfloat>& transform_values
703  )
704  {
705  OGLPLUS_GLFUNC(CoverStrokePathInstancedNV)(
706  GLsizei(paths.size()),
707  GLenum(GetDataType<IndexType>()),
708  (const void*)paths.data(),
709  this->_names[0],
710  GLenum(mode),
711  GLenum(transform_type),
712  transform_values.data()
713  );
714  OGLPLUS_CHECK(
715  CoverStrokePathInstancedNV,
716  Error,
717  EnumParam(mode)
718  );
719  return *this;
720  }
721 
723 
728  StrCRef paths,
730  PathNVTransformType transform_type,
731  const std::vector<GLfloat>& transform_values
732  )
733  {
734  OGLPLUS_GLFUNC(CoverStrokePathInstancedNV)(
735  GLsizei(paths.size()),
736  GL_UTF8_NV,
737  (const void*)paths.c_str(),
738  this->_names[0],
739  GLenum(mode),
740  GLenum(transform_type),
741  transform_values.data()
742  );
743  OGLPLUS_CHECK(
744  CoverStrokePathInstancedNV,
745  Error,
746  EnumParam(mode)
747  );
748  return *this;
749  }
750 };
751 
752 } // namespace oglplus
753 
754 #endif // NV_path_rendering
755 
756 #endif // include guard
const Char * c_str(void) const
Returns the null-terminated c-string.
Definition: ref_tpl.hpp:200
PathArrayNV & GetMetricRange(Bitfield< PathNVMetricQuery > query_mask, GLsizei num_paths, GLsizei stride, GLfloat *returned_values)
Queries the glyph metrics associated with a range of path objects.
Definition: path_array.hpp:369
Reference< PathNV > reference
Reference to elements.
Definition: array.hpp:108
PathNVFillCoverMode
Path fill covering mode.
Definition: fill_cover_mode.hpp:27
PathArrayNV & CoverFillInstanced(GLsizei num_paths, const IndexType *paths, PathNVFillCoverMode mode, PathNVTransformType transform_type, const GLfloat *transform_values)
Covers the path interiors (fill)
Definition: path_array.hpp:493
PathNVStrokeCoverMode
Path stroke covering move.
Definition: stroke_cover_mode.hpp:27
PathArrayNV & GetSpacing(PathNVListMode list_mode, const std::vector< IndexType > &indices, GLfloat advance_scale, GLfloat kerning_scale, PathNVTransformType transform_type, std::vector< GLfloat > &returned_values)
Queries the glyph spacing for paths in the array.
Definition: path_array.hpp:225
PathArrayNV(GLsizei count)
Creates a sequence of count paths.
Definition: path_array.hpp:37
Array of PathNV objects and related operations.
Definition: path_array.hpp:32
This template serves as a wrapper for OpenGL bitfields.
Definition: bitfield.hpp:56
PathArrayNV & CoverFillInstanced(const std::vector< IndexType > &paths, PathNVFillCoverMode mode, PathNVTransformType transform_type, const std::vector< GLfloat > &transform_values)
Covers the path interiors (fill)
Definition: path_array.hpp:524
PathArrayNV & Glyphs(PathNVFontTarget font_target, const GLchar *font_name, Bitfield< PathNVFontStyle > font_style, const std::vector< CharType > &char_codes, PathNVMissingGlyph handle_missing_glyphs, GLuint parameter_template, GLfloat em_scale)
Creates a range of paths from specified font for specified chars.
Definition: path_array.hpp:84
Wrapper for the NV_path_rendering metric query enumeration.
std::size_t size(void) const
Return the size (length) string.
Definition: ref_tpl.hpp:149
PathNVFillMode
Path fill mode.
Definition: fill_mode.hpp:27
PathArrayNV & StencilStrokeInstanced(const std::vector< IndexType > &paths, GLint reference, GLuint mask, PathNVTransformType transform_type, const std::vector< GLfloat > &transform_values)
Writes the path interiors strokes to the stencil buffer.
Definition: path_array.hpp:612
Wrapper for the NV_path_rendering path class.
PathArrayNV & CoverStrokeInstanced(const std::vector< IndexType > &paths, PathNVStrokeCoverMode mode, PathNVTransformType transform_type, const std::vector< GLfloat > &transform_values)
Covers the path strokes.
Definition: path_array.hpp:698
String const reference wrapper template.
Definition: ref_tpl.hpp:72
PathArrayNV & CoverStrokeInstanced(GLsizei num_paths, const IndexType *paths, PathNVStrokeCoverMode mode, PathNVTransformType transform_type, const GLfloat *transform_values)
Covers the path strokes.
Definition: path_array.hpp:667
PathArrayNV & StencilFillInstanced(GLsizei num_paths, const IndexType *paths, PathNVFillMode mode, GLuint mask, PathNVTransformType transform_type, const GLfloat *transform_values)
Writes the path interiors (fill) into the stencil buffer.
Definition: path_array.hpp:393
Wrapper for the NV_path_rendering list mode enumeration.
PathArrayNV & CoverFillInstanced(StrCRef paths, PathNVFillCoverMode mode, PathNVTransformType transform_type, const std::vector< GLfloat > &transform_values)
Covers the path interiors (fill)
Definition: path_array.hpp:553
Wrapper for the NV_path_rendering missing glyph enumeration.
PathArrayNV & StencilStrokeInstanced(GLsizei num_paths, const IndexType *paths, GLint reference, GLuint mask, PathNVTransformType transform_type, const GLfloat *transform_values)
Writes the path interiors strokes to the stencil buffer.
Definition: path_array.hpp:583
PathArrayNV & Glyphs(PathNVFontTarget font_target, const GLchar *font_name, Bitfield< PathNVFontStyle > font_style, StrCRef char_codes, PathNVMissingGlyph handle_missing_glyphs, GLuint parameter_template, GLfloat em_scale)
Creates a range of paths from specified font for specified chars.
Definition: path_array.hpp:119
PathArrayNV & GlyphRange(PathNVFontTarget font_target, const GLchar *font_name, Bitfield< PathNVFontStyle > font_style, GLuint first_glyph, GLsizei num_glyphs, PathNVMissingGlyph handle_missing_glyphs, GLuint parameter_template, GLfloat em_scale)
Creates a range of paths from specified font.
Definition: path_array.hpp:154
PathArrayNV & GetSpacing(PathNVListMode list_mode, StrCRef indices, GLfloat advance_scale, GLfloat kerning_scale, PathNVTransformType transform_type, std::vector< GLfloat > &returned_values)
Queries the glyph spacing for paths in the array.
Definition: path_array.hpp:258
PathArrayNV & StencilStrokeInstanced(StrCRef paths, GLint reference, GLuint mask, PathNVTransformType transform_type, const std::vector< GLfloat > &transform_values)
Writes the path interiors strokes to the stencil buffer.
Definition: path_array.hpp:639
Exception class for general OpenGL errors.
Definition: basic.hpp:43
PathArrayNV & StencilFillInstanced(StrCRef paths, PathNVFillMode mode, GLuint mask, PathNVTransformType transform_type, const std::vector< GLfloat > &transform_values)
Writes the path interiors (fill) into the stencil buffer.
Definition: path_array.hpp:459
PathNVMissingGlyph
Path missing glyph action mode enumeration.
Definition: missing_glyph.hpp:27
PathArrayNV & GetSpacing(PathNVListMode list_mode, GLsizei num_indices, const IndexType *indices, GLfloat advance_scale, GLfloat kerning_scale, PathNVTransformType transform_type, GLfloat *returned_values)
Queries the glyph spacing for paths in the array.
Definition: path_array.hpp:190
PathArrayNV & Glyphs(PathNVFontTarget font_target, const GLchar *font_name, Bitfield< PathNVFontStyle > font_style, GLsizei num_glyphs, const CharType *char_codes, PathNVMissingGlyph handle_missing_glyphs, GLuint parameter_template, GLfloat em_scale)
Creates a range of paths from specified font for specified chars.
Definition: path_array.hpp:47
PathArrayNV & GetMetrics(Bitfield< PathNVMetricQuery > query_mask, StrCRef indices, GLsizei stride, GLfloat *returned_values)
Queries the glyph metrics associated with a sequence of path objects.
Definition: path_array.hpp:344
Wrapper for the NV_path_rendering font target enumeration.
PathArrayNV & CoverStrokeInstanced(StrCRef paths, PathNVStrokeCoverMode mode, PathNVTransformType transform_type, const std::vector< GLfloat > &transform_values)
Covers the path strokes.
Definition: path_array.hpp:727
PathNVListMode
Path list mode enumeration.
Definition: list_mode.hpp:27
PathNVTransformType
Path transform type enumeration.
Definition: transform_type.hpp:27
Allows to allocate and manage several instances of Object at the same time.
Definition: fwd.hpp:183
PathNVFontTarget
Path font target enumeration.
Definition: font_target.hpp:27
Object< PathNVOps > PathNV
An oglplus_object encapsulating the nVidia path functionality.
Definition: path.hpp:1019
Allows to make managed copies of instances of Object.
Definition: fwd.hpp:172
PathArrayNV & GetMetrics(Bitfield< PathNVMetricQuery > query_mask, const std::vector< IndexType > &indices, GLsizei stride, GLfloat *returned_values)
Queries the glyph metrics associated with a sequence of path objects.
Definition: path_array.hpp:319
Wrapper for the NV_path_rendering font style enumeration.
PathArrayNV & StencilFillInstanced(const std::vector< IndexType > &paths, PathNVFillMode mode, GLuint mask, PathNVTransformType transform_type, const std::vector< GLfloat > &transform_values)
Writes the path interiors (fill) into the stencil buffer.
Definition: path_array.hpp:426
PathArrayNV & GetMetrics(Bitfield< PathNVMetricQuery > query_mask, GLsizei num_indices, const IndexType *indices, GLsizei stride, GLfloat *returned_values)
Queries the glyph metrics associated with a sequence of path objects.
Definition: path_array.hpp:292

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