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

Unified Diff: Source/core/paint/BoxBorderPainter.h

Issue 1167293004: [SP] Always anti-alias borders (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: expectations Created 5 years, 6 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 | « LayoutTests/TestExpectations ('k') | Source/core/paint/BoxBorderPainter.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/paint/BoxBorderPainter.h
diff --git a/Source/core/paint/BoxBorderPainter.h b/Source/core/paint/BoxBorderPainter.h
index b167b46fd482984dbf3236e5bcd280f9be468845..8c6ffedc26727e44cb50cc9b5f9e40959f11ff52 100644
--- a/Source/core/paint/BoxBorderPainter.h
+++ b/Source/core/paint/BoxBorderPainter.h
@@ -28,10 +28,10 @@ public:
private:
struct ComplexBorderInfo;
- enum MitreType {
chrishtr 2015/06/09 16:30:52 American English FTW!
- NoMitre,
- SoftMitre, // Anti-aliased
- HardMitre, // Not anti-aliased
+ enum MiterType {
+ NoMiter,
+ SoftMiter, // Anti-aliased
+ HardMiter, // Not anti-aliased
};
BorderEdgeFlags paintOpacityGroup(GraphicsContext*, const ComplexBorderInfo&, unsigned index,
@@ -44,11 +44,11 @@ private:
void drawBoxSideFromPath(GraphicsContext*, const LayoutRect&, const Path&, float thickness,
float drawThickness, BoxSide, Color, EBorderStyle) const;
- void clipBorderSidePolygon(GraphicsContext*, BoxSide, MitreType mitre1, MitreType mitre2) const;
+ void clipBorderSidePolygon(GraphicsContext*, BoxSide, MiterType miter1, MiterType miter2) const;
void clipBorderSideForComplexInnerPath(GraphicsContext*, BoxSide) const;
- MitreType computeMitre(BoxSide, BoxSide adjacentSide, BorderEdgeFlags, bool antialias) const;
- static bool mitresRequireClipping(MitreType mitre1, MitreType mitre2, EBorderStyle, bool antialias);
+ MiterType computeMiter(BoxSide, BoxSide adjacentSide, BorderEdgeFlags, bool antialias) const;
+ static bool mitersRequireClipping(MiterType miter1, MiterType miter2, EBorderStyle, bool antialias);
const BorderEdge& firstEdge() const
{
« no previous file with comments | « LayoutTests/TestExpectations ('k') | Source/core/paint/BoxBorderPainter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698