public interface GlimpseContext
GLContext and
provides additional contextual information necessary to display a
GlimpsePainter.| Modifier and Type | Method and Description |
|---|---|
int |
getDPI() |
javax.media.opengl.GL |
getGL() |
javax.media.opengl.GLContext |
getGLContext() |
int[] |
getSurfaceScale()
Returns the scale factors needed to convert the _native_ pixel coordinates to
the _window_ pixel coordinates.
|
GlimpseTargetStack |
getTargetStack()
The
GlimpseTargetStack stack contains the chain of nested
GlimpseTargets starting at the top level GlimpseTarget
(index 0) and ending at the GlimpseTarget currently being painted to. |
javax.media.opengl.GLContext getGLContext()
javax.media.opengl.GL getGL()
getGLContext( ).getGL( )GlimpseTargetStack getTargetStack()
GlimpseTargetStack stack contains the chain of nested
GlimpseTargets starting at the top level GlimpseTarget
(index 0) and ending at the GlimpseTarget currently being painted to.
The top level GlimpseTarget is always an instance of GlimpseCanvas. The
other levels are instances of GlimpseLayout.
int getDPI()
int[] getSurfaceScale()
Copyright © 2020 Metron, Inc.. All rights reserved.