Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(191)

Issue 1736043: code review 1736043: freetype/raster: improve the stroking algorithm. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years, 11 months ago by nigeltao
Modified:
13 years, 11 months ago
Reviewers:
CC:
r, rsc, rog, golang-dev
Visibility:
Public.

Description

freetype/raster: improve the stroking algorithm. It still isn't perfect (e.g. it doesn't join), but it's getting closer. Also fix the bug where RotateCW and RotateCCW was mixed up, since the Y-axis grows down in a computer graphics co-ordinate system, not up as in classical mathematics.

Patch Set 1 #

Patch Set 2 : code review 1736043: freetype/raster: improve the stroking algorithm. #

Total comments: 5

Patch Set 3 : code review 1736043: freetype/raster: improve the stroking algorithm. #

Total comments: 1

Patch Set 4 : code review 1736043: freetype/raster: improve the stroking algorithm. #

Patch Set 5 : code review 1736043: freetype/raster: improve the stroking algorithm. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+121 lines, -33 lines) Patch
M freetype/raster/geom.go View 1 2 3 4 10 chunks +117 lines, -29 lines 0 comments Download
M freetype/raster/raster.go View 1 chunk +4 lines, -4 lines 0 comments Download

Messages

Total messages: 7
nigeltao
Hello r, rsc (cc: golang-dev@googlegroups.com, rog), I'd like you to review this change.
13 years, 11 months ago (2010-06-23 13:53:05 UTC) #1
rog
http://codereview.appspot.com/1736043/diff/2001/3001 File freetype/raster/geom.go (right): http://codereview.appspot.com/1736043/diff/2001/3001#newcode46 freetype/raster/geom.go:46: func (p Point) Plus(q Point) Point { it's nice ...
13 years, 11 months ago (2010-06-23 15:13:27 UTC) #2
nigeltao
http://codereview.appspot.com/1736043/diff/2001/3001 File freetype/raster/geom.go (right): http://codereview.appspot.com/1736043/diff/2001/3001#newcode46 freetype/raster/geom.go:46: func (p Point) Plus(q Point) Point { On 2010/06/23 ...
13 years, 11 months ago (2010-06-24 10:07:12 UTC) #3
rog
http://codereview.appspot.com/1736043/diff/2001/3001 File freetype/raster/geom.go (right): http://codereview.appspot.com/1736043/diff/2001/3001#newcode105 freetype/raster/geom.go:105: type Path []Fixed ah, i'd missed that. i suppose ...
13 years, 11 months ago (2010-06-24 10:28:09 UTC) #4
nigeltao_gnome
On 23 June 2010 23:53, <nigeltao@golang.org> wrote: > Description: > freetype/raster: improve the stroking algorithm. ...
13 years, 11 months ago (2010-06-26 23:36:06 UTC) #5
rsc1
LGTM http://codereview.appspot.com/1736043/diff/8001/9001 File freetype/raster/geom.go (right): http://codereview.appspot.com/1736043/diff/8001/9001#newcode40 freetype/raster/geom.go:40: // A two-dimensional point or vector, in 24.8 ...
13 years, 11 months ago (2010-06-28 21:08:34 UTC) #6
nigeltao
13 years, 11 months ago (2010-06-29 00:48:22 UTC) #7
*** Submitted as
http://code.google.com/p/freetype-go/source/detail?r=5ac4ec211c87 ***

freetype/raster: improve the stroking algorithm.
It still isn't perfect (e.g. it doesn't join), but it's getting closer.

Also fix the bug where RotateCW and RotateCCW was mixed up, since the
Y-axis grows down in a computer graphics co-ordinate system, not up as
in classical mathematics.

R=r, rsc, rog
CC=golang-dev
http://codereview.appspot.com/1736043
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b