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

[MiNT] Re[2]: usage of wind_calc()



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 =;->