C# Class FlatRedBall.AnimationEditorForms.Editing.ResizeMethods

Show file Open project: vchelaru/FlatRedBall

Public Methods

Method Description
AdjustAnimationToResize ( AnimationChainListSave acls, int oldWidth, int oldHeight, int newWidth, int newHeight, string absoluteTextureFileName, List adjustedFrames ) : void
AdjustFrameToResize ( AnimationFrameSave afs, int oldWidth, int oldHeight, int newWidth, int newHeight ) : void

Private Methods

Method Description
AdjustValue ( float &coordinateToAdjust, int oldWidth, int newWidth ) : void
AskToReplaceOrRename ( ) : DialogResult
AskWhatUserWantsToDo ( ) : DialogResult
GetModifiedTexture2D ( GraphicsDevice graphicsDevice ) : Microsoft.Xna.Framework.Graphics.Texture2D
ResizeTextureClick ( GraphicsDevice graphicsDevice ) : void

Method Details

AdjustAnimationToResize() public method

public AdjustAnimationToResize ( AnimationChainListSave acls, int oldWidth, int oldHeight, int newWidth, int newHeight, string absoluteTextureFileName, List adjustedFrames ) : void
acls AnimationChainListSave
oldWidth int
oldHeight int
newWidth int
newHeight int
absoluteTextureFileName string
adjustedFrames List
return void

AdjustFrameToResize() public method

public AdjustFrameToResize ( AnimationFrameSave afs, int oldWidth, int oldHeight, int newWidth, int newHeight ) : void
afs FlatRedBall.Content.AnimationChain.AnimationFrameSave
oldWidth int
oldHeight int
newWidth int
newHeight int
return void