FROM : Vince
DATE : Tue Feb 05 20:08:14 2008
I am using Tiger.
That explains the interiorColor issue; I presume there is no way for
it work on systems running Tiger.
Thanks much António,
Vince
On Feb 5, 2008, at 1:01 PM, Antonio Nunes wrote:
>
> On Feb 5, 2008, at 4:16 PM, Vince wrote:
>
>> I did a little more work on the PDFAnnotationLine routines:
>>
>> (1) As mentioned last time, its working well; but the StartPoint
>> and EndPoint that "works" are those in the coordinate system of
>> the Annotation bounds. If I use Page Coordinates, it is displaced.
>> I'll look more into the code, but I believe this behavior is very
>> distinct from the PDFAnnotationSquare (and Line and Link) which
>> uses the Page Coordinates.
>>
>> (2) The interior color does not seem to work for the line. The
>> documentation for the constants for the Line Style indicates that
>> the interior of the markers for the beginning and end of line
>> (e.g., square, arrow or whatever) is filled by the interior color.
>>
>> (3) I can't figure out to set the interior color for Line.
>> Square / Circle has a setInteriorColor method; but the Line does
>> not as indicated by the methods in the .h file copied below.
>
> You haven't told us yet if you're on Tiger or on Leopard. But
> sounds like it is Tiger then because the PDFAnnotationLine header
> for Leopard lists:
>
> #if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_5
>
> // Fill color used for drawing ornaments at end and start of lines
> (optional, PDF 1.4).
> - (NSColor *) interiorColor;
> - (void) setInteriorColor: (NSColor *) color;
>
> #endif // MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_5
>
> And everything works as advertised on my end, whether squares,
> lines or other forms of annotations I have been using.
>
> Cheers,
> António
>
> ----------------------------------------------------
> Disapprove of sin but not of the sinner
> ----------------------------------------------------
>
>
DATE : Tue Feb 05 20:08:14 2008
I am using Tiger.
That explains the interiorColor issue; I presume there is no way for
it work on systems running Tiger.
Thanks much António,
Vince
On Feb 5, 2008, at 1:01 PM, Antonio Nunes wrote:
>
> On Feb 5, 2008, at 4:16 PM, Vince wrote:
>
>> I did a little more work on the PDFAnnotationLine routines:
>>
>> (1) As mentioned last time, its working well; but the StartPoint
>> and EndPoint that "works" are those in the coordinate system of
>> the Annotation bounds. If I use Page Coordinates, it is displaced.
>> I'll look more into the code, but I believe this behavior is very
>> distinct from the PDFAnnotationSquare (and Line and Link) which
>> uses the Page Coordinates.
>>
>> (2) The interior color does not seem to work for the line. The
>> documentation for the constants for the Line Style indicates that
>> the interior of the markers for the beginning and end of line
>> (e.g., square, arrow or whatever) is filled by the interior color.
>>
>> (3) I can't figure out to set the interior color for Line.
>> Square / Circle has a setInteriorColor method; but the Line does
>> not as indicated by the methods in the .h file copied below.
>
> You haven't told us yet if you're on Tiger or on Leopard. But
> sounds like it is Tiger then because the PDFAnnotationLine header
> for Leopard lists:
>
> #if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_5
>
> // Fill color used for drawing ornaments at end and start of lines
> (optional, PDF 1.4).
> - (NSColor *) interiorColor;
> - (void) setInteriorColor: (NSColor *) color;
>
> #endif // MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_5
>
> And everything works as advertised on my end, whether squares,
> lines or other forms of annotations I have been using.
>
> Cheers,
> António
>
> ----------------------------------------------------
> Disapprove of sin but not of the sinner
> ----------------------------------------------------
>
>
| Related mails | Author | Date |
|---|---|---|
| Vince | Feb 4, 22:59 | |
| John Calhoun | Feb 5, 02:40 | |
| John Calhoun | Feb 5, 03:59 | |
| John Calhoun | Feb 5, 04:04 | |
| Vince | Feb 5, 16:16 | |
| Antonio Nunes | Feb 5, 19:01 | |
| Vince | Feb 5, 20:08 | |
| John Calhoun | Feb 6, 00:30 | |
| John Calhoun | Feb 6, 00:32 |






Cocoa mail archive

