Class CoreGraphicsFunctions
java.lang.Object
oshi.ffm.ForeignFunctions
oshi.ffm.mac.MacForeignFunctions
oshi.ffm.mac.CoreGraphicsFunctions
FFM bindings for the CoreGraphics framework.
CoreGraphics provides low-level 2D rendering and, on macOS, services for working with display hardware and the windowing system.
-
Field Summary
Fields inherited from class MacForeignFunctions
FRAMEWORK_SEARCH_PATHSFields inherited from class ForeignFunctions
CAPTURE_CALL_STATE, CAPTURED_STATE_LAYOUT, ERRNO_HANDLE, LIBRARY_ARENA, LINKER, SYMBOL_LOOKUP -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanstatic MemorySegmentCGWindowListCopyWindowInfo(int option, int relativeToWindow) Methods inherited from class MacForeignFunctions
frameworkLookupMethods inherited from class ForeignFunctions
downcall, getByteArrayFromNativePointer, getErrno, getStringFromNativePointer, getStructFromNativePointer, lib, libraryLookup
-
Method Details
-
CGWindowListCopyWindowInfo
public static MemorySegment CGWindowListCopyWindowInfo(int option, int relativeToWindow) throws Throwable - Throws:
Throwable
-
CGRectMakeWithDictionaryRepresentation
public static boolean CGRectMakeWithDictionaryRepresentation(MemorySegment dict, MemorySegment rect) throws Throwable - Throws:
Throwable
-