Home | History | Annotate | Download | only in workspace

Lines Matching refs:edges

13 // Returns true if |a| is close enough to |b| that the two edges snap.
19 // primary edge of |primary|. |edges| is a bitmask of the allowed
23 uint32 edges) {
24 // Convert |secondary| to a MagnetismEdge so we can compare it to |edges|.
46 return (edges & secondary_as_magnetism_edge) != 0;
123 MagnetismMatcher::MagnetismMatcher(const gfx::Rect& bounds, uint32 edges)
124 : edges_(edges) {
125 if (edges & MAGNETISM_EDGE_TOP)
127 if (edges & MAGNETISM_EDGE_LEFT)
129 if (edges & MAGNETISM_EDGE_BOTTOM) {
133 if (edges & MAGNETISM_EDGE_RIGHT)