Suppose your Canvas has width and height as 480x800 and you have drawn something on it. Once you zoom it, the android system will calculate how much area of the current canvas can be shown to user for that particular zoom level, and that much area would be clipped. For example, the actual displayable area of canvas once it is zoomed could be 300x500, then the clip area would be the same 300x500, means, this 300x500 is zoomed and shown in the 480x800 display. In this example, the rest of the area ( width & height) of original canvas which is not currently displaying can be calculated as
xScroll = 480-300;
and
yScroll = 800-500;
canvas.getClipBound().left;
gives how much the zoomed screen scrolled horizontally and
canvas.getClipBound().top;
shows how much it is scrolled vertically.
Hope this will help you.