C# Class AnimalCrossingQR.PatternEditor

Afficher le fichier Open project: jefff/animalcrossingqr

Méthodes publiques

Méthode Description
BeginPreview ( ) : void
Clear ( ) : void
EndPreview ( ) : void
GetPattern ( ) : Pattern
LoadPattern ( AC pattern ) : void
PatternEditor ( ) : System
SetColorPalette ( AC palette ) : void

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Méthode Description
DrawGrid ( Graphics graphics ) : void
DrawPattern ( Graphics graphics ) : void
DrawPoint ( Point point, byte color ) : void
FromPaletteColor ( AC color ) : Color
GetPixelAt ( int x, int y ) : Point
InitializeComponent ( ) : void

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

PatternEditor_MouseDown ( object sender, MouseEventArgs e ) : void
PatternEditor_MouseMove ( object sender, MouseEventArgs e ) : void
PatternEditor_Paint ( object sender, PaintEventArgs e ) : void
RenderPattern ( AC pattern, int scale ) : Image

Method Details

BeginPreview() public méthode

public BeginPreview ( ) : void
Résultat void

Clear() public méthode

public Clear ( ) : void
Résultat void

Dispose() protected méthode

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
Résultat void

EndPreview() public méthode

public EndPreview ( ) : void
Résultat void

GetPattern() public méthode

public GetPattern ( ) : Pattern
Résultat AnimalCrossingQR.AC.Pattern

LoadPattern() public méthode

public LoadPattern ( AC pattern ) : void
pattern AC
Résultat void

PatternEditor() public méthode

public PatternEditor ( ) : System
Résultat System

SetColorPalette() public méthode

public SetColorPalette ( AC palette ) : void
palette AC
Résultat void