Lines Matching defs:edge
19 // primary edge of |primary|. |edges| is a bitmask of the allowed
54 MagnetismEdge edge)
56 edge_(edge) {
72 // Close enough, but only attach if some portion of the edge is visible.
141 MatchedEdge* edge) {
144 edge->primary_edge = matchers_[i]->edge();
145 AttachToSecondaryEdge(bounds, edge->primary_edge,
146 &(edge->secondary_edge));
163 MagnetismEdge edge,
166 if (edge == MAGNETISM_EDGE_LEFT || edge == MAGNETISM_EDGE_RIGHT) {
167 if (CanMatchSecondaryEdge(edge, SECONDARY_MAGNETISM_EDGE_LEADING, edges_) &&
170 } else if (CanMatchSecondaryEdge(edge, SECONDARY_MAGNETISM_EDGE_TRAILING,
178 if (CanMatchSecondaryEdge(edge, SECONDARY_MAGNETISM_EDGE_LEADING, edges_) &&
181 } else if (CanMatchSecondaryEdge(edge, SECONDARY_MAGNETISM_EDGE_TRAILING,