[futurebasic] Re: [FB] PMPageFormat

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : February 2007 : Group Archive : Group : All Groups

From: Brian Stevens <bstevens33@...>
Date: Wed, 7 Feb 2007 16:17:58 -0700
On Feb 7, 2007, at 9:27 AM, Peter wrote:

> Hi Gang
> Can someone point me toward the format or where this is declared.
In FB it is declared in Tlbx Printing.incl  (#define PMPageFormat     
as ptr )


> I assume that there is .right; .left; .top; .bottom but what else  
> is in the structure
That's a big assumption and I don't think it is true. The values that  
I've seen to set a var of type PMPageFormat are not Rects.

> , I have look on Apple web site under Carbon Printing Manager  
> Reference and found that PMPageFormat is an opaque structure.
Yep, that is correct.




> But I would like to see the breakdown of the structure. Just a web  
> location will be fine.
Ah, but there is a reason Apple names them opaque (there are many  
other opaque structures) because their intentional lack of  
transparency corresponds to this name. If you find further definition  
please let us know. Part of the reason Apple does this is to retain  
the flexibility to change things. If the programmer just expects a  
pointer their underlying code can be changed without impacting the  
programmer.

If there is a specific question about using PMPageFormat, just let  
the list know.

Brian S.