bug-gnustep
[Top][All Lists]
Advanced

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

Re: [RFC] Reading images


From: Pete French
Subject: Re: [RFC] Reading images
Date: Sun, 21 Sep 2003 17:37:36 +0100

> When the device is not 72 dpi.

O.K., rephrase the question - when is a screen device ever assumed
to be anything other than 72dpi ? Though I think the bit below answers
that... is this a GNUstep specific problem by the way ? I am sure
that under OpenStep it was stated that the screen was assumed to be 72dpi
no matter what the actual screen resolution was (which of course depends
on the visible area fo the physical screen and the resolution, plus whatever
monitor controls the user has tweask and is thus effectively unknown).

> In practice, most systems pretend to be 72 dpi for performance and
> simplicity, and because they can still get away with it (although
> screens are approaching resolutions where you really need to scale
> things properly; one of our strengths is that we already have a device
> independent rendering model, so as long as people stick to the
> interfaces, we can easily handle the switch to non-72 dpi screens).

If thats true, then what do you think the correct behaviour of
initWithFocusedViewRect:(NSRect)rect should be then ? The documentation
doesnt specify it one way or the other. The easiest way is to do it in
screen pixels I guess - but then how do I guarantee to create a 512
square image under those circumstances ?

-bat.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]