Hi,
Does anyone know how to create an annotation withrespect to the zoom of the pageview?
I already tried this:
ASFixed zoom = AVPageViewGetZoom(pageView);
rect->top += ANNOT_HEIGHT;
rect->top *= zoom;
rect->bottom = rect->top - ANNOT_HEIGHT;
rect->bottom *= zoom;
rect->right += ANNOT_WIDTH;
rect->right *= zoom;
rect->left = rect->right - ANNOT_WIDTH;
rect->left *= zoom;
This does not work correctly and the annotation is not drawn at all.