SkRemote: DrawPaint is an inverse empty path.
Drawing with SkRect::MakeLargest() isn't actually working. This appears to work correctly, and even be correct. (It's a case explicitly handled by SkCanvas::onDrawPath). BUG=skia: Review URL: https://codereview.chromium.org/1411303002
This commit is contained in:
parent
2fc11d39d1
commit
1df5fab385
@ -236,7 +236,9 @@ namespace SkRemote {
|
||||
}
|
||||
|
||||
void Client::onDrawPaint(const SkPaint& paint) {
|
||||
this->onDrawRect(SkRect::MakeLargest(), paint);
|
||||
SkPath path;
|
||||
path.setFillType(SkPath::kInverseWinding_FillType); // Either inverse FillType works fine.
|
||||
this->onDrawPath(path, paint);
|
||||
}
|
||||
|
||||
void Client::onDrawText(const void* text, size_t byteLength, SkScalar x,
|
||||
|
Loading…
Reference in New Issue
Block a user