AGK for Pascal
TAgkSprite.Snap Property

A special render mode that keeps the sprite on whole pixels only so it does not draw itself across pixel boundaries which may cause flickering as the sprite moves across the screen.

property Snap: Boolean;

As a consequence this may make the sprite appear to jump from the one pixel to the next as it moves instead of smoothly moving across the screen. If the sprite has alpha blended pixels along its edge then snapping is not required and can be turned off. By default this is turned off.

Copyright (c) 2012. All rights reserved.