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

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

Issue 400543004: Rename WebCore namespace to blink in Platform (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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 unified diff | Download patch | Annotate | Revision Log
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 30 matching lines...) Expand all
41 #include "platform/geometry/FloatRect.h" 41 #include "platform/geometry/FloatRect.h"
42 #include "platform/graphics/Color.h" 42 #include "platform/graphics/Color.h"
43 #include "platform/graphics/GraphicsTypes.h" 43 #include "platform/graphics/GraphicsTypes.h"
44 #include "platform/transforms/AffineTransform.h" 44 #include "platform/transforms/AffineTransform.h"
45 #include "wtf/MathExtras.h" 45 #include "wtf/MathExtras.h"
46 #include "wtf/PassRefPtr.h" 46 #include "wtf/PassRefPtr.h"
47 47
48 class SkCanvas; 48 class SkCanvas;
49 class SkRegion; 49 class SkRegion;
50 50
51 namespace WebCore { 51 namespace blink {
52 52
53 class GraphicsContext; 53 class GraphicsContext;
54 54
55 PassRefPtr<SkXfermode> WebCoreCompositeToSkiaComposite(CompositeOperator, blink: :WebBlendMode = blink::WebBlendModeNormal); 55 PassRefPtr<SkXfermode> WebCoreCompositeToSkiaComposite(CompositeOperator, blink: :WebBlendMode = blink::WebBlendModeNormal);
56 56
57 // move this guy into SkColor.h 57 // move this guy into SkColor.h
58 SkColor SkPMColorToColor(SkPMColor); 58 SkColor SkPMColorToColor(SkPMColor);
59 59
60 inline SkPaint::FilterLevel WebCoreInterpolationQualityToSkFilterLevel(Interpola tionQuality quality) 60 inline SkPaint::FilterLevel WebCoreInterpolationQualityToSkFilterLevel(Interpola tionQuality quality)
61 { 61 {
(...skipping 22 matching lines...) Expand all
84 inline bool WebCoreFloatNearlyEqual(float a, float b) 84 inline bool WebCoreFloatNearlyEqual(float a, float b)
85 { 85 {
86 return SkScalarNearlyEqual(WebCoreFloatToSkScalar(a), WebCoreFloatToSkScalar (b)); 86 return SkScalarNearlyEqual(WebCoreFloatToSkScalar(a), WebCoreFloatToSkScalar (b));
87 } 87 }
88 88
89 // Determine if a given WebKit point is contained in a path 89 // Determine if a given WebKit point is contained in a path
90 bool PLATFORM_EXPORT SkPathContainsPoint(const SkPath&, const FloatPoint&, SkPat h::FillType); 90 bool PLATFORM_EXPORT SkPathContainsPoint(const SkPath&, const FloatPoint&, SkPat h::FillType);
91 91
92 SkMatrix PLATFORM_EXPORT affineTransformToSkMatrix(const AffineTransform&); 92 SkMatrix PLATFORM_EXPORT affineTransformToSkMatrix(const AffineTransform&);
93 93
94 } // namespace WebCore 94 } // namespace blink
95 95
96 #endif // SkiaUtils_h 96 #endif // SkiaUtils_h
OLDNEW
« no previous file with comments | « Source/platform/graphics/skia/OpaqueRegionSkia.cpp ('k') | Source/platform/graphics/skia/SkiaUtils.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698