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

Issue 344970043: Add and use a Transform data type

Can't Edit
Can't Publish+Mail
Start Review
Created:
5 years, 10 months ago by dak
Modified:
5 years, 10 months ago
Reviewers:
Be-3, Dan Eble, haberg-1
CC:
lilypond-devel_gnu.org
Visibility:
Public.

Description

Add and use a Transform data type As of now, this is just used in stencil-integral. However, a Scheme level interface would likely make sense for compacting geometric transformations. The abstraction currently relies on PangoTransform matrices but could easily be moved to other implementations such as cairo_matrix_t. Contains commits: Add Transform data type stencil-integral.cc: use Transform stencil-integral: pass SCM as transform values

Patch Set 1 #

Total comments: 2

Patch Set 2 : Rebased, reverted to grob rotation for the rotation property. #

Patch Set 3 : Refix GC issue #

Total comments: 4

Patch Set 4 : Rework according to Dan's review #

Unified diffs Side-by-side diffs Delta from patch set Stats (+311 lines, -147 lines) Patch
A lily/include/transform.hh View 1 2 3 1 chunk +96 lines, -0 lines 0 comments Download
M lily/stencil-integral.cc View 1 2 3 28 chunks +93 lines, -147 lines 0 comments Download
A lily/transform.cc View 1 2 3 1 chunk +122 lines, -0 lines 0 comments Download

Messages

Total messages: 17
Be-3
https://codereview.appspot.com/344970043/diff/1/lily/stencil-integral.cc File lily/stencil-integral.cc (right): https://codereview.appspot.com/344970043/diff/1/lily/stencil-integral.cc#newcode1099 lily/stencil-integral.cc:1099: Offset center (robust_scm2double (scm_cadr (rot), 0.0), robust_scm2double (scm_caddr (rot), ...
5 years, 10 months ago (2018-06-17 10:46:38 UTC) #1
dak
https://codereview.appspot.com/344970043/diff/1/lily/stencil-integral.cc File lily/stencil-integral.cc (right): https://codereview.appspot.com/344970043/diff/1/lily/stencil-integral.cc#newcode1099 lily/stencil-integral.cc:1099: Offset center (robust_scm2double (scm_cadr (rot), 0.0), robust_scm2double (scm_caddr (rot), ...
5 years, 10 months ago (2018-06-17 10:54:38 UTC) #2
dak
On 2018/06/17 10:54:38, dak wrote: > Right. I haven't rebased this patch yet, but I ...
5 years, 10 months ago (2018-06-17 11:05:36 UTC) #3
dak
Rebased, reverted to grob rotation for the rotation property.
5 years, 10 months ago (2018-06-17 12:25:59 UTC) #4
dak
Refix GC issue
5 years, 10 months ago (2018-06-17 12:41:29 UTC) #5
Dan Eble
https://codereview.appspot.com/344970043/diff/40001/lily/include/transform.hh File lily/include/transform.hh (right): https://codereview.appspot.com/344970043/diff/40001/lily/include/transform.hh#newcode52 lily/include/transform.hh:52: Transform (Offset p0) Do you want to allow implicit ...
5 years, 10 months ago (2018-06-20 22:30:07 UTC) #6
dak
https://codereview.appspot.com/344970043/diff/40001/lily/include/transform.hh File lily/include/transform.hh (right): https://codereview.appspot.com/344970043/diff/40001/lily/include/transform.hh#newcode52 lily/include/transform.hh:52: Transform (Offset p0) On 2018/06/20 22:30:07, Dan Eble wrote: ...
5 years, 10 months ago (2018-06-21 08:48:32 UTC) #7
dak
On 2018/06/21 08:48:32, dak wrote: > A constructor/function from Transform * seems like a side ...
5 years, 10 months ago (2018-06-21 10:40:30 UTC) #8
dak
Rework according to Dan's review
5 years, 10 months ago (2018-06-21 12:07:01 UTC) #9
haberg-1_telia.com
> On 21 Jun 2018, at 10:48, dak@gnu.org wrote: > > I think C++19(?) or ...
5 years, 10 months ago (2018-06-21 13:04:20 UTC) #10
dak
Hans Åberg <haberg-1@telia.com> writes: >> On 21 Jun 2018, at 10:48, dak@gnu.org wrote: >> >> ...
5 years, 10 months ago (2018-06-21 13:17:46 UTC) #11
Dan Eble
On 2018/06/21 12:07:01, dak wrote: > Rework according to Dan's review Noticeably improved. I do ...
5 years, 10 months ago (2018-06-21 21:38:02 UTC) #12
haberg-1_telia.com
> On 21 Jun 2018, at 00:30, nine.fierce.ballads@gmail.com wrote: > Maybe a function would help: ...
5 years, 10 months ago (2018-06-22 08:49:39 UTC) #13
dak
Hans Åberg <haberg-1@telia.com> writes: >> On 21 Jun 2018, at 00:30, nine.fierce.ballads@gmail.com wrote: > >> ...
5 years, 10 months ago (2018-06-22 09:09:22 UTC) #14
haberg-1_telia.com
> On 22 Jun 2018, at 11:09, David Kastrup <dak@gnu.org> wrote: > > Hans Åberg ...
5 years, 10 months ago (2018-06-22 12:24:04 UTC) #15
dak
Hans Åberg <haberg-1@telia.com> writes: >> On 22 Jun 2018, at 11:09, David Kastrup <dak@gnu.org> wrote: ...
5 years, 10 months ago (2018-06-22 12:27:11 UTC) #16
haberg-1_telia.com
5 years, 10 months ago (2018-06-22 12:40:59 UTC) #17
> On 22 Jun 2018, at 14:27, David Kastrup <dak@gnu.org> wrote:
> 
> What would that be good for concerning this issue?

Only you know that: you did not like the explicit constructor for some reason,
but didn't detail.


Sign in to reply to this message.

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