PSPDFRenderManager
Objective-C
@protocol PSPDFRenderManager <NSObject>
Swift
protocol RenderManager : NSObjectProtocol
The PDF render manager coordinates the PDF renderer used.
-
Setup the graphics context to the current PDF.
Declaration
Objective-C
- (void)setupGraphicsContext:(nonnull CGContextRef)context rectangle:(CGRect)displayRectangle pageInfo:(nonnull PSPDFPageInfo *)pageInfo;
Swift
func setupGraphicsContext(_ context: CGContext, rectangle displayRectangle: CGRect, pageInfo: PSPDFPageInfo)
-
The render queue that manages render jobs.
Declaration
Objective-C
@property (nonatomic, readonly) PSPDFRenderQueue *_Nonnull renderQueue;
Swift
var renderQueue: PSPDFRenderQueue { get }