Fit bound is not working in overlap image

29 views
Skip to first unread message

laxman kavale

unread,
Jan 22, 2024, 4:37:06 AMJan 22
to Paper.js
Hello ,

I have one original full scale image  set to the raster, When i zoom in to the original image i get one child image for respective zoomed area. Now i have a scenario like one original image is present at background and child image is overlapping on the original image. I am using fitBounds() method of paperjs. Now what i expect is to overlap child image on original image with exact bound of zoomed area. but i am getting discrepancies between  x and y bound of paperjs view and child view bounds. 
Screenshot 2024-01-22 150314.png
294123352-60e02158-ed4f-4360-b8aa-52d426529245.png
Reply all
Reply to author
Forward
0 new messages