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

Issue 6348058: Adds functionality to the matrix and clip widget. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 6 months ago by chudy
Modified:
12 years, 5 months ago
Reviewers:
DerekS
CC:
skia-review_googlegroups.com
Base URL:
http://skia.googlecode.com/svn/trunk/
Visibility:
Public.

Description

Adds functionality to the matrix and clip widget. Committed: https://code.google.com/p/skia/source/detail?r=4453

Patch Set 1 #

Total comments: 10

Patch Set 2 : #

Total comments: 18

Patch Set 3 : #

Total comments: 16

Patch Set 4 : #

Patch Set 5 : #

Total comments: 36

Patch Set 6 : #

Patch Set 7 : #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+277 lines, -128 lines) Patch
M debugger/QT/SkCanvasWidget.h View 1 2 3 4 5 6 4 chunks +38 lines, -3 lines 0 comments Download
M debugger/QT/SkCanvasWidget.cpp View 1 2 3 4 5 6 3 chunks +119 lines, -18 lines 4 comments Download
M debugger/QT/SkDebuggerGUI.cpp View 1 2 chunks +3 lines, -1 line 0 comments Download
M debugger/QT/SkInspectorWidget.h View 1 2 3 chunks +39 lines, -30 lines 0 comments Download
M debugger/QT/SkInspectorWidget.cpp View 1 2 3 4 2 chunks +78 lines, -76 lines 0 comments Download

Messages

Total messages: 12
chudy
12 years, 6 months ago (2012-06-29 20:17:30 UTC) #1
DerekS
https://codereview.appspot.com/6348058/diff/1/debugger/QT/SkCanvasWidget.h File debugger/QT/SkCanvasWidget.h (right): https://codereview.appspot.com/6348058/diff/1/debugger/QT/SkCanvasWidget.h#newcode61 debugger/QT/SkCanvasWidget.h:61: QString* getCurrentMatrix(); just return the SkMatrix* and do the ...
12 years, 6 months ago (2012-06-29 20:37:50 UTC) #2
chudy
http://codereview.appspot.com/6348058/diff/1/debugger/QT/SkCanvasWidget.h File debugger/QT/SkCanvasWidget.h (right): http://codereview.appspot.com/6348058/diff/1/debugger/QT/SkCanvasWidget.h#newcode61 debugger/QT/SkCanvasWidget.h:61: QString* getCurrentMatrix(); On 2012/06/29 20:37:50, DerekS wrote: > just ...
12 years, 6 months ago (2012-06-29 21:00:08 UTC) #3
DerekS
http://codereview.appspot.com/6348058/diff/5001/debugger/QT/SkCanvasWidget.h File debugger/QT/SkCanvasWidget.h (right): http://codereview.appspot.com/6348058/diff/5001/debugger/QT/SkCanvasWidget.h#newcode132 debugger/QT/SkCanvasWidget.h:132: QString fCurClip[4]; you can delete these now. http://codereview.appspot.com/6348058/diff/5001/debugger/QT/SkInspectorWidget.cpp File ...
12 years, 5 months ago (2012-07-02 13:34:47 UTC) #4
chudy
Next version, mostly translation and resizing stuff. https://codereview.appspot.com/6348058/diff/5001/debugger/QT/SkCanvasWidget.h File debugger/QT/SkCanvasWidget.h (right): https://codereview.appspot.com/6348058/diff/5001/debugger/QT/SkCanvasWidget.h#newcode132 debugger/QT/SkCanvasWidget.h:132: QString fCurClip[4]; ...
12 years, 5 months ago (2012-07-02 17:59:17 UTC) #5
DerekS
https://codereview.appspot.com/6348058/diff/3009/debugger/QT/SkCanvasWidget.cpp File debugger/QT/SkCanvasWidget.cpp (right): https://codereview.appspot.com/6348058/diff/3009/debugger/QT/SkCanvasWidget.cpp#newcode21 debugger/QT/SkCanvasWidget.cpp:21: fBitmap = new SkBitmap(); remove the pointer from fBitmap. ...
12 years, 5 months ago (2012-07-02 18:27:26 UTC) #6
chudy
Fixed comments + crashing, added ToDos and zooming in / out. https://codereview.appspot.com/6348058/diff/3009/debugger/QT/SkCanvasWidget.cpp File debugger/QT/SkCanvasWidget.cpp (right): ...
12 years, 5 months ago (2012-07-02 21:19:35 UTC) #7
DerekS
https://codereview.appspot.com/6348058/diff/9007/debugger/QT/SkCanvasWidget.cpp File debugger/QT/SkCanvasWidget.cpp (right): https://codereview.appspot.com/6348058/diff/9007/debugger/QT/SkCanvasWidget.cpp#newcode17 debugger/QT/SkCanvasWidget.cpp:17: * when the widget is resized which makes ugly ...
12 years, 5 months ago (2012-07-03 13:12:26 UTC) #8
chudy
Updated https://codereview.appspot.com/6348058/diff/9007/debugger/QT/SkCanvasWidget.cpp File debugger/QT/SkCanvasWidget.cpp (right): https://codereview.appspot.com/6348058/diff/9007/debugger/QT/SkCanvasWidget.cpp#newcode17 debugger/QT/SkCanvasWidget.cpp:17: * when the widget is resized which makes ...
12 years, 5 months ago (2012-07-03 14:07:42 UTC) #9
chudy
Updated with Skia canvas transform instead of Qt Transform
12 years, 5 months ago (2012-07-03 15:07:53 UTC) #10
DerekS
lgtm with those 2 changes. https://codereview.appspot.com/6348058/diff/1010/debugger/QT/SkCanvasWidget.cpp File debugger/QT/SkCanvasWidget.cpp (right): https://codereview.appspot.com/6348058/diff/1010/debugger/QT/SkCanvasWidget.cpp#newcode19 debugger/QT/SkCanvasWidget.cpp:19: * Is there anyway ...
12 years, 5 months ago (2012-07-03 15:54:36 UTC) #11
chudy
12 years, 5 months ago (2012-07-03 16:07:27 UTC) #12
Pushed as 4453

https://codereview.appspot.com/6348058/diff/1010/debugger/QT/SkCanvasWidget.cpp
File debugger/QT/SkCanvasWidget.cpp (right):

https://codereview.appspot.com/6348058/diff/1010/debugger/QT/SkCanvasWidget.c...
debugger/QT/SkCanvasWidget.cpp:19: * Is there anyway
On 2012/07/03 15:54:36, DerekS wrote:
> remove this.

Done.

https://codereview.appspot.com/6348058/diff/1010/debugger/QT/SkCanvasWidget.c...
debugger/QT/SkCanvasWidget.cpp:125: fP0 = eventPoint;
On 2012/07/03 15:54:36, DerekS wrote:
> why reset the initial point on each move? It seems to make more sense to keep
> the initial point and do
> 
> fTransform = eventPoint - fP0;
> 
> if that works then you don't even need to keep the delta as a member variable.

Removed.
Sign in to reply to this message.

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