C# Class FlatRedBall.AnimationEditorForms.Editing.ResizeMethods

Afficher le fichier Open project: vchelaru/FlatRedBall

Méthodes publiques

Méthode 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

Méthode 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 méthode

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
Résultat void

AdjustFrameToResize() public méthode

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
Résultat void