| 41 | } |
| 42 | |
| 43 | forceinline bool |
| 44 | DrawingCursor::isClipped(void) { |
| 45 | if (clippingRect.width() == 0 && clippingRect.x() == 0 |
| 46 | && clippingRect.height() == 0 && clippingRect.y() == 0) |
| 47 | return false; |
| 48 | BoundingBox b = node()->getBoundingBox(); |
| 49 | return (x + b.left > clippingRect.x() + clippingRect.width() || |
| 50 | x + b.right < clippingRect.x() || |
| 51 | y > clippingRect.y() + clippingRect.height() || |
| 52 | y + (node()->getShape()->depth()+1) * Layout::dist_y < |
| 53 | clippingRect.y()); |
| 54 | } |
| 55 | |
| 56 | inline bool |
| 57 | DrawingCursor::mayMoveDownwards(void) { |