MCPcopy Create free account
hub / github.com/VitalAudio/visage / addData

Method addData

visage_graphics/image.cpp:124–128  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

122 }
123
124 ImageAtlas::PackedImage ImageAtlas::addData(const unsigned char* data, int width, int height) {
125 Image image(data, width * height * 4, width, height);
126 image.raw = true;
127 return addImage(image, true);
128 }
129
130 void ImageAtlas::resize() {
131 clearStaleImages();

Callers 3

GraphLineWrapperMethod · 0.80
GraphFillWrapperMethod · 0.80
HeatMapWrapperMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected