Documentation
¶
Index ¶
- type AniDrawer
- type Arrow
- type Drawer
- type Shape
- type TikzAniDrawer
- type TikzDrawer
- func (td *TikzDrawer) DrawLine(p1, p2 []float64, arrow Arrow, text string, width float64, style int)
- func (td *TikzDrawer) DrawNodeLine(i1, i2 int, arrow Arrow, text string, width float64, style int)
- func (td *TikzDrawer) DrawPoint(loc []float64, size float64, style int)
- func (td *TikzDrawer) Finish()
- func (td *TikzDrawer) GetNumStyle() int
- func (td *TikzDrawer) MakeNode(loc []float64, size float64, text []string, shape Shape, style int) (ind int)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Drawer ¶
type Drawer interface {
MakeNode(loc []float64, size float64, text []string, shape Shape, style int) (ind int)
DrawNodeLine(i1, i2 int, arrow Arrow, text string, width float64, style int)
DrawLine(p1, p2 []float64, arrow Arrow, text string, width float64, style int)
DrawPoint(loc []float64, size float64, style int)
GetNumStyle() int
Finish()
}
type TikzAniDrawer ¶
type TikzAniDrawer struct {
*TikzDrawer
// contains filtered or unexported fields
}
func InitTikzAniDrawer ¶
func InitTikzAniDrawer(fprep string, scale float64, bound [][]float64) *TikzAniDrawer
func (*TikzAniDrawer) NextFrame ¶
func (tad *TikzAniDrawer) NextFrame()
func (*TikzAniDrawer) StartAnimate ¶
func (tad *TikzAniDrawer) StartAnimate()
type TikzDrawer ¶
type TikzDrawer struct {
// contains filtered or unexported fields
}
func InitTikzDrawer ¶
func InitTikzDrawer(fout_name string, scale float64, bound [][]float64) *TikzDrawer
func (*TikzDrawer) DrawNodeLine ¶
func (*TikzDrawer) DrawPoint ¶
func (td *TikzDrawer) DrawPoint(loc []float64, size float64, style int)
func (*TikzDrawer) Finish ¶
func (td *TikzDrawer) Finish()
func (*TikzDrawer) GetNumStyle ¶
func (td *TikzDrawer) GetNumStyle() int
Click to show internal directories.
Click to hide internal directories.