From b61daf122abb52a7494c837d1194160fd102d93a Mon Sep 17 00:00:00 2001 From: Michael Fogleman Date: Fri, 19 Feb 2016 22:51:46 -0500 Subject: [PATCH] readme --- README.md | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 146b943..8b144a0 100644 --- a/README.md +++ b/README.md @@ -49,8 +49,6 @@ DrawEllipse(x, y, rx, ry float64) DrawEllipticalArc(x, y, rx, ry, angle1, angle2 float64) DrawImage(im image.Image, x, y int) DrawImageAnchored(im image.Image, x, y int, ax, ay float64) -DrawString(s string, x, y float64) -DrawStringAnchored(s string, x, y, ax, ay float64) MoveTo(x, y float64) LineTo(x, y float64) @@ -65,6 +63,16 @@ StrokePreserve() FillPreserve() ``` +## Text Functions + +```go +DrawString(s string, x, y float64) +DrawStringAnchored(s string, x, y, ax, ay float64) +MeasureString(s string) (w, h float64) +SetFontFace(fontFace font.Face) +LoadFontFace(path string, points float64) +``` + ## Color Functions Colors can be set in several different ways for your convenience.