C# 클래스 PurplePen.RectanglePositioner

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

Private Properties

프로퍼티 타입 설명
FitsInCurrentColumn bool
PageSizeBigEnough bool
PlaceInCurrentColumn void
RemoveLastRectangle void
StartNewColumn void
StartNewPage void

공개 메소드들

메소드 설명
DrawPage ( Graphics g, int pageNumber ) : void
LayoutMultipleDescriptions ( IPrintableRectangle rectangles ) : void
LayoutOneDescriptionPage ( IPrintableRectangle rectangle ) : int
RectanglePositioner ( SizeF pageSize, float boxSize, float spacing ) : System

비공개 메소드들

메소드 설명
FitsInCurrentColumn ( IPrintableRectangle rectangle, int startLine, int &numberLinesFit ) : bool
PageSizeBigEnough ( IPrintableRectangle rectangles ) : bool
PlaceInCurrentColumn ( IPrintableRectangle rectangle, int startLine, int countLines ) : void
RemoveLastRectangle ( ) : void
StartNewColumn ( ) : void
StartNewPage ( ) : void

메소드 상세

DrawPage() 공개 메소드

public DrawPage ( Graphics g, int pageNumber ) : void
g System.Drawing.Graphics
pageNumber int
리턴 void

LayoutMultipleDescriptions() 공개 메소드

public LayoutMultipleDescriptions ( IPrintableRectangle rectangles ) : void
rectangles IPrintableRectangle
리턴 void

LayoutOneDescriptionPage() 공개 메소드

public LayoutOneDescriptionPage ( IPrintableRectangle rectangle ) : int
rectangle IPrintableRectangle
리턴 int

RectanglePositioner() 공개 메소드

public RectanglePositioner ( SizeF pageSize, float boxSize, float spacing ) : System
pageSize System.Drawing.SizeF
boxSize float
spacing float
리턴 System