Home | History | Annotate | Download | only in camera

Lines Matching refs:edge

212             // the bottom edge (with some tolerance). Similar for horizCheck.
218 // Check whether the position is near some edge(s).
232 // Not near any edge but inside the rectangle: move.
241 // The "edge" parameter specifies which edges the user is dragging.
242 void handleMotion(int edge, float dx, float dy) {
244 if (edge == GROW_NONE) {
246 } else if (edge == MOVE) {
251 if (((GROW_LEFT_EDGE | GROW_RIGHT_EDGE) & edge) == 0) {
255 if (((GROW_TOP_EDGE | GROW_BOTTOM_EDGE) & edge) == 0) {
262 growBy((((edge & GROW_LEFT_EDGE) != 0) ? -1 : 1) * xDelta,
263 (((edge & GROW_TOP_EDGE) != 0) ? -1 : 1) * yDelta);