remove unneeded code
This commit is contained in:
parent
8014fc54f3
commit
e6644b7b24
@ -384,8 +384,6 @@ func (dc *Context) DrawStringAnchored(s string, x, y, ax, ay float64) {
|
|||||||
|
|
||||||
func (dc *Context) MeasureString(s string) (w, h float64) {
|
func (dc *Context) MeasureString(s string) (w, h float64) {
|
||||||
d := &font.Drawer{
|
d := &font.Drawer{
|
||||||
Dst: nil,
|
|
||||||
Src: nil,
|
|
||||||
Face: dc.fontFace,
|
Face: dc.fontFace,
|
||||||
}
|
}
|
||||||
a := d.MeasureString(s)
|
a := d.MeasureString(s)
|
||||||
|
Loading…
Reference in New Issue
Block a user