Skip to content

Commit

Permalink
vg: document behaviour of zero font size text
Browse files Browse the repository at this point in the history
  • Loading branch information
sbinet committed Mar 12, 2019
1 parent 52149d6 commit cd8a204
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions vg/vg.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ type Canvas interface {

// FillString fills in text at the specified
// location using the given font.
// If the font size is zero, the text is not drawn.
FillString(f Font, pt Point, text string)

// DrawImage draws the image, scaled to fit
Expand Down

0 comments on commit cd8a204

Please sign in to comment.