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