Update skia version, and start work on getting harfbuzz shaper working

This commit is contained in:
Yousef Khadadeh 2025-10-12 18:24:59 +03:00
parent 79d768e8f6
commit 525da85f51
12 changed files with 117 additions and 36 deletions

View file

@ -232,7 +232,7 @@ void DrawBrushStroke::create_triangles(const std::function<bool(Vector2f, Vector
if(pointsN.size() < 2) {
if(bPath && !topPoints.empty())
bPath->addPoly(topPoints.data(), topPoints.size(), false);
bPath->addPoly({topPoints.data(), topPoints.size()}, false);
return;
}
@ -381,7 +381,7 @@ void DrawBrushStroke::create_triangles(const std::function<bool(Vector2f, Vector
if(bPath && !topPoints.empty()) {
topPoints.insert(topPoints.begin(), bottomPoints.rbegin(), bottomPoints.rend());
bPath->addPoly(topPoints.data(), topPoints.size(), false);
bPath->addPoly({topPoints.data(), topPoints.size()}, false);
}
}