C# Class Calendar.AbstractRenderer

Inheritance: IDisposable
Show file Open project: abstractspoon/ToDoList_Plugins

Public Methods

Method Description
Dispose ( ) : void
DrawAllDayBackground ( Graphics g, Rectangle rect ) : void
DrawAppointment ( Graphics g, Rectangle rect, Appointment appointment, bool isSelected, Rectangle gripRect ) : void
DrawDayBackground ( Graphics g, Rectangle rect ) : void
DrawDayGripper ( Graphics g, Rectangle rect, int gripWidth ) : void
DrawDayHeader ( Graphics g, Rectangle rect, System.DateTime date ) : void
DrawHourLabel ( Graphics g, Rectangle rect, int hour, bool ampm ) : void
DrawHourRange ( Graphics g, Rectangle rect, bool drawBorder, bool hilight ) : void
DrawMinuteLine ( Graphics g, Rectangle rect, bool hour ) : void
InterpolateColors ( Color color1, Color color2, float percentage ) : Color

Protected Methods

Method Description
Dispose ( bool mainThread ) : void

Method Details

Dispose() public method

public Dispose ( ) : void
return void

Dispose() protected method

protected Dispose ( bool mainThread ) : void
mainThread bool
return void

DrawAllDayBackground() public method

public DrawAllDayBackground ( Graphics g, Rectangle rect ) : void
g System.Drawing.Graphics
rect System.Drawing.Rectangle
return void

DrawAppointment() public abstract method

public abstract DrawAppointment ( Graphics g, Rectangle rect, Appointment appointment, bool isSelected, Rectangle gripRect ) : void
g System.Drawing.Graphics
rect System.Drawing.Rectangle
appointment Appointment
isSelected bool
gripRect System.Drawing.Rectangle
return void

DrawDayBackground() public abstract method

public abstract DrawDayBackground ( Graphics g, Rectangle rect ) : void
g System.Drawing.Graphics
rect System.Drawing.Rectangle
return void

DrawDayGripper() public method

public DrawDayGripper ( Graphics g, Rectangle rect, int gripWidth ) : void
g System.Drawing.Graphics
rect System.Drawing.Rectangle
gripWidth int
return void

DrawDayHeader() public abstract method

public abstract DrawDayHeader ( Graphics g, Rectangle rect, System.DateTime date ) : void
g System.Drawing.Graphics
rect System.Drawing.Rectangle
date System.DateTime
return void

DrawHourLabel() public abstract method

public abstract DrawHourLabel ( Graphics g, Rectangle rect, int hour, bool ampm ) : void
g System.Drawing.Graphics
rect System.Drawing.Rectangle
hour int
ampm bool
return void

DrawHourRange() public method

public DrawHourRange ( Graphics g, Rectangle rect, bool drawBorder, bool hilight ) : void
g System.Drawing.Graphics
rect System.Drawing.Rectangle
drawBorder bool
hilight bool
return void

DrawMinuteLine() public abstract method

public abstract DrawMinuteLine ( Graphics g, Rectangle rect, bool hour ) : void
g System.Drawing.Graphics
rect System.Drawing.Rectangle
hour bool
return void

InterpolateColors() public static method

public static InterpolateColors ( Color color1, Color color2, float percentage ) : Color
color1 Color
color2 Color
percentage float
return Color