remove-dependencies (#20)
All checks were successful
Build ptprnt / build (push) Successful in 2m10s

Reviewed-on: #20
This commit was merged in pull request #20.
This commit is contained in:
2025-10-19 11:35:00 +00:00
parent 8865117c49
commit d8467b8984
12 changed files with 494 additions and 104 deletions

View File

@@ -25,6 +25,7 @@
#include <cassert>
#include <cstddef>
#include <cstdint>
#include <cstring>
#include <memory>
#include <string>
#include <vector>
@@ -274,7 +275,7 @@ bool Label::append(const ILabel& other, uint32_t spacingPx) {
int newStride = mCairoWrapper->cairo_image_surface_get_stride(newSurface.get());
// Clear the new surface (set to transparent/white)
std::memset(newData, 0x00, newStride * height);
memset(newData, 0x00, newStride * height);
// Copy current label data
for (int y = 0; y < height; ++y) {