C# Class Rozvrh.Exporters.Generators.SvgGenerator

Class generating string in SVG format from list of lectures.
ファイルを表示 Open project: jandoubek/fjfi-rozvrh Class Usage Examples

Public Methods

Method Description
SvgGenerator ( ) : System
generateSVG ( List ttFields, string title, System.DateTime created, string linkToInformation ) : string

Generates string in SVG format.

Private Methods

Method Description
RenderLecture ( ExportLecture lecture, int split, int pos ) : string
RenderLectures ( List lectures ) : string
headerDays ( ) : string
headerHours ( ) : string
headerRootAndBottoms ( System.DateTime created, string link ) : string
headerStyles ( ) : string
headerTitle ( string title ) : string
xSpan ( System.TimeSpan length ) : int
xStartHour ( System.DateTime startTime ) : int
yEndDay ( DayOfWeek d ) : int
yStartDay ( DayOfWeek d ) : int

Method Details

SvgGenerator() public method

public SvgGenerator ( ) : System
return System

generateSVG() public method

Generates string in SVG format.
public generateSVG ( List ttFields, string title, System.DateTime created, string linkToInformation ) : string
ttFields List
title string Title rendered at the top of the SVG.
created System.DateTime
linkToInformation string
return string