Definition at line 80 of file scale_up.cpp.
81 {
82 uint16_t n =
mXyMap.getTotal();
83 for (uint16_t w = 0; w < width; w++) {
84 for (uint16_t h = 0; h < height; h++) {
85 uint16_t idx =
mXyMap.mapToIndex(w, h);
86 if (idx < n) {
87 output[idx] = input[w * height + h];
88 }
89 }
90 }
91}
References fl::Fx2d::mXyMap.
Referenced by draw().