C# Class Xamarin.Canvas.Cairo.Engine

Inheritance: Canvas.ICanvasEngine
ファイルを表示 Open project: Clancey/Canvas

Public Methods

Method Description
Engine ( Func contextInitializer, Func pangoInitializer ) : System
ImageSize ( string file ) : Size
InputNodeAt ( Node root, double x, double y ) : Node
InsertRenderer ( ICairoRenderer renderer ) : bool
RenderScene ( Node rootNode ) : void
RenderText ( Context context, string text, TextOptions options, Point position ) : void
SetBackground ( Color color ) : void
TextExtents ( string text, TextOptions options ) : Size
TransformPoint ( Node node, double x, double y ) : Point

Private Methods

Method Description
AssignRenderers ( Node rootNode ) : void
InsertStandardRenderers ( ) : void
RenderNode ( Node current, Context context ) : void

Method Details

Engine() public method

public Engine ( Func contextInitializer, Func pangoInitializer ) : System
contextInitializer Func
pangoInitializer Func
return System

ImageSize() public method

public ImageSize ( string file ) : Size
file string
return Size

InputNodeAt() public method

public InputNodeAt ( Node root, double x, double y ) : Node
root Node
x double
y double
return Node

InsertRenderer() public method

public InsertRenderer ( ICairoRenderer renderer ) : bool
renderer ICairoRenderer
return bool

RenderScene() public method

public RenderScene ( Node rootNode ) : void
rootNode Node
return void

RenderText() public method

public RenderText ( Context context, string text, TextOptions options, Point position ) : void
context Cairo.Context
text string
options TextOptions
position Point
return void

SetBackground() public method

public SetBackground ( Color color ) : void
color Color
return void

TextExtents() public method

public TextExtents ( string text, TextOptions options ) : Size
text string
options TextOptions
return Size

TransformPoint() public method

public TransformPoint ( Node node, double x, double y ) : Point
node Node
x double
y double
return Point