RadaeePDF.com :: Topic: which methos runs when pinch zooming pdf (1/1)
Welcome, Guest
Username: Password: Remember me

Signin/Signup with:

Questions about Android development and PDF

TOPIC: which methos runs when pinch zooming pdf

which methos runs when pinch zooming pdf 2 years 7 months ago #8086

  • asliyanage
  • asliyanage's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 105
  • Karma: 0
I need to know which methods runs when pinch zooming?
because when i try to pinch zoom in landscape mode it disappear after sometime.This happen after i increased the zoomLevel value.I need to stop zooming based on the below conditioned reached.
if(m_view.vGetMaxScale()<9.598424f)
So I tried with below in onDraw(Canvas canvas) method,but then after zooming it shows me blank screen?
if(m_view.vGetScale()<9.598426f)
{
m_view.vDraw(canvas);
onDrawRect(canvas);
onDrawEllipse(canvas);
onDrawAnnot(canvas);
onDrawLine(canvas);
}

this happens for only landscape mode,portrait mode is working fine.
Last Edit: 2 years 7 months ago by Docrishav.
The administrator has disabled public write access.
Powered by Kunena Forum