Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(32)

Side by Side Diff: Source/platform/graphics/PathTraversalState.h

Issue 1148293012: Removing Unused Method PathTraversalState::quadraticBezierTo() (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | Source/platform/graphics/PathTraversalState.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006, 2007 Eric Seidel <eric@webkit.org> 2 * Copyright (C) 2006, 2007 Eric Seidel <eric@webkit.org>
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 27 matching lines...) Expand all
38 TraversalPointAtLength, 38 TraversalPointAtLength,
39 TraversalSegmentAtLength, 39 TraversalSegmentAtLength,
40 TraversalNormalAngleAtLength 40 TraversalNormalAngleAtLength
41 }; 41 };
42 42
43 PathTraversalState(PathTraversalAction); 43 PathTraversalState(PathTraversalAction);
44 44
45 float closeSubpath(); 45 float closeSubpath();
46 float moveTo(const FloatPoint&); 46 float moveTo(const FloatPoint&);
47 float lineTo(const FloatPoint&); 47 float lineTo(const FloatPoint&);
48 float quadraticBezierTo(const FloatPoint& newControl, const FloatPoint& newE nd);
49 float cubicBezierTo(const FloatPoint& newControl1, const FloatPoint& newCont rol2, const FloatPoint& newEnd); 48 float cubicBezierTo(const FloatPoint& newControl1, const FloatPoint& newCont rol2, const FloatPoint& newEnd);
50 49
51 void processSegment(); 50 void processSegment();
52 51
53 public: 52 public:
54 PathTraversalAction m_action; 53 PathTraversalAction m_action;
55 bool m_success; 54 bool m_success;
56 55
57 FloatPoint m_current; 56 FloatPoint m_current;
58 FloatPoint m_start; 57 FloatPoint m_start;
59 58
60 float m_totalLength; 59 float m_totalLength;
61 float m_desiredLength; 60 float m_desiredLength;
62 61
63 // For normal calculations 62 // For normal calculations
64 FloatPoint m_previous; 63 FloatPoint m_previous;
65 float m_normalAngle; // degrees 64 float m_normalAngle; // degrees
66 }; 65 };
67 66
68 } // namespace blink 67 } // namespace blink
69 68
70 #endif 69 #endif
OLDNEW
« no previous file with comments | « no previous file | Source/platform/graphics/PathTraversalState.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698