GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — method changes for hidpi/retina renderer changes in 3.0 · Issue #170 · processing/processing-docs

method changes for hidpi/retina renderer changes in 3.0 #170

New issue
Copy link
New issue
Copy link
Closed
Closed
method changes for hidpi/retina renderer changes in 3.0#170
Copy link
Assignees
REAS
Labels
high priority
Milestone
3.0

Description

@benfry
benfry
opened on Nov 16, 2014
Issue body actions

When using a retina/hidpi version of a PGraphics (or PImage, for that matter), all pixel operations happen in 2x space. This has an effect on:

  • updatePixels(...)
  • get(...)
  • set(...)
  • copy(...)
  • blend(...)

The pixelFactor variable is 2 for retina, 1 normally. The pixelWidth and pixelHeight fields cover the actual size of the pixels[] array.

Activity

  1. scotthmurray
    added this to the 3.0 milestone on Nov 22, 2014
  2. REAS
    self-assigned this
    on Sep 17, 2015
  3. REAS
    added
    high priority
    on Jul 25, 2019
  4. REAS commented on Jul 26, 2019

    @REAS
    REAS
    on Jul 26, 2019
    Member
    More actions

    OK, I tried to clarify this, mostly with added description in pixelDensity(), but with new examples in pixelWidth and pixelHeight. Some additions to pixels[] as well. Let's see how this goes.

  5. REAS
    closed this as completedon Jul 26, 2019
  6. Sgsethu commented on Sep 21, 2025

    @Sgsethu
    Sgsethu
    on Sep 21, 2025
    More actions

    When using a retina/hidpi version of a PGraphics (or PImage, for that matter), all pixel operations happen in 2x space. This has an effect on:

    • updatePixels(...)
    • get(...)
    • set(...)
    • copy(...)
    • blend(...)

    The pixelFactor variable is 2 for retina, 1 normally. The pixelWidth and pixelHeight fields cover the actual size of the pixels[] array.

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

Metadata

Metadata

Assignees

  • @REAS
    REAS

Labels

high priority

Type

No type

Projects

No projects

    Milestone

    • 3.0

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402503 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.