C# Class SampleWinForms.Form1

Inheritance: System.Windows.Forms.Form
Afficher le fichier Open project: prepare/HTML-Renderer

Méthodes publiques

Méthode Description
ConvEmSizeInPointsToPixels ( float emsizeInPoint ) : float
ConvFUnitToPixels ( ushort reqFUnit, float fontSizeInPoint, ushort unitPerEm ) : float
Form1 ( ) : System
GetFUnitToPixelsScale ( float fontSizeInPoint, ushort unitPerEm ) : float

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Méthode Description
Form1_Load ( object sender, EventArgs e ) : void
InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

ReadAndRender ( string fontfile ) : void
RenderWithMiniAgg ( Typeface typeface, char testChar, float sizeInPoint ) : void
RenderWithPlugableGlyphRasterizer ( Typeface typeface, char testChar, float sizeInPoint, int resolution ) : void
RenderWithTextPrinterAndMiniAgg ( Typeface typeface, string str, float sizeInPoint, int resolution ) : void
button1_Click ( object sender, EventArgs e ) : void
chkKern_CheckedChanged ( object sender, EventArgs e ) : void
cmbRenderChoices_SelectedIndexChanged ( object sender, EventArgs e ) : void
lstFontSizes_SelectedIndexChanged ( object sender, EventArgs e ) : void
txtInputChar_TextChanged ( object sender, EventArgs e ) : void

Method Details

ConvEmSizeInPointsToPixels() public static méthode

public static ConvEmSizeInPointsToPixels ( float emsizeInPoint ) : float
emsizeInPoint float
Résultat float

ConvFUnitToPixels() public static méthode

public static ConvFUnitToPixels ( ushort reqFUnit, float fontSizeInPoint, ushort unitPerEm ) : float
reqFUnit ushort
fontSizeInPoint float
unitPerEm ushort
Résultat float

Dispose() protected méthode

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
Résultat void

Form1() public méthode

public Form1 ( ) : System
Résultat System

GetFUnitToPixelsScale() public static méthode

public static GetFUnitToPixelsScale ( float fontSizeInPoint, ushort unitPerEm ) : float
fontSizeInPoint float
unitPerEm ushort
Résultat float