Re: Problem drawing a pdf do***ent (CGContextDrawPDFDo***ent)
by larry@[EMAIL PROTECTED]
May 21, 2006 at 11:21 AM
Hans Stoessel wrote:
> Hi
>
> I develop a QuarkXtension in CW 8.3. In this XTension there is a dialog
and
> I want to display a pdf do***ent in a rectangle of this dialog. I use
> CGContextDrawPDFDo***ent to do this. But it doesn't work. The do***ent
isn't
> displayed.
> What could be wrong?
> Has anybody a piece of sample code?
>
> I tried the same using CGContextDrawPDFPage, but the class CGPDFPageRef
> isn't known. I included "CFPDFPage.h", but after that I have a lot of
error
> messages from the compiler. I don't know why. The class CGPDFDo***entRef
is
> known without including any header file. I know, somewhere it is
declared,
> but I am wondering why CGPDFDo***entRef is declared and CGPDFPageRef
not.
> Any idea?
This isn't really a CW issue. For Mac development questions I'd highly
recommend using one of Apple's developer lists suchs as carbon-dev
instead of this list, which is quickly losing contributors.
Larry