C# 클래스 PurplePen.MapRenderer

상속: IRenderer
파일 보기 프로젝트 열기: petergolde/PurplePen 1 사용 예제들

공개 메소드들

메소드 설명
CreateFont ( string fontName, float emHeight, bool bold, bool italic, StringAlignment alignment ) : object
CreatePen ( float thickness, LineJoin lineJoin, LineCap lineCap ) : object
DrawLine ( object pen, float x1, float y1, float x2, float y2 ) : void
DrawSingleLineText ( object font, string text, RectangleF rect, StringAlignment horizAlignment ) : void
DrawSymbol ( Symbol symbol, RectangleF rect ) : void
DrawWrappedText ( object font, string text, RectangleF rect, StringAlignment horizAlignment ) : void
MapRenderer ( Map map, SymColor color, SymDef>.Dictionary dict ) : System
MeasureSingleLineText ( object font, string text, RectangleF rect, StringAlignment horizAlignment ) : float
WrappedTextFits ( object font, string text, RectangleF rect, StringAlignment horizAlignment ) : bool

비공개 메소드들

메소드 설명
GetOcadId ( ) : string

메소드 상세

CreateFont() 공개 메소드

public CreateFont ( string fontName, float emHeight, bool bold, bool italic, StringAlignment alignment ) : object
fontName string
emHeight float
bold bool
italic bool
alignment StringAlignment
리턴 object

CreatePen() 공개 메소드

public CreatePen ( float thickness, LineJoin lineJoin, LineCap lineCap ) : object
thickness float
lineJoin LineJoin
lineCap LineCap
리턴 object

DrawLine() 공개 메소드

public DrawLine ( object pen, float x1, float y1, float x2, float y2 ) : void
pen object
x1 float
y1 float
x2 float
y2 float
리턴 void

DrawSingleLineText() 공개 메소드

public DrawSingleLineText ( object font, string text, RectangleF rect, StringAlignment horizAlignment ) : void
font object
text string
rect System.Drawing.RectangleF
horizAlignment StringAlignment
리턴 void

DrawSymbol() 공개 메소드

public DrawSymbol ( Symbol symbol, RectangleF rect ) : void
symbol Symbol
rect System.Drawing.RectangleF
리턴 void

DrawWrappedText() 공개 메소드

public DrawWrappedText ( object font, string text, RectangleF rect, StringAlignment horizAlignment ) : void
font object
text string
rect System.Drawing.RectangleF
horizAlignment StringAlignment
리턴 void

MapRenderer() 공개 메소드

public MapRenderer ( Map map, SymColor color, SymDef>.Dictionary dict ) : System
map Map
color SymColor
dict SymDef>.Dictionary
리턴 System

MeasureSingleLineText() 공개 메소드

public MeasureSingleLineText ( object font, string text, RectangleF rect, StringAlignment horizAlignment ) : float
font object
text string
rect System.Drawing.RectangleF
horizAlignment StringAlignment
리턴 float

WrappedTextFits() 공개 메소드

public WrappedTextFits ( object font, string text, RectangleF rect, StringAlignment horizAlignment ) : bool
font object
text string
rect System.Drawing.RectangleF
horizAlignment StringAlignment
리턴 bool