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

Issue 6845048: Add SkMatrix44::setTranspose (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 10 months ago by vollick
Modified:
11 years, 10 months ago
Reviewers:
reed1
CC:
skia-review_googlegroups.com
Base URL:
https://skia.googlecode.com/svn/trunk
Visibility:
Public.

Description

Add SkMatrix44::setTranspose It turned out that adding getDouble(...) and setDouble(...) made this change easier, so I've included that in this cl as well. Committed: https://code.google.com/p/skia/source/detail?r=6424

Patch Set 1 : . #

Total comments: 2

Patch Set 2 : . #

Total comments: 2

Patch Set 3 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+52 lines, -0 lines) Patch
M include/utils/SkMatrix44.h View 1 2 2 chunks +10 lines, -0 lines 0 comments Download
M src/utils/SkMatrix44.cpp View 1 1 chunk +11 lines, -0 lines 0 comments Download
M tests/Matrix44Test.cpp View 1 2 chunks +31 lines, -0 lines 0 comments Download

Messages

Total messages: 5
vollick
11 years, 10 months ago (2012-11-14 15:48:44 UTC) #1
reed1
https://codereview.appspot.com/6845048/diff/2001/include/utils/SkMatrix44.h File include/utils/SkMatrix44.h (right): https://codereview.appspot.com/6845048/diff/2001/include/utils/SkMatrix44.h#newcode176 include/utils/SkMatrix44.h:176: /** Sets this to its transpose. */ The skia ...
11 years, 10 months ago (2012-11-14 15:55:28 UTC) #2
vollick
On 2012/11/14 15:55:28, reed1 wrote: > https://codereview.appspot.com/6845048/diff/2001/include/utils/SkMatrix44.h > File include/utils/SkMatrix44.h (right): > > https://codereview.appspot.com/6845048/diff/2001/include/utils/SkMatrix44.h#newcode176 > ...
11 years, 10 months ago (2012-11-14 19:20:30 UTC) #3
reed1
lgtm w/ nits about style (this->) https://codereview.appspot.com/6845048/diff/7001/include/utils/SkMatrix44.h File include/utils/SkMatrix44.h (right): https://codereview.appspot.com/6845048/diff/7001/include/utils/SkMatrix44.h#newcode122 include/utils/SkMatrix44.h:122: double getDouble(int row, ...
11 years, 10 months ago (2012-11-14 20:51:31 UTC) #4
vollick
11 years, 10 months ago (2012-11-14 21:33:45 UTC) #5
On 2012/11/14 20:51:31, reed1 wrote:
> lgtm w/ nits about style (this->)
> 
> https://codereview.appspot.com/6845048/diff/7001/include/utils/SkMatrix44.h
> File include/utils/SkMatrix44.h (right):
> 
>
https://codereview.appspot.com/6845048/diff/7001/include/utils/SkMatrix44.h#n...
> include/utils/SkMatrix44.h:122: double getDouble(int row, int col) const {
> When an object calls its own method, we typically preceed that with this->
> 
>     this->get(row, col)
Done.
> 
>
https://codereview.appspot.com/6845048/diff/7001/include/utils/SkMatrix44.h#n...
> include/utils/SkMatrix44.h:125: void setDouble(int row, int col, double value)
{
>   this->set(row, col, ...)

Done.
Sign in to reply to this message.

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