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

Issue 246590043: stencil-integrate.cc: root out "slopes" (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
8 years, 9 months ago by dak
Modified:
8 years, 7 months ago
Reviewers:
lemzwerg
CC:
lilypond-devel_gnu.org
Visibility:
Public.

Description

stencil-integrate.cc: root out "slopes" They are quite unsuitable for the computational geometry performed here. Their use rendered the code inefficient, obtuse, and unreliable. Contains several other fixes like removing duplicate calculations and wrong values. The C++ <complex> module is no longer used. It had only been used for calculating sin and cos in an obscure manner. Also contains commit: Robustify Offset::direction and Offset::length

Patch Set 1 #

Patch Set 2 : Add forgotten radius for elliptical sweeps #

Total comments: 3

Patch Set 3 : Avoid skyline interruptions at line caps #

Unified diffs Side-by-side diffs Delta from patch set Stats (+60 lines, -104 lines) Patch
M flower/offset.cc View 2 chunks +12 lines, -2 lines 0 comments Download
M lily/bezier.cc View 1 2 2 chunks +4 lines, -6 lines 0 comments Download
M lily/include/bezier.hh View 1 chunk +1 line, -1 line 0 comments Download
M lily/include/misc.hh View 1 chunk +0 lines, -1 line 0 comments Download
M lily/misc.cc View 1 chunk +0 lines, -17 lines 0 comments Download
M lily/stencil-integral.cc View 1 2 14 chunks +43 lines, -77 lines 0 comments Download

Messages

Total messages: 6
dak
Add forgotten radius for elliptical sweeps
8 years, 9 months ago (2015-06-29 23:26:06 UTC) #1
lemzwerg
LGTM https://codereview.appspot.com/246590043/diff/20001/lily/stencil-integral.cc File lily/stencil-integral.cc (right): https://codereview.appspot.com/246590043/diff/20001/lily/stencil-integral.cc#newcode62 lily/stencil-integral.cc:62: void create_path_cap (vector<Box> &boxes, vector<Drul_array<Offset> > &buildings, PangoMatrix ...
8 years, 9 months ago (2015-06-30 04:39:54 UTC) #2
dak
https://codereview.appspot.com/246590043/diff/20001/lily/stencil-integral.cc File lily/stencil-integral.cc (right): https://codereview.appspot.com/246590043/diff/20001/lily/stencil-integral.cc#newcode62 lily/stencil-integral.cc:62: void create_path_cap (vector<Box> &boxes, vector<Drul_array<Offset> > &buildings, PangoMatrix trans, ...
8 years, 9 months ago (2015-06-30 05:49:27 UTC) #3
lemzwerg
Oh, I haven't meant that you should reformat everything but just the code you are ...
8 years, 9 months ago (2015-06-30 05:55:51 UTC) #4
dak
On 2015/06/30 05:55:51, lemzwerg wrote: > Oh, I haven't meant that you should reformat everything ...
8 years, 9 months ago (2015-06-30 06:00:56 UTC) #5
dak
8 years, 9 months ago (2015-06-30 09:55:12 UTC) #6
Avoid skyline interruptions at line caps
Sign in to reply to this message.

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