C# Class _3PA.MainFeatures.FilteredLists.FilteredItemTextRenderer

This renderer highlights substrings that match a given text filter, It only works for OVL with objects that inherit from FilteredItem and it uses FilteredItem.FilterFullyMatch
Inheritance: BrightIdeasSoftware.HighlightTextRenderer
Afficher le fichier Open project: jcaillon/3P

Méthodes publiques

Méthode Description
FilteredItemTextRenderer ( ) : System.Drawing

Create a HighlightTextRenderer

Méthodes protégées

Méthode Description
DrawGdiPlusTextHighlighting ( Graphics g, Rectangle r, string txt ) : void

Draw the highlighted text using GDI+

DrawGdiTextHighlighting ( Graphics g, Rectangle r, string txt ) : void

Draw the highlighted text using GDI

DrawSubstringFrame ( Graphics g, float x, float y, float width, float height ) : void

Draw an indication around the given frame that shows a text match

DrawTextGdi ( Graphics g, Rectangle r, string txt ) : void

Draw text using GDI

DrawTextGdiPlus ( Graphics g, Rectangle r, string txt ) : void

Draw the text using GDI+

Method Details

DrawGdiPlusTextHighlighting() protected méthode

Draw the highlighted text using GDI+
protected DrawGdiPlusTextHighlighting ( Graphics g, Rectangle r, string txt ) : void
g System.Drawing.Graphics
r System.Drawing.Rectangle
txt string
Résultat void

DrawGdiTextHighlighting() protected méthode

Draw the highlighted text using GDI
protected DrawGdiTextHighlighting ( Graphics g, Rectangle r, string txt ) : void
g System.Drawing.Graphics
r System.Drawing.Rectangle
txt string
Résultat void

DrawSubstringFrame() protected méthode

Draw an indication around the given frame that shows a text match
protected DrawSubstringFrame ( Graphics g, float x, float y, float width, float height ) : void
g System.Drawing.Graphics
x float
y float
width float
height float
Résultat void

DrawTextGdi() protected méthode

Draw text using GDI
protected DrawTextGdi ( Graphics g, Rectangle r, string txt ) : void
g System.Drawing.Graphics
r System.Drawing.Rectangle
txt string
Résultat void

DrawTextGdiPlus() protected méthode

Draw the text using GDI+
protected DrawTextGdiPlus ( Graphics g, Rectangle r, string txt ) : void
g System.Drawing.Graphics
r System.Drawing.Rectangle
txt string
Résultat void

FilteredItemTextRenderer() public méthode

Create a HighlightTextRenderer
public FilteredItemTextRenderer ( ) : System.Drawing
Résultat System.Drawing