C# Class AcManager.Controls.CustomShowroom.CarTextureDialog.SharedBitmapSource

Inheritance: System.Windows.Media.Imaging.BitmapSource, IDisposable
ファイルを表示 Open project: gro-ove/actools

Public Methods

Method Description
Clone ( ) : System.Windows.Media.Imaging.BitmapSource
CopyPixels ( System.Windows.Int32Rect sourceRect, Array pixels, int stride, int offset ) : void
Dispose ( ) : void
Resize ( int newWidth, int newHeight ) : System.Windows.Media.Imaging.BitmapSource
SharedBitmapSource ( Bitmap bitmap ) : System
SharedBitmapSource ( int width, int height, System sourceFormat ) : System

Protected Methods

Method Description
CreateInstanceCore ( ) : System.Windows.Freezable
Dispose ( bool disposing ) : void

Private Methods

Method Description
ConvertPixelFormat ( System sourceFormat ) : System.Windows.Media.PixelFormat

Method Details

Clone() public method

public Clone ( ) : System.Windows.Media.Imaging.BitmapSource
return System.Windows.Media.Imaging.BitmapSource

CopyPixels() public method

public CopyPixels ( System.Windows.Int32Rect sourceRect, Array pixels, int stride, int offset ) : void
sourceRect System.Windows.Int32Rect
pixels System.Array
stride int
offset int
return void

CreateInstanceCore() protected method

protected CreateInstanceCore ( ) : System.Windows.Freezable
return System.Windows.Freezable

Dispose() public method

public Dispose ( ) : void
return void

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

Resize() public method

public Resize ( int newWidth, int newHeight ) : System.Windows.Media.Imaging.BitmapSource
newWidth int
newHeight int
return System.Windows.Media.Imaging.BitmapSource

SharedBitmapSource() public method

public SharedBitmapSource ( Bitmap bitmap ) : System
bitmap System.Drawing.Bitmap
return System

SharedBitmapSource() public method

public SharedBitmapSource ( int width, int height, System sourceFormat ) : System
width int
height int
sourceFormat System
return System