C# Class PurplePen.PunchesRenderer

Inheritance: IPrintableRectangle
Mostrar archivo Open project: petergolde/PurplePen Class Usage Examples

Public Methods

Method Description
Draw ( Graphics g, float x, float y, int startLine, int countLines ) : void
Measure ( ) : SizeF
PunchesRenderer ( EventDB eventDB ) : System

Private Methods

Method Description
CreateObjects ( ) : void
DisposeObjects ( ) : void
DrawPattern ( Graphics g, PunchPattern pattern, RectangleF punchRect ) : void
GetAllBoxes ( ) : List
NumberOfLines ( List boxes ) : int
Render ( Graphics g, int startLine, int countLines ) : void
RenderLine ( Graphics g, List boxes, int line, bool lastLine ) : void
RenderPunchBox ( Graphics g, CourseView controlView, RectangleF rect ) : void

Method Details

Draw() public method

public Draw ( Graphics g, float x, float y, int startLine, int countLines ) : void
g System.Drawing.Graphics
x float
y float
startLine int
countLines int
return void

Measure() public method

public Measure ( ) : SizeF
return System.Drawing.SizeF

PunchesRenderer() public method

public PunchesRenderer ( EventDB eventDB ) : System
eventDB EventDB
return System