FROM : Jonathan Grynspan
DATE : Tue Jul 25 22:09:19 2006
Might NSPDFImageRep be of use to you?
-Jonathan Grynspan
On 25-Jul-06, at 4:02 PM, Chad Leigh wrote:
>
> 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
>
> _______________________________________________
> MacOSX-dev mailing list
> <email_removed>
> http://www.omnigroup.com/mailman/listinfo/macosx-dev
DATE : Tue Jul 25 22:09:19 2006
Might NSPDFImageRep be of use to you?
-Jonathan Grynspan
On 25-Jul-06, at 4:02 PM, Chad Leigh wrote:
>
> 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
>
> _______________________________________________
> MacOSX-dev mailing list
> <email_removed>
> http://www.omnigroup.com/mailman/listinfo/macosx-dev
| 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

