Documentation ¶
Index ¶
Constants ¶
View Source
const BREAK_HEIGHT = LINE_HEIGHT * FONT_SIZE
View Source
const CODE_FONT = "Courier"
View Source
const FONT_DIR = "fonts"
View Source
const FONT_EXTENSION = ".ttf"
View Source
const FONT_SIZE = 14
View Source
const LINE_HEIGHT = 1.5
View Source
const MAIN_FONT = "Roboto"
View Source
const MARGIN = 50
View Source
const PAGE_HEIGHT = 841.89
View Source
const PAGE_WIDTH = 595.28
View Source
const TOP_HEADER_FONT_SIZE = 28
Variables ¶
View Source
var CELL_RECT *gopdf.Rect = nil
View Source
var DEFAULT_CELL_RECT = &gopdf.Rect{W: PAGE_WIDTH - MARGIN*2, H: BREAK_HEIGHT * 1.1}
View Source
var TEXT_COLOR = []uint8{0, 0, 0} // in rgb
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.