FastUIDraw
Public Member Functions | Friends | List of all members
fastuidraw::GlyphAttribute::Array Class Reference

Represents an opaque array of GlyphAttribute values. More...

#include <glyph_attribute.hpp>

Inheritance diagram for fastuidraw::GlyphAttribute::Array:
Inheritance graph
[legend]

Public Member Functions

void clear (void)
 
c_array< const GlyphAttributedata (void) const
 
c_array< GlyphAttributedata (void)
 
GlyphAttributeoperator[] (unsigned int)
 
const GlyphAttributeoperator[] (unsigned int) const
 
void resize (unsigned int)
 
unsigned int size (void) const
 

Friends

class Glyph
 
class GlyphCache
 

Detailed Description

Represents an opaque array of GlyphAttribute values.

Definition at line 94 of file glyph_attribute.hpp.

Member Function Documentation

◆ clear()

void fastuidraw::GlyphAttribute::Array::clear ( void  )
inline

Equivalent to resize(0).

Definition at line 113 of file glyph_attribute.hpp.

◆ data() [1/2]

c_array<const GlyphAttribute> fastuidraw::GlyphAttribute::Array::data ( void  ) const

Return the backing store of the Array; valid until resize() is called.

◆ data() [2/2]

c_array<GlyphAttribute> fastuidraw::GlyphAttribute::Array::data ( void  )

Return the backing store of the Array; valid until resize() is called.

◆ operator[]() [1/2]

GlyphAttribute& fastuidraw::GlyphAttribute::Array::operator[] ( unsigned  int)

Returns a reference to an element of the Array

◆ operator[]() [2/2]

const GlyphAttribute& fastuidraw::GlyphAttribute::Array::operator[] ( unsigned  int) const

Returns a reference to an element of the Array

◆ resize()

void fastuidraw::GlyphAttribute::Array::resize ( unsigned  int)

change the size of Array

◆ size()

unsigned int fastuidraw::GlyphAttribute::Array::size ( void  ) const

Return the size of Array


The documentation for this class was generated from the following file: