Skip to content

Bar code drawing #3

@emilwojtaszek

Description

@emilwojtaszek

@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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions