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

Unified Diff: ui/gfx/skia_util.h

Issue 595593002: Splitting of layers for correct intersections (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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
Index: ui/gfx/skia_util.h
diff --git a/ui/gfx/skia_util.h b/ui/gfx/skia_util.h
index 0c759838b863f5443b238054e1b38ea9ce6ed0f7..f95d3c2ec52e1d39780a33e39c857eec426c65f4 100644
--- a/ui/gfx/skia_util.h
+++ b/ui/gfx/skia_util.h
@@ -13,6 +13,7 @@
#include "third_party/skia/include/core/SkRect.h"
#include "third_party/skia/include/core/SkShader.h"
#include "ui/gfx/gfx_export.h"
+#include "ui/gfx/quad_f.h"
class SkBitmap;
class SkDrawLooper;
@@ -75,6 +76,7 @@ GFX_EXPORT bool BitmapsAreEqual(const SkBitmap& bitmap1,
GFX_EXPORT void ConvertSkiaToRGBA(const unsigned char* skia,
int pixel_width,
unsigned char* rgba);
+GFX_EXPORT void QuadFToSkPoints(const gfx::QuadF& quad, SkPoint points[4]);
} // namespace gfx

Powered by Google App Engine
This is Rietveld 408576698