Author Topic: Book position and size with v2.0.10  (Read 235 times)

Kotch

  • Jr. Member
  • **
  • Posts: 30
Book position and size with v2.0.10
« on: January 13, 2012, 04:22:18 pm »
Hello

I'm using Megazine mz3v2.0.10.

How do I find the x,y of the book as you see it on screen?

I understand that with the latest release of Megazine I would use IMegazine.pageContainerInner.  How about with the version I'm using?

Thanks

Florian Nücke

  • κρύα πόδια
  • Administrator
  • Hero Member
  • *****
  • Posts: 1989
  • MegaZine3 Developer
    • MegaZine3
Re: Book position and size with v2.0.10
« Reply #1 on: January 26, 2012, 12:07:24 am »
If you don't mind the 'hackyness', you could try something like this: get the pluginLayer of the left page side, use localToGlobal to convert the point at 0,0.
For the Snark was a Boojum, you see.

Before you ask a question
          After you get an answer
  • please document your problem with the answer in the Project Wiki. (e.g. in the FAQs)
  • help others out if you can, by answering their questions on the forum.