C# Class GenerateSelfShadowedBumpMap.ImagePanel

Inheritance: System.Windows.Forms.Panel
Exibir arquivo Open project: Patapom/GodComplex

Private Properties

Property Type Description
InitializeComponent void
UpdateBitmap void

Public Methods

Method Description
ApplyBrightnessContrastGamma ( float _Source, float _Brightness, float _Contrast, float _Gamma ) : float
ApplyBrightnessContrastGamma ( float4 _Source, float _Brightness, float _Contrast, float _Gamma ) : ].float4[
ImagePanel ( ) : System

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

OnPaint ( PaintEventArgs e ) : void
OnPaintBackground ( PaintEventArgs e ) : void
OnSizeChanged ( EventArgs e ) : void

Private Methods

Method Description
InitializeComponent ( ) : void

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

UpdateBitmap ( ) : void

Method Details

ApplyBrightnessContrastGamma() public method

public ApplyBrightnessContrastGamma ( float _Source, float _Brightness, float _Contrast, float _Gamma ) : float
_Source float
_Brightness float
_Contrast float
_Gamma float
return float

ApplyBrightnessContrastGamma() public method

public ApplyBrightnessContrastGamma ( float4 _Source, float _Brightness, float _Contrast, float _Gamma ) : ].float4[
_Source float4
_Brightness float
_Contrast float
_Gamma float
return ].float4[

Dispose() protected method

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

ImagePanel() public method

public ImagePanel ( ) : System
return System

OnPaint() protected method

protected OnPaint ( PaintEventArgs e ) : void
e PaintEventArgs
return void

OnPaintBackground() protected method

protected OnPaintBackground ( PaintEventArgs e ) : void
e PaintEventArgs
return void

OnSizeChanged() protected method

protected OnSizeChanged ( EventArgs e ) : void
e System.EventArgs
return void