Chromium Code Reviews
DescriptionBlink Platform UnitBezier: Implement Slope and Range methods.
We want to align blink::UnitBezier implementation with
gfx::CubicBezier.
Basically, blink::UnitBezier is a super set for gfx::CubicBezier.
In next CLs:
1) Merge blink::UnitBezier onto gfx::CubicBezier (including
unit tests and rewriting to chromium style).
gfx::CubicBezier is located at very low level and it is visible for all subsystems.
2) Make blink::UnitBezier a thin wrapper around gfx::CubicBezier with all the calls inlined.
Note, that we are allowed to include gfx/geometry in blink now (same as for cc/).
Note, we will deal with std::numeric_limits<double>::epsilon separately here:
http://crbug.com/458917
Disclaimer:
- Code is adapted from ui/gfx/geometry/cubic_bezier.cc
- Tests are adapted from ui/gfx/geometry/cubic_bezier_unittest.cc
BUG=577016
Committed: https://crrev.com/1c4eeac676562ac084da146ffad80e78d56c0b62
Cr-Commit-Position: refs/heads/master@{#382756}
Patch Set 1 #
Total comments: 7
Patch Set 2 : Address codereview issues. #
Messages
Total messages: 24 (13 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||