mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Update to newer path fill-type API in Skia (flutter/engine#14070)
This commit is contained in:
parent
69d5294a7a
commit
ebb0a18d75
@ -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) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user