update
This commit is contained in:
parent
15eec45bd9
commit
e8e616055c
@ -47,7 +47,7 @@ func main() {
|
|||||||
dc.Stroke()
|
dc.Stroke()
|
||||||
|
|
||||||
dc.LoadFontFace("/Library/Fonts/Arial.ttf", 200)
|
dc.LoadFontFace("/Library/Fonts/Arial.ttf", 200)
|
||||||
dc.DrawStringAnchored("G", -5, 5, 0.5, 0.5)
|
dc.DrawStringAnchored("g", -5, 5, 0.5, 0.5)
|
||||||
dc.DrawStringAnchored("G", 5, -5, 0.5, 0.5)
|
dc.DrawStringAnchored("G", 5, -5, 0.5, 0.5)
|
||||||
|
|
||||||
dc.SavePNG("out.png")
|
dc.SavePNG("out.png")
|
||||||
|
Loading…
Reference in New Issue
Block a user