FROM : Chad Leigh
DATE : Tue Jul 25 22:02:37 2006
On Jul 25, 2006, at 5:52 AM, Antonio Nunes wrote:
> On 25 Jul 2006, at 08:25, Chad Leigh wrote:
>
>> [labelPage drawInRect:labelRect
>> withBox:kPDFDisplayBoxBleedBox]; // labelPage is a PDFPage of a
>> document in the view
>>
>> *** -[PDFPage drawInRect:withBox:]: selector not recognized [self
>> = 0x16c9ea0]
>
> Draw the page with: - (void)drawWithBox:(PDFDisplayBox)box
That is what I am doing. It is just not in the right place :-)
>
> To position it where you want use an affine transform to translate
> the coordinate system as need before you draw.
Thanks, I was not aware of that (most of my app programming in the
last million years has been UIless stuff so I am not up on all the
drawing bits);
I took a look and will try to implement something this afternoon or
evening!
Thanks!
Chad
DATE : Tue Jul 25 22:02:37 2006
On Jul 25, 2006, at 5:52 AM, Antonio Nunes wrote:
> On 25 Jul 2006, at 08:25, Chad Leigh wrote:
>
>> [labelPage drawInRect:labelRect
>> withBox:kPDFDisplayBoxBleedBox]; // labelPage is a PDFPage of a
>> document in the view
>>
>> *** -[PDFPage drawInRect:withBox:]: selector not recognized [self
>> = 0x16c9ea0]
>
> Draw the page with: - (void)drawWithBox:(PDFDisplayBox)box
That is what I am doing. It is just not in the right place :-)
>
> To position it where you want use an affine transform to translate
> the coordinate system as need before you draw.
Thanks, I was not aware of that (most of my app programming in the
last million years has been UIless stuff so I am not up on all the
drawing bits);
I took a look and will try to implement something this afternoon or
evening!
Thanks!
Chad
| Related mails | Author | Date |
|---|---|---|
| Chad Leigh | Jul 25, 08:48 | |
| Chad Leigh | Jul 25, 08:53 | |
| Chad Leigh | Jul 25, 09:07 | |
| Chad Leigh | Jul 25, 09:25 | |
| Antonio Nunes | Jul 25, 13:52 | |
| Chad Leigh | Jul 25, 22:02 | |
| Jonathan Grynspan | Jul 25, 22:09 | |
| Chad Leigh | Jul 25, 22:14 | |
| Chad Leigh | Jul 26, 01:51 |






Cocoa mail archive

