public Gdk.Rectangle ClampToImageSize(Gdk.Rectangle r) { return(ActiveDocument.ClampToImageSize(r)); }