aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/SkEdge.h
diff options
context:
space:
mode:
authorGravatar Hal Canary <halcanary@google.com>2018-06-11 21:44:01 -0400
committerGravatar Mike Klein <mtklein@google.com>2018-06-12 15:03:21 +0000
commit2a2f67592602b18527bc3fd449132d420cd5b62e (patch)
tree0f6078db2af3b904f08e8cc0118055bf1db621a5 /src/core/SkEdge.h
parent7c525e62d405d57ae7a7742cf607b9770a83a0ab (diff)
SkTypes: extract SkTo
Change-Id: I8de790d5013db2105ad885fa2683303d7c250b09 Reviewed-on: https://skia-review.googlesource.com/133620 Reviewed-by: Mike Klein <mtklein@google.com>
Diffstat (limited to 'src/core/SkEdge.h')
-rw-r--r--src/core/SkEdge.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/SkEdge.h b/src/core/SkEdge.h
index 509c0c448a..7fc685136a 100644
--- a/src/core/SkEdge.h
+++ b/src/core/SkEdge.h
@@ -5,13 +5,13 @@
* found in the LICENSE file.
*/
-
#ifndef SkEdge_DEFINED
#define SkEdge_DEFINED
-#include "SkRect.h"
#include "SkFDot6.h"
#include "SkMath.h"
+#include "SkRect.h"
+#include "SkTo.h"
// This correctly favors the lower-pixel when y0 is on a 1/2 pixel boundary
#define SkEdge_Compute_DY(top, y0) (SkLeftShift(top, 6) + 32 - (y0))