(PApplet parent)
| 713 | |
| 714 | |
| 715 | public void setParent(PApplet parent) { // ignore |
| 716 | this.parent = parent; |
| 717 | |
| 718 | // Some renderers (OpenGL) need to know what smoothing level will be used |
| 719 | // before the rendering surface is even created. |
| 720 | smooth = parent.sketchSmooth(); |
| 721 | pixelDensity = parent.sketchPixelDensity(); |
| 722 | } |
| 723 | |
| 724 | |
| 725 | /** |
no test coverage detected