C# Class Pinta.Core.WorkspaceManager

Exibir arquivo Open project: xxgreg/Pinta Class Usage Examples

Public Methods

Method Description
ClampToImageSize ( Gdk r ) : Gdk.Rectangle
Invalidate ( ) : void
Invalidate ( Gdk rect ) : void
PointInCanvas ( Cairo point ) : bool
RecenterView ( double x, double y ) : void
ResizeCanvas ( int width, int height, Anchor anchor ) : void
ResizeImage ( int width, int height ) : void
ScrollCanvas ( int dx, int dy ) : void
WindowPointToCanvas ( double x, double y ) : PointD
WorkspaceManager ( ) : System
ZoomIn ( ) : void
ZoomOut ( ) : void
ZoomToRectangle ( Rectangle rect ) : void

Protected Methods

Method Description
OnCanvasInvalidated ( Pinta.Core.CanvasInvalidatedEventArgs e ) : void
OnCanvasSizeChanged ( ) : void

Private Methods

Method Description
ResetTitle ( ) : void

Method Details

ClampToImageSize() public method

public ClampToImageSize ( Gdk r ) : Gdk.Rectangle
r Gdk
return Gdk.Rectangle

Invalidate() public method

public Invalidate ( ) : void
return void

Invalidate() public method

public Invalidate ( Gdk rect ) : void
rect Gdk
return void

OnCanvasInvalidated() protected method

protected OnCanvasInvalidated ( Pinta.Core.CanvasInvalidatedEventArgs e ) : void
e Pinta.Core.CanvasInvalidatedEventArgs
return void

OnCanvasSizeChanged() protected method

protected OnCanvasSizeChanged ( ) : void
return void

PointInCanvas() public method

public PointInCanvas ( Cairo point ) : bool
point Cairo
return bool

RecenterView() public method

public RecenterView ( double x, double y ) : void
x double
y double
return void

ResizeCanvas() public method

public ResizeCanvas ( int width, int height, Anchor anchor ) : void
width int
height int
anchor Anchor
return void

ResizeImage() public method

public ResizeImage ( int width, int height ) : void
width int
height int
return void

ScrollCanvas() public method

public ScrollCanvas ( int dx, int dy ) : void
dx int
dy int
return void

WindowPointToCanvas() public method

public WindowPointToCanvas ( double x, double y ) : PointD
x double
y double
return Cairo.PointD

WorkspaceManager() public method

public WorkspaceManager ( ) : System
return System

ZoomIn() public method

public ZoomIn ( ) : void
return void

ZoomOut() public method

public ZoomOut ( ) : void
return void

ZoomToRectangle() public method

public ZoomToRectangle ( Rectangle rect ) : void
rect Cairo.Rectangle
return void