Re: xpdf status ... yet another day.
- From: Miguel de Icaza <miguel gnu org>
- To: federico redhat com
- CC: nat nat org, michael imaginator com, gnome-components-list gnome org
- Subject: Re: xpdf status ... yet another day.
- Date: Sun, 29 Aug 1999 14:11:18 -0500
> Size negotiation should be done with respect to (1), I think. This is
> so that parents know where they can place children in the real world's
> coordinate space. As far as (2) is concerned, screen sizes and
> coordinates can be computed from the results of (1).
Yes, this is entirely correct.
> So the process would be something like
>
> a. Parent asks children for sizes in real world units.
>
> b. Parent sizes children to whatever is appropriate.
>
> c. Parent tells children to update their views at
> such-and-such sizes, in *pixel* units.
>
> (b) is so that children know how big they are in the real world. (c)
> is for display purposes only.
At zoom factor 1.0, you should assume a 1:1 pixel/points
relationship.
Miguel
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]