Skip to content

The size of CGDisplay #218

Open
Open
@daniel-abramov

Description

@daniel-abramov

I've just checked the values which CGDisplay::pixels_high() and CGDisplay::pixels_wide() return (I wrote a simple test that calls CGDisplay::main() and then prints some properties of it. It seems that the returned values are not in pixels, but in points. I know that CGDisplay wrapper uses the correct functions CGDisplayPixelsHigh() and CGDisplayPixelsWide(), but apparently they don't return the size in pixels. Should we rename the functions in CGDisplay, so that the documentation and function names better reflect the actual way they work?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions