Class JAWTDrawingSurface

  • All Implemented Interfaces:
    java.lang.AutoCloseable, NativeResource, Pointer


    public class JAWTDrawingSurface
    extends Struct
    Structure for containing the underlying drawing information of a component.

    All operations on a JAWT_DrawingSurface MUST be performed from the same thread as the call to GetDrawingSurface.

    Member documentation

    • env – Cached reference to the Java environment of the calling thread.

      If Lock(), Unlock(), GetDrawingSurfaceInfo() or FreeDrawingSurfaceInfo() are called from a different thread, this data member should be set before calling those functions.

    • target – Cached reference to the target object.

    Layout

    struct JAWT_DrawingSurface {
        JNIEnv * env;
        jobject target;
        void * Lock;
        void * GetDrawingSurfaceInfo;
        void * FreeDrawingSurfaceInfo;
        void * Unlock;
    }