Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(49)

Unified Diff: gm/annotated_text.cpp

Issue 1238503007: Reland "SkPDF: Annotations are clipped by canvas clip stack." (Closed) Base URL: https://chromium.googlesource.com/skia.git@master
Patch Set: Modify gm to reproduce the bug Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/pdf/SkPDFDevice.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gm/annotated_text.cpp
diff --git a/gm/annotated_text.cpp b/gm/annotated_text.cpp
index ab7e8161268948975b72f0977fb4f9471567e6c1..7126206eeb96b344d53fd6ffc7e23cdb0616099e 100644
--- a/gm/annotated_text.cpp
+++ b/gm/annotated_text.cpp
@@ -27,7 +27,7 @@ static void draw_url_annotated_text_with_box(
DEF_SIMPLE_GM(annotated_text, canvas, 512, 512) {
SkAutoCanvasRestore autoCanvasRestore(canvas, true);
canvas->clear(SK_ColorWHITE);
- canvas->clipRect(SkRect::MakeXYWH(64, 64, 384, 384));
+ canvas->clipRect(SkRect::MakeXYWH(64, 64, 256, 256));
canvas->clear(0xFFEEEEEE);
SkPaint p;
p.setTextSize(40);
« no previous file with comments | « no previous file | src/pdf/SkPDFDevice.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698