C# Class PurplePen.RectanglePositioner

Afficher le fichier Open project: petergolde/PurplePen Class Usage Examples

Private Properties

Свойство Type Description
FitsInCurrentColumn bool
PageSizeBigEnough bool
PlaceInCurrentColumn void
RemoveLastRectangle void
StartNewColumn void
StartNewPage void

Méthodes publiques

Méthode Description
DrawPage ( Graphics g, int pageNumber ) : void
LayoutMultipleDescriptions ( IPrintableRectangle rectangles ) : void
LayoutOneDescriptionPage ( IPrintableRectangle rectangle ) : int
RectanglePositioner ( SizeF pageSize, float boxSize, float spacing ) : System

Private Methods

Méthode Description
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

Method Details

DrawPage() public méthode

public DrawPage ( Graphics g, int pageNumber ) : void
g System.Drawing.Graphics
pageNumber int
Résultat void

LayoutMultipleDescriptions() public méthode

public LayoutMultipleDescriptions ( IPrintableRectangle rectangles ) : void
rectangles IPrintableRectangle
Résultat void

LayoutOneDescriptionPage() public méthode

public LayoutOneDescriptionPage ( IPrintableRectangle rectangle ) : int
rectangle IPrintableRectangle
Résultat int

RectanglePositioner() public méthode

public RectanglePositioner ( SizeF pageSize, float boxSize, float spacing ) : System
pageSize System.Drawing.SizeF
boxSize float
spacing float
Résultat System