MCPcopy Create free account
hub / github.com/davidgiven/fluxengine / size

Method size

dep/agg/include/agg_gradient_lut.h:156–159  ·  view source on GitHub ↗

Size-index Interface. This class can be used directly as the ColorF in span_gradient. All it needs is two access methods size() and operator []. --------------------------------------------------------------------

Source from the content-addressed store, hash-verified

154 // size() and operator [].
155 //--------------------------------------------------------------------
156 static unsigned size()
157 {
158 return color_lut_size;
159 }
160 const color_type& operator[](unsigned i) const
161 {
162 return m_color_lut[i];

Callers 1

build_lutMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected