From baa8b6aed5864c6c719f85b75fb63cb4b3be4146 Mon Sep 17 00:00:00 2001 From: Thomas Friedel Date: Mon, 30 Apr 2018 16:34:50 +0200 Subject: [PATCH] more docs --- canvas.go | 2 ++ freetype.go | 7 ++----- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/canvas.go b/canvas.go index 62b8fba..a6ecf4a 100644 --- a/canvas.go +++ b/canvas.go @@ -1,3 +1,5 @@ +// Package canvas provides an API that tries to closely mirror that +// of the HTML5 canvas API, using OpenGL to do the rendering. package canvas import ( diff --git a/freetype.go b/freetype.go index 0273144..54d6436 100644 --- a/freetype.go +++ b/freetype.go @@ -1,13 +1,10 @@ +package canvas + // Copyright 2010 The Freetype-Go Authors. All rights reserved. // Use of this source code is governed by your choice of either the // FreeType License or the GNU General Public License version 2 (or // any later version), both of which can be found in the LICENSE file. -// The freetype package provides a convenient API to draw text onto an image. -// Use the freetype/raster and freetype/truetype packages for lower level -// control over rasterization and TrueType parsing. -package canvas - import ( "errors" "image"