Re: xpdf status ... yet another day.



>  > I am not sure if the View or the Embeddable should export these.  And
>  > I am not sure about where the zoom factor comes into play in here yet.
>  
>      Whether it's the embeddable or the view which supports the
>  printing interface is a metter of how the zoom factor is handled.  If
>  the per-view zoom factor is done properly, then I think we should put
>  the printing on the view, and use the view's zoom factor for rendering
>  the metafile.

The zoom factor is completely orthogonal to printing.  The zoom factor
is only relevant for display purposes.

For printing, both containers and children know their real-world
size and position.  At print time, I guess you would want something
like

	parent prints its stuff
	child prints its stuff:
		gsave
		print print print
		grestore
	child prints its stuff:
		gsave
		print print print
		grestore
	...
	parent does a showpage

I would use a new interface for printing, instead of tacking it onto
View or Embeddable.  Think of printing a web page, where you have an
MPEG component which may not support a printing interface at all ---
you may be content if the parent only "prints" a blank rectangle where
that child resides.

  Federico



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]