Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bounding rects #7

Merged
merged 2 commits into from
Jul 5, 2019
Merged

Bounding rects #7

merged 2 commits into from
Jul 5, 2019

Conversation

artemnovichkov
Copy link
Contributor

I added Text function for bounding rect calculation. There are default parameters, so for common case you should pass only constrained size. Please check related tests for more examples.
Related to #3

@codecov-io
Copy link

codecov-io commented Jul 1, 2019

Codecov Report

Merging #7 into master will increase coverage by 0.11%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master       #7      +/-   ##
==========================================
+ Coverage   98.74%   98.85%   +0.11%     
==========================================
  Files          16       17       +1     
  Lines         636      697      +61     
==========================================
+ Hits          628      689      +61     
  Misses          8        8
Impacted Files Coverage Δ
Texstyle/TexstyleTests/BoundingRectOptions.swift 100% <100%> (ø)
Texstyle/Texstyle/Text.swift 100% <100%> (ø) ⬆️
Texstyle/TexstyleTests/TextTests.swift 97.28% <100%> (+0.58%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 5e13dd9...741635c. Read the comment docs.

Texstyle/Texstyle/Text.swift Outdated Show resolved Hide resolved
Co-Authored-By: Rosberry <serge.gorbachev@rosberry.com>
@artemnovichkov artemnovichkov merged commit 741635c into master Jul 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants