Class JAWTDrawingSurfaceInfo

  • All Implemented Interfaces:

    public class JAWTDrawingSurfaceInfo
    extends Struct

    Member documentation

    • platformInfo – Pointer to the platform-specific information. This can be safely cast to a JAWT_Win32DrawingSurfaceInfo on Windows or a JAWT_X11DrawingSurfaceInfo on Solaris. On Mac OS X this is a pointer to a NSObject that conforms to the JAWT_SurfaceLayers protocol.
    • ds – Cached pointer to the underlying drawing surface.
    • bounds – Bounding rectangle of the drawing surface.
    • clipSize – Number of rectangles in the clip.
    • clip – Clip rectangle array.


     struct JAWT_DrawingSurfaceInfo {
         void * platformInfo;
         JAWT_DrawingSurface * ds;
         JAWT_Rectangle bounds;
         jint clipSize;
         JAWT_Rectangle * clip;
    • Field Detail

      • SIZEOF

        The struct size in bytes.
      • ALIGNOF

        The struct alignment in bytes.

        The struct member offsets.
    • Constructor Detail

      • JAWTDrawingSurfaceInfo

        public JAWTDrawingSurfaceInfo​(java.nio.ByteBuffer container)
        Creates a JAWTDrawingSurfaceInfo instance at the current position of the specified ByteBuffer container. Changes to the buffer's content will be visible to the struct instance and vice versa.

        The created instance holds a strong reference to the container object.