Documentation ¶
Index ¶
- func DrawGrid(canvas *svg.SVG, x, y, w, h, n int, label bool, style string)
- func DrawLine(canvas *svg.SVG, l tegola.LineString, id string, style string, ...)
- func DrawPoint(canvas *svg.SVG, x, y int, fill string)
- func DrawPolygon(canvas *svg.SVG, p tegola.Polygon, id string, style string, pointStyle string)
- func DrawPolygonTest(writer io.Writer, w, h int, r *region.Region, original tegola.Polygon, ...)
- func DrawRegion(canvas *svg.SVG, r *region.Region)
- func MinMax(iminx, iminy, imaxx, imaxy, mx, my, mmx, mmy int) (minx, miny, maxx, maxy int)
- func MinMaxForPolygon(p tegola.Polygon) (minx, miny, maxx, maxy int)
- func MinMaxForPolygonSlice(ps []tegola.Polygon) (minx, miny, maxx, maxy int)
- func NewCanvas(writer io.Writer, w, h int, minx, miny, maxx, maxy int) *svg.SVG
- type SVG
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DrawLine ¶
func DrawLine(canvas *svg.SVG, l tegola.LineString, id string, style string, pointStyle string)
func DrawPolygon ¶
func DrawPolygonTest ¶
func DrawRegion ¶
func MinMaxForPolygon ¶
func MinMaxForPolygonSlice ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.