C# Class FlatRedBall.SpecializedXnaControls.ImageRegionSelectionControl

Inheritance: XnaAndWinforms.GraphicsDeviceControl
Show file Open project: vchelaru/FlatRedBall Class Usage Examples

Private Properties

Property Type Description
CreateMaxAlphaTexture void
CreateNewSelector FlatRedBall.SpecializedXnaControls.RegionSelection.RectangleSelector
CreateVisuals void
EndRegionChangedInternal void
HandlePanning void
MaximizeAlpha void
MouseWheelRegion void
PerformActivity void
RegionChangedInternal void

Public Methods

Method Description
AdjustCameraPositionAfterZoom ( float oldCursorWorldX, float oldCursorWorldY, float oldCameraX, float oldCameraY, float oldZoom, float newZoom, Camera camera ) : void
BringSpriteInView ( ) : void
CreateDefaultZoomLevels ( ) : void
CustomInitialize ( ) : void

Protected Methods

Method Description
Draw ( ) : void
Initialize ( ) : void

Private Methods

Method Description
CreateMaxAlphaTexture ( ) : void
CreateNewSelector ( ) : RectangleSelector
CreateVisuals ( ) : void
EndRegionChangedInternal ( object sender, EventArgs e ) : void
HandlePanning ( ) : void
MaximizeAlpha ( ) : void
MouseWheelRegion ( object sender, MouseEventArgs e ) : void
PerformActivity ( ) : void
RegionChangedInternal ( object sender, EventArgs e ) : void

Method Details

AdjustCameraPositionAfterZoom() public static method

public static AdjustCameraPositionAfterZoom ( float oldCursorWorldX, float oldCursorWorldY, float oldCameraX, float oldCameraY, float oldZoom, float newZoom, Camera camera ) : void
oldCursorWorldX float
oldCursorWorldY float
oldCameraX float
oldCameraY float
oldZoom float
newZoom float
camera RenderingLibrary.Camera
return void

BringSpriteInView() public method

public BringSpriteInView ( ) : void
return void

CreateDefaultZoomLevels() public method

public CreateDefaultZoomLevels ( ) : void
return void

CustomInitialize() public method

public CustomInitialize ( ) : void
return void

Draw() protected method

protected Draw ( ) : void
return void

Initialize() protected method

protected Initialize ( ) : void
return void