C# Class BiomePainter.BitmapSelector.BitmapSelector

Inheritance: System.Windows.Forms.UserControl
Afficher le fichier Open project: mblaine/BiomePainter

Méthodes publiques

Свойство Type Description
Brush BrushType
BrushDiameter int
BrushDiameterMax int
BrushLayerIndex int
Layers List
Magnification int
MagnificationMax int
OffsetStep int
OffsetX int
OffsetY int
SelectionColor Color
SelectionLayerIndex int
ShowToolTips bool
ToolTips ].String[

Private Properties

Свойство Type Description
BitmapSelector_MouseCaptureChanged void
BitmapSelector_MouseDown void
BitmapSelector_MouseLeave void
BitmapSelector_MouseMove void
BitmapSelector_MouseUp void
BitmapSelector_MouseWheel void
InitializeComponent void
PanDown void
PanLeft void
PanRight void
PanUp void
RecreateBuffers void
RedrawBrushLayer void
Translate Point
scrollHorizontal_Scroll void
scrollVertical_Scroll void

Méthodes publiques

Méthode Description
AddLayer ( Layer l ) : int
BitmapSelector ( ) : System
CancelCustomBrush ( ) : void
InvertSelection ( ) : void
Redraw ( ) : void
Reset ( ) : void
SelectAll ( ) : void
SelectNone ( ) : void
SetCustomBrush ( Bitmap b ) : void
Zoom ( int magnififcation, int offsetX, int offsetY, bool redraw = true ) : void

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void
OnBrushDiameterChanged ( BrushDiameterEventArgs e ) : void
OnCustomBrushClick ( CustomBrushClickEventArgs e ) : void
OnPaint ( PaintEventArgs e ) : void
OnResize ( EventArgs e ) : void
OnSelectionChanged ( String description ) : void
OnZoom ( ZoomEventArgs e ) : void
ProcessCmdKey ( Message &msg, Keys keyData ) : bool

Private Methods

Méthode Description
BitmapSelector_MouseCaptureChanged ( object sender, EventArgs e ) : void
BitmapSelector_MouseDown ( object sender, MouseEventArgs e ) : void
BitmapSelector_MouseLeave ( object sender, EventArgs e ) : void
BitmapSelector_MouseMove ( object sender, MouseEventArgs e ) : void
BitmapSelector_MouseUp ( object sender, MouseEventArgs e ) : void
BitmapSelector_MouseWheel ( object sender, MouseEventArgs e ) : void
InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

PanDown ( ) : void
PanLeft ( ) : void
PanRight ( ) : void
PanUp ( ) : void
RecreateBuffers ( ) : void
RedrawBrushLayer ( Point p, bool justClear = false ) : void
Translate ( Point e ) : Point
scrollHorizontal_Scroll ( object sender, ScrollEventArgs e ) : void
scrollVertical_Scroll ( object sender, ScrollEventArgs e ) : void

Method Details

AddLayer() public méthode

public AddLayer ( Layer l ) : int
l Layer
Résultat int

BitmapSelector() public méthode

public BitmapSelector ( ) : System
Résultat System

CancelCustomBrush() public méthode

public CancelCustomBrush ( ) : void
Résultat void

Dispose() protected méthode

protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

InvertSelection() public méthode

public InvertSelection ( ) : void
Résultat void

OnBrushDiameterChanged() protected méthode

protected OnBrushDiameterChanged ( BrushDiameterEventArgs e ) : void
e BrushDiameterEventArgs
Résultat void

OnCustomBrushClick() protected méthode

protected OnCustomBrushClick ( CustomBrushClickEventArgs e ) : void
e CustomBrushClickEventArgs
Résultat void

OnPaint() protected méthode

protected OnPaint ( PaintEventArgs e ) : void
e PaintEventArgs
Résultat void

OnResize() protected méthode

protected OnResize ( EventArgs e ) : void
e System.EventArgs
Résultat void

OnSelectionChanged() protected méthode

protected OnSelectionChanged ( String description ) : void
description String
Résultat void

OnZoom() protected méthode

protected OnZoom ( ZoomEventArgs e ) : void
e ZoomEventArgs
Résultat void

ProcessCmdKey() protected méthode

protected ProcessCmdKey ( Message &msg, Keys keyData ) : bool
msg System.Windows.Forms.Message
keyData Keys
Résultat bool

Redraw() public méthode

public Redraw ( ) : void
Résultat void

Reset() public méthode

public Reset ( ) : void
Résultat void

SelectAll() public méthode

public SelectAll ( ) : void
Résultat void

SelectNone() public méthode

public SelectNone ( ) : void
Résultat void

SetCustomBrush() public méthode

public SetCustomBrush ( Bitmap b ) : void
b System.Drawing.Bitmap
Résultat void

Zoom() public méthode

public Zoom ( int magnififcation, int offsetX, int offsetY, bool redraw = true ) : void
magnififcation int
offsetX int
offsetY int
redraw bool
Résultat void

Property Details

Brush public_oe property

public BrushType Brush
Résultat BrushType

BrushDiameter public_oe property

public int BrushDiameter
Résultat int

BrushDiameterMax public_oe property

public int BrushDiameterMax
Résultat int

BrushLayerIndex public_oe property

public int BrushLayerIndex
Résultat int

Layers public_oe property

public List Layers
Résultat List

Magnification public_oe property

public int Magnification
Résultat int

MagnificationMax public_oe property

public int MagnificationMax
Résultat int

OffsetStep public_oe property

public int OffsetStep
Résultat int

OffsetX public_oe property

public int OffsetX
Résultat int

OffsetY public_oe property

public int OffsetY
Résultat int

SelectionColor public_oe property

public Color SelectionColor
Résultat Color

SelectionLayerIndex public_oe property

public int SelectionLayerIndex
Résultat int

ShowToolTips public_oe property

public bool ShowToolTips
Résultat bool

ToolTips public_oe property

public String[,] ToolTips
Résultat ].String[