C# Class ScoobyRom.PlotIconBase

Common functionality for drawing icons using NPlot. Methods are not thread safe!
显示文件 Open project: SubaruDieselCrew/ScoobyRom Class Usage Examples

Protected Properties

Property Type Description
bitmap_cache System.Drawing.Bitmap
constDataIcon Gdk.Pixbuf
framePen System.Drawing.Pen
memoryStream System.IO.MemoryStream
padding int
plotSurface Florence.PlotSurface2D
rectSizing RectSizing

Public Methods

Method Description
CleanupTemp ( ) : void
CreateIcon ( Tables table ) : Gdk.Pixbuf
PixbufFromBitmap ( Bitmap bitmap ) : Gdk.Pixbuf
PlotIconBase ( int width, int height ) : System.Drawing
ZoomIn ( ) : void
ZoomOut ( ) : void
ZoomReset ( ) : void

Protected Methods

Method Description
DrawAndConvert ( ) : Gdk.Pixbuf
DrawConstDataIcon ( ) : Gdk.Pixbuf
Init ( ) : void

Method Details

CleanupTemp() public method

public CleanupTemp ( ) : void
return void

CreateIcon() public abstract method

public abstract CreateIcon ( Tables table ) : Gdk.Pixbuf
table Tables
return Gdk.Pixbuf

DrawAndConvert() protected method

protected DrawAndConvert ( ) : Gdk.Pixbuf
return Gdk.Pixbuf

DrawConstDataIcon() protected method

protected DrawConstDataIcon ( ) : Gdk.Pixbuf
return Gdk.Pixbuf

Init() protected method

protected Init ( ) : void
return void

PixbufFromBitmap() public method

public PixbufFromBitmap ( Bitmap bitmap ) : Gdk.Pixbuf
bitmap System.Drawing.Bitmap
return Gdk.Pixbuf

PlotIconBase() public method

public PlotIconBase ( int width, int height ) : System.Drawing
width int
height int
return System.Drawing

ZoomIn() public method

public ZoomIn ( ) : void
return void

ZoomOut() public method

public ZoomOut ( ) : void
return void

ZoomReset() public method

public ZoomReset ( ) : void
return void

Property Details

bitmap_cache protected_oe property

protected Bitmap,System.Drawing bitmap_cache
return System.Drawing.Bitmap

constDataIcon protected_oe property

protected Pixbuf,Gdk constDataIcon
return Gdk.Pixbuf

framePen protected_oe property

protected Pen,System.Drawing framePen
return System.Drawing.Pen

memoryStream protected_oe property

protected System.IO.MemoryStream memoryStream
return System.IO.MemoryStream

padding protected_oe property

protected int padding
return int

plotSurface protected_oe property

protected PlotSurface2D,Florence plotSurface
return Florence.PlotSurface2D

rectSizing protected_oe property

protected RectSizing,ScoobyRom rectSizing
return RectSizing