Side by Side Diff
Use n/p to move between diff chunks; N/P to move between comments.
Draft comments are only viewable by you.
Keyboard Shortcuts
File
u
:
up to issue
j
/
k
:
jump to file after / before current file
J
/
K
:
jump to next file with a comment after / before current file
Side-by-side diff
i
:
toggle intra-line diffs
e
:
expand all comments
c
:
collapse all comments
s
:
toggle showing all comments
n
/
p
:
next / previous diff chunk or comment
N
/
P
:
next / previous comment
<Up>
/
<Down>
:
next / previous line
Issue
u
:
up to list of issues
j
/
k
:
jump to patch after / before current patch
o
/
<Enter>
:
open current patch in side-by-side view
i
:
open current patch in unified diff view
Issue List
j
/
k
:
jump to issue after / before current issue
o
/
<Enter>
:
open current issue
Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr)
|
Please choose your nickname with
Settings
|
Help
|
Chromium Project
|
Gerrit Changes
|
Sign out
(580)
Issues
Search
My Issues
|
Starred
Open
|
Closed
|
All
Side by Side Diff: src/pathops/SkPathOpsPoint.cpp
Issue
12827020
:
Add base types for path ops (Closed)
Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set:
Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Draft comments are only viewable by you.
Context:
3 lines
10 lines
25 lines
50 lines
75 lines
100 lines
Whole file
Column Width:
Tab Spaces:
Jump to:
include/pathops/SkPathOps.h
src/pathops/SkPathOpsBounds.h
src/pathops/SkPathOpsBounds.cpp
src/pathops/SkPathOpsCubic.h
src/pathops/SkPathOpsCubic.cpp
src/pathops/SkPathOpsCurve.h
src/pathops/SkPathOpsDebug.h
src/pathops/SkPathOpsDebug.cpp
src/pathops/SkPathOpsLine.h
src/pathops/SkPathOpsLine.cpp
src/pathops/SkPathOpsPoint.h
src/pathops/SkPathOpsPoint.cpp
src/pathops/SkPathOpsQuad.h
src/pathops/SkPathOpsQuad.cpp
src/pathops/SkPathOpsRect.h
src/pathops/SkPathOpsRect.cpp
src/pathops/SkPathOpsTriangle.h
src/pathops/SkPathOpsTriangle.cpp
src/pathops/SkPathOpsTypes.h
src/pathops/SkPathOpsTypes.cpp
tests/PathOpsBoundsTest.cpp
tests/PathOpsDCubicTest.cpp
tests/PathOpsDLineTest.cpp
tests/PathOpsDPointTest.cpp
tests/PathOpsDQuadTest.cpp
tests/PathOpsDRectTest.cpp
tests/PathOpsDTriangleTest.cpp
tests/PathOpsDVectorTest.cpp
View unified diff
|
Download patch
|
Annotate
|
Revision Log
« no previous file with comments
|
« src/pathops/SkPathOpsPoint.h
('k') |
src/pathops/SkPathOpsQuad.h »
('j') |
no next file with comments »
Toggle Intra-line Diffs
('i') |
Expand Comments
('e') |
Collapse Comments
('c') |
Show Comments
Hide Comments
('s')
OLD
NEW
(Empty)
1
/*
2
* Copyright 2012 Google Inc.
3
*
4
* Use of this source code is governed by a BSD-style license that can be
5
* found in the LICENSE file.
6
*/
7
#include "SkPathOpsPoint.h"
8
9
SkDVector operator-(const SkDPoint& a, const SkDPoint& b) {
10
SkDVector v = {a.fX - b.fX, a.fY - b.fY};
11
return v;
12
}
13
14
SkDPoint operator+(const SkDPoint& a, const SkDVector& b) {
15
SkDPoint v = {a.fX + b.fX, a.fY + b.fY};
16
return v;
17
}
OLD
NEW
« no previous file with comments
|
« src/pathops/SkPathOpsPoint.h
('k') |
src/pathops/SkPathOpsQuad.h »
('j') |
no next file with comments »
Issue 12827020: Add base types for path ops (Closed)
Created 7 years, 9 months ago by caryclark
Modified 7 years, 8 months ago
Reviewers: reed1, whunt, danakj
Base URL: http://skia.googlecode.com/svn/trunk/
Comments: 78
This is Rietveld
408576698