C# Class ScoobyRom.PlotIconBase

Common functionality for drawing icons using NPlot. Methods are not thread safe!
Show file 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 property

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

constDataIcon protected property

protected Pixbuf,Gdk constDataIcon
return Gdk.Pixbuf

framePen protected property

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

memoryStream protected property

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

padding protected property

protected int padding
return int

plotSurface protected property

protected PlotSurface2D,Florence plotSurface
return Florence.PlotSurface2D

rectSizing protected property

protected RectSizing,ScoobyRom rectSizing
return RectSizing