MCPcopy Create free account
hub / github.com/Chlumsky/msdfgen / BitmapConstSection

Method BitmapConstSection

core/BitmapRef.hpp:122–122  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

120 YAxisOrientation yOrientation;
121
122 inline BitmapConstSection() : pixels(NULL), width(0), height(0), rowStride(0), yOrientation(MSDFGEN_Y_AXIS_DEFAULT_ORIENTATION) { }
123 inline BitmapConstSection(const T *pixels, int width, int height, YAxisOrientation yOrientation = MSDFGEN_Y_AXIS_DEFAULT_ORIENTATION) : pixels(pixels), width(width), height(height), rowStride(N*width), yOrientation(yOrientation) { }
124 inline BitmapConstSection(const T *pixels, int width, int height, int rowStride, YAxisOrientation yOrientation = MSDFGEN_Y_AXIS_DEFAULT_ORIENTATION) : pixels(pixels), width(width), height(height), rowStride(rowStride), yOrientation(yOrientation) { }
125 inline BitmapConstSection(const BitmapRef<T, N> &orig) : pixels(orig.pixels), width(orig.width), height(orig.height), rowStride(N*orig.width), yOrientation(orig.yOrientation) { }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected