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

Side by Side Diff: Source/core/platform/graphics/skia/SkiaUtils.h

Issue 37803003: Move GraphicsTypes* and ColorSpace to Source/platform (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: I misread Adam's comment, the exports are needed in one place Created 7 years, 2 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2006,2007,2008, Google Inc. All rights reserved. 2 * Copyright (c) 2006,2007,2008, Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 19 matching lines...) Expand all
30 30
31 // All of the functions in this file should move to new homes and this file shou ld be deleted. 31 // All of the functions in this file should move to new homes and this file shou ld be deleted.
32 32
33 #ifndef SkiaUtils_h 33 #ifndef SkiaUtils_h
34 #define SkiaUtils_h 34 #define SkiaUtils_h
35 35
36 #include "SkMatrix.h" 36 #include "SkMatrix.h"
37 #include "SkPath.h" 37 #include "SkPath.h"
38 #include "SkXfermode.h" 38 #include "SkXfermode.h"
39 #include "core/platform/graphics/Color.h" 39 #include "core/platform/graphics/Color.h"
40 #include "core/platform/graphics/GraphicsTypes.h"
41 #include "platform/geometry/FloatRect.h" 40 #include "platform/geometry/FloatRect.h"
41 #include "platform/graphics/GraphicsTypes.h"
42 #include "platform/transforms/AffineTransform.h" 42 #include "platform/transforms/AffineTransform.h"
43 #include "wtf/MathExtras.h" 43 #include "wtf/MathExtras.h"
44 #include "wtf/PassRefPtr.h" 44 #include "wtf/PassRefPtr.h"
45 45
46 class SkCanvas; 46 class SkCanvas;
47 class SkRegion; 47 class SkRegion;
48 48
49 namespace WebCore { 49 namespace WebCore {
50 50
51 class GraphicsContext; 51 class GraphicsContext;
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 void ClipRectToCanvas(const GraphicsContext*, const SkRect& srcRect, SkRect* des tRect); 83 void ClipRectToCanvas(const GraphicsContext*, const SkRect& srcRect, SkRect* des tRect);
84 84
85 // Determine if a given WebKit point is contained in a path 85 // Determine if a given WebKit point is contained in a path
86 bool SkPathContainsPoint(const SkPath&, const FloatPoint&, SkPath::FillType); 86 bool SkPathContainsPoint(const SkPath&, const FloatPoint&, SkPath::FillType);
87 87
88 SkMatrix affineTransformToSkMatrix(const AffineTransform&); 88 SkMatrix affineTransformToSkMatrix(const AffineTransform&);
89 89
90 } // namespace WebCore 90 } // namespace WebCore
91 91
92 #endif // SkiaUtils_h 92 #endif // SkiaUtils_h
OLDNEW
« no previous file with comments | « Source/core/platform/graphics/skia/NativeImageSkia.h ('k') | Source/core/rendering/FilterEffectRenderer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698