more docs

This commit is contained in:
Thomas Friedel 2018-04-30 16:34:50 +02:00
parent 5bd0ccce2e
commit baa8b6aed5
2 changed files with 4 additions and 5 deletions

View file

@ -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 package canvas
import ( import (

View file

@ -1,13 +1,10 @@
package canvas
// Copyright 2010 The Freetype-Go Authors. All rights reserved. // Copyright 2010 The Freetype-Go Authors. All rights reserved.
// Use of this source code is governed by your choice of either the // Use of this source code is governed by your choice of either the
// FreeType License or the GNU General Public License version 2 (or // FreeType License or the GNU General Public License version 2 (or
// any later version), both of which can be found in the LICENSE file. // 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 ( import (
"errors" "errors"
"image" "image"