private int GetSpriteWidthForGameResolution(int spriteSlot)
{
int width;
if (Factory.AGSEditor.CurrentGame.IsHighResolution)
{
width = Factory.NativeProxy.GetSpriteResolutionMultiplier(spriteSlot) *
Factory.NativeProxy.GetActualSpriteWidth(spriteSlot);
}
else
{
width = Factory.NativeProxy.GetRelativeSpriteWidth(spriteSlot);
}
return width;
}