Oolite 1.91.0.7644-241112-7f5034b
Loading...
Searching...
No Matches
OOPDFView Class Reference

#include <OOPDFView.h>

+ Inheritance diagram for OOPDFView:
+ Collaboration diagram for OOPDFView:

Instance Methods

(void) - drawPage: [implementation]
 

Detailed Description

Definition at line 33 of file OOPDFView.h.

Method Documentation

◆ drawPage:

- (void) drawPage: (PDFPage *) page
implementation

Definition at line 1 of file OOPDFView.m.

33 :(PDFPage *)page
34{
35 // Force PDF view to render scaled images nicely (just like Preview).
36
37 [NSGraphicsContext saveGraphicsState];
38 [[NSGraphicsContext currentContext] setImageInterpolation:NSImageInterpolationHigh];
39
40 [super drawPage:page];
41
42 [NSGraphicsContext restoreGraphicsState];
43}

The documentation for this class was generated from the following files: