MCPcopy Create free account
hub / github.com/buggins/coolreader / checkImage

Method checkImage

android/src/org/coolreader/crengine/DocView.java:323–327  ·  view source on GitHub ↗

Check whether point of current document contains image. If image is found, image becomes current image to be drawn by drawImage(), dstImage fields are set to image dimension. @param x is X coordinate in document window @param y is Y coordinate in document window @param dstImage is to place found im

(int x, int y, ImageInfo dstImage)

Source from the content-addressed store, hash-verified

321 * @return true if point belongs to image
322 */
323 public boolean checkImage(int x, int y, ImageInfo dstImage) {
324 synchronized(mutex) {
325 return checkImageInternal(x, y, dstImage);
326 }
327 }
328
329 /**
330 * Check whether point of current document belongs to bookmark.

Callers 1

workMethod · 0.45

Calls 1

checkImageInternalMethod · 0.95

Tested by

no test coverage detected