C# 클래스 BrightIdeasSoftware.HighlightTextRenderer

This renderer highlights substrings that match a given text filter.
상속: BaseRenderer
파일 보기 프로젝트 열기: soywiz/cspspemu 1 사용 예제들

Private Properties

프로퍼티 타입 설명
HighlightTextRenderer System

공개 메소드들

메소드 설명
HighlightTextRenderer ( ) : System

Create a HighlightTextRenderer

HighlightTextRenderer ( TextMatchFilter filter ) : System

Create a HighlightTextRenderer

보호된 메소드들

메소드 설명
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+

GetRoundedRect ( RectangleF rect, float diameter ) : GraphicsPath

Return a GraphicPath that is a round cornered rectangle

If I could rely on people using C# 3.0+, this should be an extension method of GraphicsPath.

GetRoundedRect ( float x, float y, float width, float height, float diameter ) : GraphicsPath

Return a GraphicPath that is a round cornered rectangle

If I could rely on people using C# 3.0+, this should be an extension method of GraphicsPath.

HandleGetEditRectangle ( Graphics g, Rectangle cellBounds, BrightIdeasSoftware.OLVListItem item, int subItemIndex, Size preferredSize ) : Rectangle

Handle a HitTest request after all state information has been initialized

비공개 메소드들

메소드 설명
HighlightTextRenderer ( string text ) : System

메소드 상세

DrawGdiPlusTextHighlighting() 보호된 메소드

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
리턴 void

DrawGdiTextHighlighting() 보호된 메소드

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
리턴 void

DrawSubstringFrame() 보호된 메소드

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
리턴 void

DrawTextGdi() 보호된 메소드

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

DrawTextGdiPlus() 보호된 메소드

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

GetRoundedRect() 보호된 메소드

Return a GraphicPath that is a round cornered rectangle
If I could rely on people using C# 3.0+, this should be an extension method of GraphicsPath.
protected GetRoundedRect ( RectangleF rect, float diameter ) : GraphicsPath
rect System.Drawing.RectangleF The rectangle
diameter float The diameter of the corners
리턴 System.Drawing.Drawing2D.GraphicsPath

GetRoundedRect() 보호된 메소드

Return a GraphicPath that is a round cornered rectangle
If I could rely on people using C# 3.0+, this should be an extension method of GraphicsPath.
protected GetRoundedRect ( float x, float y, float width, float height, float diameter ) : GraphicsPath
x float
y float
width float
height float
diameter float
리턴 System.Drawing.Drawing2D.GraphicsPath

HandleGetEditRectangle() 보호된 메소드

Handle a HitTest request after all state information has been initialized
protected HandleGetEditRectangle ( Graphics g, Rectangle cellBounds, BrightIdeasSoftware.OLVListItem item, int subItemIndex, Size preferredSize ) : Rectangle
g System.Drawing.Graphics
cellBounds System.Drawing.Rectangle
item BrightIdeasSoftware.OLVListItem
subItemIndex int
preferredSize System.Drawing.Size
리턴 System.Drawing.Rectangle

HighlightTextRenderer() 공개 메소드

Create a HighlightTextRenderer
public HighlightTextRenderer ( ) : System
리턴 System

HighlightTextRenderer() 공개 메소드

Create a HighlightTextRenderer
public HighlightTextRenderer ( TextMatchFilter filter ) : System
filter TextMatchFilter
리턴 System