MCPcopy Create free account
hub / github.com/ArtifexSoftware/mupdf / onPageContentsChange

Method onPageContentsChange

platform/java/example/Viewer.java:2010–2018  ·  view source on GitHub ↗
(Pixmap pixmap, Rect[] links, String[] linkURIs, Quad[][] hits)

Source from the content-addressed store, hash-verified

2008 outlinePanel.setVisible(outline != null);
2009 }
2010 public void onPageContentsChange(Pixmap pixmap, Rect[] links, String[] linkURIs, Quad[][] hits) {
2011 this.pixmap = pixmap;
2012 this.links = links;
2013 this.linkURIs = linkURIs;
2014 this.hits = hits;
2015 redraw();
2016 if (renderMeter != null)
2017 renderMeter.done();
2018 }
2019 public void onSearchStart(Location startPage, Location finalPage, int direction, String needle) {
2020 searchField.setEnabled(false);
2021 }

Callers

nothing calls this directly

Calls 2

redrawMethod · 0.95
doneMethod · 0.45

Tested by

no test coverage detected