mirror of
https://github.com/fogleman/gg.git
synced 2025-12-24 10:30:56 +08:00
update
This commit is contained in:
@@ -47,7 +47,7 @@ func main() {
|
||||
dc.Stroke()
|
||||
|
||||
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.SavePNG("out.png")
|
||||
|
||||
Reference in New Issue
Block a user