hi,
i have a pdf, on doubletap i want to zoom into the pdf and center it on the coordinate where the doubletap was.
In ReaderController you have following code, which i extended:
public boolean OnPDFDoubleTapped(float x, float y)
{
this.m_pdv.vSetScale(this.m_pdv.vGetScale() +1, (int)x, (int)y);
return false;
}
zoom works, but the pdf only jumps to the top/left corner.
i tried following, but without any luck:
this.m_pdv.vSetPos(pos, (int)x, (int)y)
so, how can i just move to a point on the pdf, where i detected a click?