private void Initialize( float scale )
{
imageWidth = texture.ContentSize.Width;
imageHeight = texture.ContentSize.Height;
textureWidth = (int)(texture.PixelsWide/scale);
textureHeight = (int)(texture.PixelsHigh/scale);
texWidthRatio = 1.0f / (float)textureWidth;
texHeightRatio = 1.0f / (float)textureHeight;
textureOffsetX = 0;
textureOffsetY = 0;
}