Skip to content
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
This repository was archived by the owner on Aug 8, 2023. It is now read-only.

Standardize pixelRatio #397

Closed
Closed

Description

@kkaefer

We currently use different number types for pixelRatio; in some places it's float, in some places it's uint8_t. I think we should drop support for float pixel ratios and just go with integers all over the place.

Activity

  1. incanus commented on Jul 31, 2014

    @incanus
    Contributor

    I think we should stick to floats as this is what Apple does on iOS and OS X. In practice, values are always 1.0 or 2.0, but they're floats for a reason. iOS 8 is moving to size classes for devices in preparation for more flexibility in display density. I think moving to integers might bite us later with a with a refactor.

  2. mourner commented on Jul 31, 2014

    @mourner
    Member
  3. kkaefer commented on Jul 31, 2014

    @kkaefer
    MemberAuthor

    oh gawd no

  4. jfirebaugh commented on Aug 22, 2014

    @jfirebaugh
    Contributor

    Fixed in #438.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions