| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -46,13 +46,17 @@ public interface PConstants { | |||
| 46 | 46 | ||
| 47 | 47 | // renderers known to processing.core | |
| 48 | 48 | ||
| 49 | - static final String JAVA2D = "processing.core.PGraphicsJava2D"; | ||
| 49 | + static final String JAVA2D = "processing.core.PGraphicsJava2D"; | ||
| 50 | + static final String JAVA2D_2X = "processing.core.PGraphicsJava2D2X"; | ||
| 51 | + | ||
| 50 | 52 | static final String P2D = "processing.opengl.PGraphics2D"; | |
| 53 | + static final String P2D_2X = "processing.opengl.PGraphics2D2X"; | ||
| 51 | 54 | static final String P3D = "processing.opengl.PGraphics3D"; | |
| 55 | + static final String P3D_2X = "processing.opengl.PGraphics3D2X"; | ||
| 52 | 56 | static final String OPENGL = P3D; | |
| 53 | 57 | ||
| 54 | - static final String PDF = "processing.pdf.PGraphicsPDF"; | ||
| 55 | - static final String DXF = "processing.dxf.RawDXF"; | ||
| 58 | + static final String PDF = "processing.pdf.PGraphicsPDF"; | ||
| 59 | + static final String DXF = "processing.dxf.RawDXF"; | ||
| 56 | 60 | ||
| 57 | 61 | // platform IDs for PApplet.platform | |
| 58 | 62 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -3,7 +3,7 @@ | |||
| 3 | 3 | import java.awt.*; | |
| 4 | 4 | ||
| 5 | 5 | ||
| 6 | - public class PGraphicsRetina2D extends PGraphicsJava2D { | ||
| 6 | + public class PGraphicsJava2D2X extends PGraphicsJava2D { | ||
| 7 | 7 | // PImage retina; | |
| 8 | 8 | // int retinaWidth; | |
| 9 | 9 | // int retinaHeight; | |
@@ -14,7 +14,7 @@ public class PGraphicsRetina2D extends PGraphicsJava2D { | |||
| 14 | 14 | // INTERNAL | |
| 15 | 15 | ||
| 16 | 16 | ||
| 17 | - public PGraphicsRetina2D() { | ||
| 17 | + public PGraphicsJava2D2X() { | ||
| 18 | 18 | pixelFactor = 2; | |
| 19 | 19 | // retina = new PImage(); | |
| 20 | 20 | // retina.format = RGB; | |
| Back | FazBrowse Home | New Git URL |
0 commit comments