| 254 | } |
| 255 | |
| 256 | static void rleGenerationCb(int count, const SW_FT_Span *spans, void *user) |
| 257 | { |
| 258 | VRle *rle = static_cast<VRle *>(user); |
| 259 | auto *rleSpan = reinterpret_cast<const VRle::Span *>(spans); |
| 260 | rle->addSpan(rleSpan, count); |
| 261 | } |
| 262 | |
| 263 | static void bboxCb(int x, int y, int w, int h, void *user) |
| 264 | { |