C# Class SIL.FieldWorks.Common.COMInterfaces.VwGraphicsTests

Afficher le fichier Open project: sillsdev/FieldWorks

Private Methods

Méthode Description
CharacterPropertyOverrides ( ) : void
Clipping ( ) : void
ColorCompare ( Color a, Color b ) : bool

Compares R,G,B values of two Colors

ComplexClipping ( ) : void
ConvertToVwGraphicsColor ( Color color ) : Int32

Convert a System.Drawing Color to a VwGraphics Color

GetClipRect ( ) : void
GetTextExtent ( ) : void
GetTextExtentWithEmptyString ( ) : void
LargeRectangles ( ) : void
SearchForBottomMostNonWhitePixel ( Bitmap bitmap, int width, int height ) : int

Helper method that searches a Bitmap looking for the first non white pixel which is the bottom most !inside! the specified width/height in the Bitmap.

SearchForLeftMostNonWhitePixel ( Bitmap bitmap, int width, int height ) : int

Helper method that searches a Bitmap looking for the first non white pixel which is the left most !inside! the specified width/height in the Bitmap.

SearchForRightMostNonWhitePixel ( Bitmap bitmap, int width, int height ) : int

Helper method that searches a Bitmap looking for the first non white pixel which is the right most !inside! the specified width/height in the Bitmap.

SetClipRect ( ) : void
SimpleCreationAndRelease ( ) : void
TestGetTextExtentHelper ( string testString ) : void
TextClipping ( ) : void