[Etoys] how to crop display
Ties Stuij
cjstuij at gmail.com
Thu Oct 16 01:34:52 EDT 2008
On Tue, Oct 14, 2008 at 2:56 PM, Bert Freudenberg <bert at freudenbergs.de> wrote:
> Am 14.10.2008 um 10:46 schrieb Ties Stuij:
> The regular DisplayScreen cannot do this, but you could certainly hack
> OLPCVirtualScreen to do cropping. The magic happens in #forceToScreen:
> and currently only uses a scale and offset, which are calculated to
> center the full virtual display in the actual display.
Thanks for that bit of background. Subclassing/fumbling around with
width, height and boundingBox did the trick.
/Ties
More information about the Etoys
mailing list