C# Class Pixane.Widgets.ZoomableCairoArea

Inheritance: Gtk.DrawingArea
Mostra file Open project: codebutler/meshwork

Protected Properties

Property Type Description
overlay DrawGraphics
render DrawGraphics

Private Properties

Property Type Description
PaintMotionIndicators void
PaintZoomScale void
ValidateScaleAdj void
ZoomableCairoArea System

Public Methods

Method Description
CreateRoundedRectPath ( Context gc, double x, double y, double width, double height, double radius ) : void
DeviceToUser ( double &x, double &y ) : void
DrawRoundedRect ( Context gc, double x, double y, double width, double height, double radius, double strokeWidth, Cairo backgroundColor, Cairo strokeColor ) : void
DrawRoundedRectThumb ( Context gc, double x, double y, double width, double height, double radius, double strokeWidth, Cairo backgroundColor, Cairo strokeColor, Gdk image, double imageWidth, double imageHeight ) : void
GridAlign ( double d ) : double

Protected Methods

Method Description
GetTextSize ( Pango layout ) : Gdk.Size
OnButtonPressEvent ( Gdk eb ) : bool
OnButtonReleaseEvent ( Gdk eb ) : bool
OnEnterNotifyEvent ( Gdk ec ) : bool
OnExposeEvent ( Gdk ee ) : bool
OnLeaveNotifyEvent ( Gdk ec ) : bool
OnMotionNotifyEvent ( Gdk em ) : bool
OnScrollEvent ( Gdk es ) : bool
RenderPixbufToSurf ( Cairo gc, Gdk pixbuf, double x, double y ) : void

Private Methods

Method Description
PaintMotionIndicators ( Cairo gc, double width, double height, double centerx, double centery ) : void
PaintZoomScale ( Cairo gc, double width, double height, double centerx, double centery ) : void
ValidateScaleAdj ( double &scaleAdj ) : void
ZoomableCairoArea ( ) : System

Method Details

CreateRoundedRectPath() public method

public CreateRoundedRectPath ( Context gc, double x, double y, double width, double height, double radius ) : void
gc Context
x double
y double
width double
height double
radius double
return void

DeviceToUser() public method

public DeviceToUser ( double &x, double &y ) : void
x double
y double
return void

DrawRoundedRect() public method

public DrawRoundedRect ( Context gc, double x, double y, double width, double height, double radius, double strokeWidth, Cairo backgroundColor, Cairo strokeColor ) : void
gc Context
x double
y double
width double
height double
radius double
strokeWidth double
backgroundColor Cairo
strokeColor Cairo
return void

DrawRoundedRectThumb() public method

public DrawRoundedRectThumb ( Context gc, double x, double y, double width, double height, double radius, double strokeWidth, Cairo backgroundColor, Cairo strokeColor, Gdk image, double imageWidth, double imageHeight ) : void
gc Context
x double
y double
width double
height double
radius double
strokeWidth double
backgroundColor Cairo
strokeColor Cairo
image Gdk
imageWidth double
imageHeight double
return void

GetTextSize() protected method

protected GetTextSize ( Pango layout ) : Gdk.Size
layout Pango
return Gdk.Size

GridAlign() public static method

public static GridAlign ( double d ) : double
d double
return double

OnButtonPressEvent() protected method

protected OnButtonPressEvent ( Gdk eb ) : bool
eb Gdk
return bool

OnButtonReleaseEvent() protected method

protected OnButtonReleaseEvent ( Gdk eb ) : bool
eb Gdk
return bool

OnEnterNotifyEvent() protected method

protected OnEnterNotifyEvent ( Gdk ec ) : bool
ec Gdk
return bool

OnExposeEvent() protected method

protected OnExposeEvent ( Gdk ee ) : bool
ee Gdk
return bool

OnLeaveNotifyEvent() protected method

protected OnLeaveNotifyEvent ( Gdk ec ) : bool
ec Gdk
return bool

OnMotionNotifyEvent() protected method

protected OnMotionNotifyEvent ( Gdk em ) : bool
em Gdk
return bool

OnScrollEvent() protected method

protected OnScrollEvent ( Gdk es ) : bool
es Gdk
return bool

RenderPixbufToSurf() protected method

protected RenderPixbufToSurf ( Cairo gc, Gdk pixbuf, double x, double y ) : void
gc Cairo
pixbuf Gdk
x double
y double
return void

Property Details

overlay protected_oe property

protected DrawGraphics overlay
return DrawGraphics

render protected_oe property

protected DrawGraphics render
return DrawGraphics