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

Bar code drawing #3

Open
emilwojtaszek opened this issue Apr 13, 2017 · 0 comments
Open

Bar code drawing #3

emilwojtaszek opened this issue Apr 13, 2017 · 0 comments

Comments

@emilwojtaszek
Copy link
Contributor

@Coledunsby could you explained by what for are this loops?
https://github.com/Coledunsby/CDCodabarView/blob/master/CDCodabarView.swift#L80
https://github.com/Coledunsby/CDCodabarView/blob/master/CDCodabarView.swift#L99

Wiki

The width ratio between narrow and wide can be chosen between 1:2.25 and 1:3. The minimum narrow width varies with the specification, with the smallest being 0.0065 inches (0.165 mm), allowing 11 digits per inch to be encoded

I this there should be some logic taking into account screen scale and calculate power bar width, what do you think?

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

No branches or pull requests

1 participant