(PApplet parent)
| 727 | |
| 728 | |
| 729 | public void setParent(PApplet parent) { // ignore |
| 730 | this.parent = parent; |
| 731 | |
| 732 | // Some renderers (OpenGL) need to know what smoothing level will be used |
| 733 | // before the rendering surface is even created. |
| 734 | smooth = parent.sketchSmooth(); |
| 735 | pixelDensity = parent.sketchPixelDensity(); |
| 736 | } |
| 737 | |
| 738 | |
| 739 | /** |
no test coverage detected