This repository was archived by the owner on May 28, 2025. It is now read-only.
Repository navigation
Implement CTLine and CTRunGetImageBounds - #1991
Merged
Merged
Conversation
Allen Ballway (aballway)
requested review from
ms-jihua and
Raj Seshasankaran (rajsesh)
February 16, 2017 23:24
| #pragma region CGPoint | ||
| inline bool operator==(const CGPoint& lhs, const CGPoint& rhs) { | ||
| return ((std::abs(lhs.x - rhs.x) < 0.00001) && (std::abs(lhs.y - rhs.y) < 0.00001)); | ||
| return lhs.x == rhs.x && lhs.y == rhs.y; |
There was a problem hiding this comment.
This will almost certainly make tests fail on ARM. We had these set up for a reason. What's up?
There was a problem hiding this comment.
Oh, I see. Interesting.
Contributor
Author
There was a problem hiding this comment.
Tests passed on ARM
Raj Seshasankaran (rajsesh)
approved these changes
Feb 17, 2017
Allen Ballway (aballway)
force-pushed
the
ct
branch
from
February 17, 2017 18:21
ce6e668 to
e70c28c
Compare
Contributor
Author
|
Leading, which is some added space above a line typesetters use for multiline text, is not part of the image bounds. |
Henry Fox (MSFTFox)
approved these changes
Feb 17, 2017
Jeyaraj (msft-Jeyaram)
approved these changes
Feb 18, 2017
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #1981