From mint-bounce@lists.fishpool.fi Tue Jul 5 22:29:46 2005 X-Original-To: fnaumann@mail.boerde.de Delivered-To: fnaumann@mail.boerde.de Date: Tue, 5 Jul 2005 22:26:52 +0200 From: Ingo Schmidt X-Mailer: The Bat! (v3.5) Professional Reply-To: Ingo Schmidt X-Priority: 3 (Normal) Message-ID: <140396463.20050705222652@der-ingo.de> To: MiNT-Liste Subject: [MiNT] Re[2]: usage of wind_calc() In-Reply-To: References: <42BB46F0.4090206@chello.nl> <1119599743.15790.284.camel@linuxbox> <1119718803.15790.339.camel@linuxbox> <1119779027.15790.442.camel@linuxbox> <1120071508.19330.55.camel@linuxbox> <1120154617.19330.154.camel@linuxbox> <1120530026.5673.24.camel@linuxbox> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Provags-ID: kundenserver.de abuse@kundenserver.de login:58e864169f3ef71bae3e2b831e61e1a6 X-ecartis-version: Ecartis v1.0.0 Sender: mint-bounce@lists.fishpool.fi Errors-To: mint-bounce@lists.fishpool.fi X-original-sender: ich@der-ingo.de Precedence: bulk List-help: List-unsubscribe: List-Id: X-List-ID: X-Virus-Scanned: by amavisd-new at relay.boerde.de X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on relay.boerde.de X-Spam-Status: No, hits=-1.0 tagged_above=-50.5 required=7.0 tests=BAYES_00 X-Spam-Level: Hi Arnaud! > I don't remember why exactly the snap is needed, but i think it's because > of a line-A function to paste bitmap of characters to the screen, or > something like that. Maybe a VDI guru can give more information. No, it is to make blitting faster. A copy routine can copy faster, if it doesnt have to take bits into account, but instead can just copy whole bytes or words. This is why snapping was used and actually useful. It certainly has no effect in resolutions >= 8bit. But still, snapping can be nice, expecially if you use fixed font. Then you can let the window snap in steps of the font width. One might argue if this is good or not but I happen to like it. It can also make positioning of two windows a bit easier if you want to aling them right next to each other. There are circumstances where you might want to snap windows. Cheers, Ingo =;->