C# Class Pixane.Widgets.ZoomableCairoArea

Inheritance: Gtk.DrawingArea
Afficher le fichier Open project: codebutler/meshwork

Protected Properties

Свойство Type Description
overlay DrawGraphics
render DrawGraphics

Private Properties

Свойство Type Description
PaintMotionIndicators void
PaintZoomScale void
ValidateScaleAdj void
ZoomableCairoArea System

Méthodes publiques

Méthode 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

Méthodes protégées

Méthode 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

Méthode 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 méthode

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
Résultat void

DeviceToUser() public méthode

public DeviceToUser ( double &x, double &y ) : void
x double
y double
Résultat void

DrawRoundedRect() public méthode

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
Résultat void

DrawRoundedRectThumb() public méthode

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
Résultat void

GetTextSize() protected méthode

protected GetTextSize ( Pango layout ) : Gdk.Size
layout Pango
Résultat Gdk.Size

GridAlign() public static méthode

public static GridAlign ( double d ) : double
d double
Résultat double

OnButtonPressEvent() protected méthode

protected OnButtonPressEvent ( Gdk eb ) : bool
eb Gdk
Résultat bool

OnButtonReleaseEvent() protected méthode

protected OnButtonReleaseEvent ( Gdk eb ) : bool
eb Gdk
Résultat bool

OnEnterNotifyEvent() protected méthode

protected OnEnterNotifyEvent ( Gdk ec ) : bool
ec Gdk
Résultat bool

OnExposeEvent() protected méthode

protected OnExposeEvent ( Gdk ee ) : bool
ee Gdk
Résultat bool

OnLeaveNotifyEvent() protected méthode

protected OnLeaveNotifyEvent ( Gdk ec ) : bool
ec Gdk
Résultat bool

OnMotionNotifyEvent() protected méthode

protected OnMotionNotifyEvent ( Gdk em ) : bool
em Gdk
Résultat bool

OnScrollEvent() protected méthode

protected OnScrollEvent ( Gdk es ) : bool
es Gdk
Résultat bool

RenderPixbufToSurf() protected méthode

protected RenderPixbufToSurf ( Cairo gc, Gdk pixbuf, double x, double y ) : void
gc Cairo
pixbuf Gdk
x double
y double
Résultat void

Property Details

overlay protected_oe property

protected DrawGraphics overlay
Résultat DrawGraphics

render protected_oe property

protected DrawGraphics render
Résultat DrawGraphics