From 6897f9a1a0985192e11245f1f2562a8091722594 Mon Sep 17 00:00:00 2001 From: lixingliang Date: Wed, 12 Jun 2019 11:43:36 +0800 Subject: [PATCH] modify comment --- context.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/context.go b/context.go index 2ca48a8..5e4e476 100644 --- a/context.go +++ b/context.go @@ -849,13 +849,13 @@ func (dc *Context) ScaleAbout(sx, sy, x, y float64) { dc.Translate(-x, -y) } -// Rotate updates the current matrix with a clockwise rotation. +// Rotate updates the current matrix with a anticlockwise rotation. // Rotation occurs about the origin. Angle is specified in radians. func (dc *Context) Rotate(angle float64) { dc.matrix = dc.matrix.Rotate(angle) } -// RotateAbout updates the current matrix with a clockwise rotation. +// RotateAbout updates the current matrix with a anticlockwise rotation. // Rotation occurs about the specified point. Angle is specified in radians. func (dc *Context) RotateAbout(angle, x, y float64) { dc.Translate(x, y)