JOGL v2.6.0-rc-20250706
JOGL, High-Performance Graphics Binding for Java™ (public API).
com.jogamp.nativewindow.UpstreamWindowHookMutableSizePos Class Reference
Inheritance diagram for com.jogamp.nativewindow.UpstreamWindowHookMutableSizePos:
Collaboration diagram for com.jogamp.nativewindow.UpstreamWindowHookMutableSizePos:

Public Member Functions

 UpstreamWindowHookMutableSizePos (final int winX, final int winY, final int winWidth, final int winHeight, final int pixWidth, final int pixHeight)
 
final void setWinPos (final int winX, final int winY)
 
final void setWinSize (final int winWidth, final int winHeight)
 
final int getX ()
 
final int getY ()
 
final int getWidth ()
 
final int getHeight ()
 
String toString ()
 
- Public Member Functions inherited from com.jogamp.nativewindow.UpstreamSurfaceHookMutableSize
 UpstreamSurfaceHookMutableSize (final int width, final int height)
 
final void setSurfaceSize (final int width, final int height)
 Resizes the upstream surface. More...
 
final int getSurfaceWidth (final ProxySurface s)
 Returns the width of the upstream surface in pixels, used if ProxySurface#UPSTREAM_PROVIDES_SIZE is set. More...
 
final int getSurfaceHeight (final ProxySurface s)
 Returns the height of the upstream surface in pixels, used if ProxySurface#UPSTREAM_PROVIDES_SIZE is set. More...
 
void create (final ProxySurface s)
 called within ProxySurface#createNotify() within lock, before using surface. More...
 
void destroy (final ProxySurface s)
 called within ProxySurface#destroyNotify() within lock, before clearing fields. More...
 
String toString ()
 
final NativeSurface getUpstreamSurface ()
 Returns the optional upstream NativeSurface if used by implementation, otherwise null.One example is the JOGL EGLWrappedSurface, which might be backed up by a native platform NativeSurface (X11, WGL, CGL, ..). More...
 
void setSurfaceSize (int width, int height)
 Resizes the upstream surface. More...
 
void create (ProxySurface s)
 called within ProxySurface#createNotify() within lock, before using surface. More...
 
void destroy (ProxySurface s)
 called within ProxySurface#destroyNotify() within lock, before clearing fields. More...
 
NativeSurface getUpstreamSurface ()
 Returns the optional upstream NativeSurface if used by implementation, otherwise null. More...
 
int getSurfaceWidth (ProxySurface s)
 Returns the width of the upstream surface in pixels, used if ProxySurface#UPSTREAM_PROVIDES_SIZE is set. More...
 
int getSurfaceHeight (ProxySurface s)
 Returns the height of the upstream surface in pixels, used if ProxySurface#UPSTREAM_PROVIDES_SIZE is set. More...
 

Detailed Description

Definition at line 3 of file UpstreamWindowHookMutableSizePos.java.

Constructor & Destructor Documentation

◆ UpstreamWindowHookMutableSizePos()

com.jogamp.nativewindow.UpstreamWindowHookMutableSizePos.UpstreamWindowHookMutableSizePos ( final int  winX,
final int  winY,
final int  winWidth,
final int  winHeight,
final int  pixWidth,
final int  pixHeight 
)
Parameters
winXinitial window x-pos
winYinitial window y-pos
winWidthinitial window width
winHeightinitial window height
pixWidthinitial surface pixel width, FIXME: pixel-dim == window-dim 'for now' ?
pixHeightinitial surface pixel height, FIXME: pixel-dim == window-dim 'for now' ?

Definition at line 14 of file UpstreamWindowHookMutableSizePos.java.

Member Function Documentation

◆ getHeight()

final int com.jogamp.nativewindow.UpstreamWindowHookMutableSizePos.getHeight ( )

Definition at line 46 of file UpstreamWindowHookMutableSizePos.java.

◆ getWidth()

final int com.jogamp.nativewindow.UpstreamWindowHookMutableSizePos.getWidth ( )

Definition at line 43 of file UpstreamWindowHookMutableSizePos.java.

◆ getX()

final int com.jogamp.nativewindow.UpstreamWindowHookMutableSizePos.getX ( )

Definition at line 36 of file UpstreamWindowHookMutableSizePos.java.

◆ getY()

final int com.jogamp.nativewindow.UpstreamWindowHookMutableSizePos.getY ( )

Definition at line 40 of file UpstreamWindowHookMutableSizePos.java.

◆ setWinPos()

final void com.jogamp.nativewindow.UpstreamWindowHookMutableSizePos.setWinPos ( final int  winX,
final int  winY 
)

Definition at line 23 of file UpstreamWindowHookMutableSizePos.java.

Here is the caller graph for this function:

◆ setWinSize()

final void com.jogamp.nativewindow.UpstreamWindowHookMutableSizePos.setWinSize ( final int  winWidth,
final int  winHeight 
)

Definition at line 28 of file UpstreamWindowHookMutableSizePos.java.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ toString()

String com.jogamp.nativewindow.UpstreamWindowHookMutableSizePos.toString ( )

The documentation for this class was generated from the following file: