未验证 提交 1a960877 编写于 作者: B Brian Osman 提交者: GitHub

Update to newer path fill-type API in Skia (#14070)

上级 e3e2a389
......@@ -71,11 +71,11 @@ CanvasPath::CanvasPath() {}
CanvasPath::~CanvasPath() {}
int CanvasPath::getFillType() {
return path_.getFillType();
return static_cast<int>(path_.getFillType());
}
void CanvasPath::setFillType(int fill_type) {
path_.setFillType(static_cast<SkPath::FillType>(fill_type));
path_.setFillType(static_cast<SkPathFillType>(fill_type));
}
void CanvasPath::moveTo(float x, float y) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册