Instance Method

transformContextForBox:

Transforms the current context, given the specified box.

Declaration

- (void)transformContextForBox:(PDFDisplayBox)box;

Discussion

When transforming the current context, this method takes into account the rotation of the page, as well as the origin of the box with respect to the page’s base coordinate system. This is a convenient method to call within the PDFView drawPage: method or from within a draw method of a PDFAnnotation subclass.

See Also

Rendering Pages

- drawWithBox:

Draws the page within the specified box.

Deprecated