C# Class SIL.FieldWorks.SharpViews.RendererFactory

The default implementation of IRendererFactory wraps a writing system factory.
Inheritance: IRendererFactory
Mostrar archivo Open project: sillsdev/FieldWorks

Public Methods

Method Description
GetRenderer ( int ws, IVwGraphics vg ) : IRenderEngine

Get a suitable rendering engine for the specified writing system when drawing in the specified graphics environment.

RendererFactory ( ILgWritingSystemFactory wsf ) : System
RightToLeft ( int ws ) : bool

Return true if the main direction of the script is right-to-left.

Method Details

GetRenderer() public method

Get a suitable rendering engine for the specified writing system when drawing in the specified graphics environment.
public GetRenderer ( int ws, IVwGraphics vg ) : IRenderEngine
ws int
vg IVwGraphics
return IRenderEngine

RendererFactory() public method

public RendererFactory ( ILgWritingSystemFactory wsf ) : System
wsf ILgWritingSystemFactory
return System

RightToLeft() public method

Return true if the main direction of the script is right-to-left.
public RightToLeft ( int ws ) : bool
ws int
return bool