diff options
author | junov@google.com <junov@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-12-06 21:47:40 +0000 |
---|---|---|
committer | junov@google.com <junov@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-12-06 21:47:40 +0000 |
commit | dbfac8a72393eaf01670aeb3244de0e18d8faf98 (patch) | |
tree | 851b0b533bedd77e65dd43746802c4acf59b8390 /gm/fatpathfill.cpp | |
parent | 4eeda37a7456876cb8d509a4ea43c7f4c684477a (diff) |
Defining new color constat for transparent color
Review URL: https://codereview.appspot.com/6901044
git-svn-id: http://skia.googlecode.com/svn/trunk@6696 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'gm/fatpathfill.cpp')
-rw-r--r-- | gm/fatpathfill.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gm/fatpathfill.cpp b/gm/fatpathfill.cpp index c23a4ecd6f..4c30949f52 100644 --- a/gm/fatpathfill.cpp +++ b/gm/fatpathfill.cpp @@ -41,7 +41,7 @@ static void draw_fatpath(SkCanvas* canvas, SkSurface* surface, const SkPath paths[], int count) { SkPaint paint; - surface->getCanvas()->clear(0); + surface->getCanvas()->clear(SK_ColorTRANSPARENT); for (int i = 0; i < count; ++i) { surface->getCanvas()->drawPath(paths[i], paint); } |