SkRemote: impl drawPaint()
Review URL: https://codereview.chromium.org/1409253003
This commit is contained in:
parent
56f152b53f
commit
1ed348aea3
@ -220,6 +220,10 @@ namespace SkRemote {
|
||||
}
|
||||
}
|
||||
|
||||
void Client::onDrawPaint(const SkPaint& paint) {
|
||||
this->onDrawRect(SkRect::MakeLargest(), paint);
|
||||
}
|
||||
|
||||
void Client::onClipRect(const SkRect& rect, SkRegion::Op op, ClipEdgeStyle edgeStyle) {
|
||||
SkPath path;
|
||||
path.addRect(rect);
|
||||
|
@ -95,6 +95,7 @@ namespace SkRemote {
|
||||
void onDrawOval(const SkRect&, const SkPaint&) override;
|
||||
void onDrawPath(const SkPath&, const SkPaint&) override;
|
||||
void onDrawRect(const SkRect&, const SkPaint&) override;
|
||||
void onDrawPaint(const SkPaint&) override;
|
||||
|
||||
Cache* fCache;
|
||||
Encoder* fEncoder;
|
||||
|
Loading…
Reference in New Issue
Block a user