multivalent.std.lens
Class BitMagnify
public
class
BitMagnify
extends Lens
implements ImageObserver
Enlarge contexts
by doubling pixel width and height
as opposed to drawing at larger size (scaling with ATM).
Usually use
Magnify lens, but
BitMagnify useful for debugging (layout and other kinds).
(Broken if use Java 1.4's VolatileImage, which we don't anymore, because VolatileImage won't draw on top of itself.)
Version: $Revision: 1.2 $ $Date: 2002/11/18 04:48:05 $
See Also: Magnify
Method Summary |
boolean | eventAfter(AWTEvent e, Point rel, Node obsn) |
boolean | eventBefore(AWTEvent e, Point rel, Node obsn) Transform mouse coordinates to match magnified. |
boolean | imageUpdate(Image img, int flags, int x, int y, int w, int h) |
boolean | paintAfter(Context cx, Node node) |
protected Point rel_
protected boolean warp_
public boolean eventAfter(AWTEvent e, Point rel,
Node obsn)
public boolean eventBefore(AWTEvent e, Point rel,
Node obsn)
Transform mouse coordinates to match magnified.
public boolean imageUpdate(Image img, int flags, int x, int y, int w, int h)