org.rococoa.cocoa.coregraphics
Interface CoreGraphicsLibrary
- All Superinterfaces:
- Library
public interface CoreGraphicsLibrary
- extends Library
JNA Wrapper for library CoreGraphics
This file was autogenerated by JNAerator,
a tool written by Olivier Chafik that uses a few opensource projects..
For help, please visit NativeLibs4Java, Rococoa, or JNA.
Field Summary |
static int |
__CGDIRECT_DISPLAY_H__
|
static int |
__CGDIRECT_PALETTE_H__
|
static int |
__CGDISPLAY_CONFIGURATION_H__
|
static int |
__CGDISPLAY_FADE_H__
|
static int |
__CGERROR_H__
|
static int |
__CGEVENT_H__
|
static int |
__CGEVENTSOURCE_H__
|
static int |
__CGEVENTTYPES_H__
|
static int |
__CGREMOTE_OPERATION_H__
|
static int |
__CGSESSION_H__
|
static int |
__CGWINDOWLEVEL_H__
|
static int |
CGDisplayNoErr
|
static int |
CGEventNoErr
|
static int |
CGFLOAT_DEFINED
|
static int |
CGFLOAT_IS_DOUBLE
|
static int |
CGGlyphMax
|
static int |
CGGlyphMin
|
static CoreGraphicsLibrary |
INSTANCE
|
static int |
kCGBackingStoreBuffered
|
static int |
kCGBackingStoreNonretained
|
static int |
kCGBackingStoreRetained
|
static int |
kCGBitmapByteOrder16Host
|
static int |
kCGBitmapByteOrder32Host
|
static int |
kCGCaptureNoFill
Options used with CGDisplayCaptureWithOptions and CGCaptureAllDisplaysWithOptions
Disables fill with black on display capture |
static int |
kCGCaptureNoOptions
Options used with CGDisplayCaptureWithOptions and CGCaptureAllDisplaysWithOptions
Default behavior |
static String |
kCGColorSpaceUserCMYK
|
static String |
kCGColorSpaceUserGray
|
static String |
kCGColorSpaceUserRGB
|
static int |
kCGConfigureForAppOnly
Perform the requested reconfigurations and discard the configRef
* A configuration change can apply for the life of an app, the life of a login session, or
permanently. |
static int |
kCGConfigureForSession
Perform the requested reconfigurations and discard the configRef
* A configuration change can apply for the life of an app, the life of a login session, or
permanently. |
static int |
kCGConfigurePermanently
Perform the requested reconfigurations and discard the configRef
* A configuration change can apply for the life of an app, the life of a login session, or
permanently. |
static int |
kCGDisplayAddFlag
|
static int |
kCGDisplayBeginConfigurationFlag
|
static String |
kCGDisplayBitsPerPixel
|
static String |
kCGDisplayBitsPerSample
|
static double |
kCGDisplayBlendNormal
|
static double |
kCGDisplayBlendSolidColor
|
static String |
kCGDisplayBytesPerRow
|
static int |
kCGDisplayDesktopShapeChangedFlag
|
static int |
kCGDisplayDisabledFlag
|
static int |
kCGDisplayEnabledFlag
|
static int |
kCGDisplayFadeReservationInvalidToken
|
static String |
kCGDisplayHeight
|
static String |
kCGDisplayIOFlags
|
static int |
kCGDisplayMirrorFlag
|
static String |
kCGDisplayMode
|
static String |
kCGDisplayModeIsInterlaced
|
static String |
kCGDisplayModeIsSafeForHardware
|
static String |
kCGDisplayModeIsStretched
|
static String |
kCGDisplayModeUsableForDesktopGUI
|
static int |
kCGDisplayMovedFlag
|
static String |
kCGDisplayRefreshRate
|
static int |
kCGDisplayRemoveFlag
|
static String |
kCGDisplaySamplesPerPixel
|
static int |
kCGDisplaySetMainFlag
|
static int |
kCGDisplaySetModeFlag
|
static int |
kCGDisplayUnMirrorFlag
|
static String |
kCGDisplayWidth
|
static int |
kCGEventFilterMaskPermitAllEvents
|
static int |
kCGEventSupressionStateRemoteMouseDrag
|
static int |
kCGEventSupressionStateSupressionInterval
|
static int |
kCGFontIndexInvalid
|
static int |
kCGFontIndexMax
|
static int |
kCGGlyphMax
|
static String |
kCGIODisplayModeID
|
static double |
kCGMaxDisplayReservationInterval
|
static double |
kCGMouseDownEventMaskingDeadSwitchTimeout
|
static String |
kCGNotifyEventTapAdded
|
static String |
kCGNotifyEventTapRemoved
|
static String |
kCGNotifyGUIConsoleSessionChanged
|
static String |
kCGNotifyGUISessionUserChanged
|
static int |
kCGNumberOfEventSupressionStates
|
static int |
kCGNumReservedWindowLevels
|
static String |
kCGPDFContextAuthor
|
static String |
kCGPDFContextCreator
|
static String |
kCGPDFContextOutputIntent
|
static String |
kCGPDFContextOutputIntents
|
static String |
kCGPDFContextTitle
|
static String |
kCGSessionConsoleSetKey
|
static String |
kCGSessionLoginDoneKey
|
static String |
kCGSessionOnConsoleKey
|
static String |
kCGSessionUserIDKey
|
static String |
kCGSessionUserNameKey
|
static int |
kCGWindowBackingCFNumberType
|
static int |
kCGWindowIDCFNumberType
|
static int |
kCGWindowImageBoundsIgnoreFraming
CGWindowListCreateImage
* Create a CGImage containing a composite of the specified set of windows
Returns a CGImageRef, or NULL if called from outside of a GUI security
session, if no window server is running, or no windows can be read. |
static int |
kCGWindowImageDefault
CGWindowListCreateImage
* Create a CGImage containing a composite of the specified set of windows
Returns a CGImageRef, or NULL if called from outside of a GUI security
session, if no window server is running, or no windows can be read. |
static int |
kCGWindowImageOnlyShadows
CGWindowListCreateImage
* Create a CGImage containing a composite of the specified set of windows
Returns a CGImageRef, or NULL if called from outside of a GUI security
session, if no window server is running, or no windows can be read. |
static int |
kCGWindowImageShouldBeOpaque
CGWindowListCreateImage
* Create a CGImage containing a composite of the specified set of windows
Returns a CGImageRef, or NULL if called from outside of a GUI security
session, if no window server is running, or no windows can be read. |
static int |
kCGWindowListExcludeDesktopElements
Values for CGWindowListOption. |
static int |
kCGWindowListOptionAll
Values for CGWindowListOption. |
static int |
kCGWindowListOptionIncludingWindow
Values for CGWindowListOption. |
static int |
kCGWindowListOptionOnScreenAboveWindow
Values for CGWindowListOption. |
static int |
kCGWindowListOptionOnScreenBelowWindow
Values for CGWindowListOption. |
static int |
kCGWindowListOptionOnScreenOnly
Values for CGWindowListOption. |
static int |
kCGWindowSharingCFNumberType
|
static int |
kCGWindowSharingNone
|
static int |
kCGWindowSharingReadOnly
|
static int |
kCGWindowSharingReadWrite
|
Method Summary |
int |
CGAcquireDisplayFadeReservation(float seconds,
IntBuffer pNewToken)
|
int |
CGAcquireDisplayFadeReservation(float seconds,
IntByReference pNewToken)
Deprecated. use the safer method CGAcquireDisplayFadeReservation(float, java.nio.IntBuffer) instead |
CGAffineTransform.ByValue |
CGAffineTransformConcat(CGAffineTransform.ByValue t1,
CGAffineTransform.ByValue t2)
|
boolean |
CGAffineTransformEqualToTransform(CGAffineTransform.ByValue t1,
CGAffineTransform.ByValue t2)
|
CGAffineTransform.ByValue |
CGAffineTransformInvert(CGAffineTransform.ByValue t)
|
boolean |
CGAffineTransformIsIdentity(CGAffineTransform.ByValue t)
|
CGAffineTransform.ByValue |
CGAffineTransformMake(float a,
float b,
float c,
float d,
float tx,
float ty)
|
CGAffineTransform.ByValue |
CGAffineTransformMakeRotation(float angle)
|
CGAffineTransform.ByValue |
CGAffineTransformMakeScale(float sx,
float sy)
|
CGAffineTransform.ByValue |
CGAffineTransformMakeTranslation(float tx,
float ty)
|
CGAffineTransform.ByValue |
CGAffineTransformRotate(CGAffineTransform.ByValue t,
float angle)
|
CGAffineTransform.ByValue |
CGAffineTransformScale(CGAffineTransform.ByValue t,
float sx,
float sy)
|
CGAffineTransform.ByValue |
CGAffineTransformTranslate(CGAffineTransform.ByValue t,
float tx,
float ty)
|
int |
CGAssociateMouseAndMouseCursorPosition(boolean connected)
|
int |
CGBeginDisplayConfiguration(PointerByReference pConfigRef)
|
CoreGraphicsLibrary.CGContext |
CGBitmapContextCreate(Pointer data,
NativeLong width,
NativeLong height,
NativeLong bitsPerComponent,
NativeLong bytesPerRow,
CoreGraphicsLibrary.CGColorSpace colorspace,
int bitmapInfo)
Original signature : CGContextRef CGBitmapContextCreate(void*, size_t, size_t, size_t, size_t, CGColorSpaceRef, CGBitmapInfo)
|
ImageIOLibrary.CGImage |
CGBitmapContextCreateImage(CoreGraphicsLibrary.CGContext c)
|
int |
CGBitmapContextGetAlphaInfo(CoreGraphicsLibrary.CGContext c)
|
int |
CGBitmapContextGetBitmapInfo(CoreGraphicsLibrary.CGContext c)
|
NativeLong |
CGBitmapContextGetBitsPerComponent(CoreGraphicsLibrary.CGContext c)
|
NativeLong |
CGBitmapContextGetBitsPerPixel(CoreGraphicsLibrary.CGContext c)
|
NativeLong |
CGBitmapContextGetBytesPerRow(CoreGraphicsLibrary.CGContext c)
|
CoreGraphicsLibrary.CGColorSpace |
CGBitmapContextGetColorSpace(CoreGraphicsLibrary.CGContext c)
|
Pointer |
CGBitmapContextGetData(CoreGraphicsLibrary.CGContext c)
|
NativeLong |
CGBitmapContextGetHeight(CoreGraphicsLibrary.CGContext c)
|
NativeLong |
CGBitmapContextGetWidth(CoreGraphicsLibrary.CGContext c)
|
int |
CGCancelDisplayConfiguration(CoreGraphicsLibrary._CGDisplayConfigRef configRef)
|
CoreGraphicsLibrary.CGColor |
CGColorCreate(CoreGraphicsLibrary.CGColorSpace space,
float[] components)
|
CoreGraphicsLibrary.CGColor |
CGColorCreate(CoreGraphicsLibrary.CGColorSpace space,
FloatBuffer components)
|
CoreGraphicsLibrary.CGColor |
CGColorCreate(CoreGraphicsLibrary.CGColorSpace space,
FloatByReference components)
Deprecated. use the safer methods CGColorCreate(org.rococoa.cocoa.coregraphics.CoreGraphicsLibrary.CGColorSpace, float[]) and CGColorCreate(org.rococoa.cocoa.coregraphics.CoreGraphicsLibrary.CGColorSpace, java.nio.FloatBuffer) instead |
CoreGraphicsLibrary.CGColor |
CGColorCreateCopy(CoreGraphicsLibrary.CGColor color)
|
CoreGraphicsLibrary.CGColor |
CGColorCreateCopyWithAlpha(CoreGraphicsLibrary.CGColor color,
float alpha)
|
CoreGraphicsLibrary.CGColor |
CGColorCreateGenericCMYK(float cyan,
float magenta,
float yellow,
float black,
float alpha)
|
CoreGraphicsLibrary.CGColor |
CGColorCreateGenericGray(float gray,
float alpha)
|
CoreGraphicsLibrary.CGColor |
CGColorCreateGenericRGB(float red,
float green,
float blue,
float alpha)
|
CoreGraphicsLibrary.CGColor |
CGColorCreateWithPattern(CoreGraphicsLibrary.CGColorSpace space,
CoreGraphicsLibrary.CGPattern pattern,
float[] components)
|
CoreGraphicsLibrary.CGColor |
CGColorCreateWithPattern(CoreGraphicsLibrary.CGColorSpace space,
CoreGraphicsLibrary.CGPattern pattern,
FloatBuffer components)
|
CoreGraphicsLibrary.CGColor |
CGColorCreateWithPattern(CoreGraphicsLibrary.CGColorSpace space,
CoreGraphicsLibrary.CGPattern pattern,
FloatByReference components)
Deprecated. use the safer methods CGColorCreateWithPattern(org.rococoa.cocoa.coregraphics.CoreGraphicsLibrary.CGColorSpace, org.rococoa.cocoa.coregraphics.CoreGraphicsLibrary.CGPattern, float[]) and CGColorCreateWithPattern(org.rococoa.cocoa.coregraphics.CoreGraphicsLibrary.CGColorSpace, org.rococoa.cocoa.coregraphics.CoreGraphicsLibrary.CGPattern, java.nio.FloatBuffer) instead |
boolean |
CGColorEqualToColor(CoreGraphicsLibrary.CGColor color1,
CoreGraphicsLibrary.CGColor color2)
|
float |
CGColorGetAlpha(CoreGraphicsLibrary.CGColor color)
|
CoreGraphicsLibrary.CGColorSpace |
CGColorGetColorSpace(CoreGraphicsLibrary.CGColor color)
|
FloatByReference |
CGColorGetComponents(CoreGraphicsLibrary.CGColor color)
|
NativeLong |
CGColorGetNumberOfComponents(CoreGraphicsLibrary.CGColor color)
|
CoreGraphicsLibrary.CGPattern |
CGColorGetPattern(CoreGraphicsLibrary.CGColor color)
|
NativeLong |
CGColorGetTypeID()
|
void |
CGColorRelease(CoreGraphicsLibrary.CGColor color)
|
CoreGraphicsLibrary.CGColor |
CGColorRetain(CoreGraphicsLibrary.CGColor color)
|
CoreGraphicsLibrary.CGColorSpace |
CGColorSpaceCreateCalibratedGray(float[] whitePoint,
float[] blackPoint,
float gamma)
|
CoreGraphicsLibrary.CGColorSpace |
CGColorSpaceCreateCalibratedGray(FloatBuffer whitePoint,
FloatBuffer blackPoint,
float gamma)
|
CoreGraphicsLibrary.CGColorSpace |
CGColorSpaceCreateCalibratedGray(FloatByReference whitePoint,
FloatByReference blackPoint,
float gamma)
Deprecated. use the safer methods CGColorSpaceCreateCalibratedGray(float[], float[], float) and CGColorSpaceCreateCalibratedGray(java.nio.FloatBuffer, java.nio.FloatBuffer, float) instead |
CoreGraphicsLibrary.CGColorSpace |
CGColorSpaceCreateCalibratedRGB(float[] whitePoint,
float[] blackPoint,
float[] gamma,
float[] matrix)
|
CoreGraphicsLibrary.CGColorSpace |
CGColorSpaceCreateCalibratedRGB(FloatBuffer whitePoint,
FloatBuffer blackPoint,
FloatBuffer gamma,
FloatBuffer matrix)
|
CoreGraphicsLibrary.CGColorSpace |
CGColorSpaceCreateCalibratedRGB(FloatByReference whitePoint,
FloatByReference blackPoint,
FloatByReference gamma,
FloatByReference matrix)
Deprecated. use the safer methods CGColorSpaceCreateCalibratedRGB(float[], float[], float[], float[]) and CGColorSpaceCreateCalibratedRGB(java.nio.FloatBuffer, java.nio.FloatBuffer, java.nio.FloatBuffer, java.nio.FloatBuffer) instead |
CoreGraphicsLibrary.CGColorSpace |
CGColorSpaceCreateDeviceCMYK()
|
CoreGraphicsLibrary.CGColorSpace |
CGColorSpaceCreateDeviceGray()
|
CoreGraphicsLibrary.CGColorSpace |
CGColorSpaceCreateDeviceRGB()
|
CoreGraphicsLibrary.CGColorSpace |
CGColorSpaceCreateICCBased(NativeLong nComponents,
float[] range,
ImageIOLibrary.CGDataProvider profile,
CoreGraphicsLibrary.CGColorSpace alternate)
|
CoreGraphicsLibrary.CGColorSpace |
CGColorSpaceCreateICCBased(NativeLong nComponents,
FloatBuffer range,
ImageIOLibrary.CGDataProvider profile,
CoreGraphicsLibrary.CGColorSpace alternate)
|
CoreGraphicsLibrary.CGColorSpace |
CGColorSpaceCreateICCBased(NativeLong nComponents,
FloatByReference range,
ImageIOLibrary.CGDataProvider profile,
CoreGraphicsLibrary.CGColorSpace alternate)
Deprecated. use the safer methods CGColorSpaceCreateICCBased(com.sun.jna.NativeLong, float[], org.rococoa.cocoa.imageio.ImageIOLibrary.CGDataProvider, org.rococoa.cocoa.coregraphics.CoreGraphicsLibrary.CGColorSpace) and CGColorSpaceCreateICCBased(com.sun.jna.NativeLong, java.nio.FloatBuffer, org.rococoa.cocoa.imageio.ImageIOLibrary.CGDataProvider, org.rococoa.cocoa.coregraphics.CoreGraphicsLibrary.CGColorSpace) instead |
CoreGraphicsLibrary.CGColorSpace |
CGColorSpaceCreateIndexed(CoreGraphicsLibrary.CGColorSpace baseSpace,
NativeLong lastIndex,
byte[] colorTable)
|
CoreGraphicsLibrary.CGColorSpace |
CGColorSpaceCreateIndexed(CoreGraphicsLibrary.CGColorSpace baseSpace,
NativeLong lastIndex,
ByteBuffer colorTable)
|
CoreGraphicsLibrary.CGColorSpace |
CGColorSpaceCreateIndexed(CoreGraphicsLibrary.CGColorSpace baseSpace,
NativeLong lastIndex,
ByteByReference colorTable)
Deprecated. use the safer methods CGColorSpaceCreateIndexed(org.rococoa.cocoa.coregraphics.CoreGraphicsLibrary.CGColorSpace, com.sun.jna.NativeLong, byte[]) and CGColorSpaceCreateIndexed(org.rococoa.cocoa.coregraphics.CoreGraphicsLibrary.CGColorSpace, com.sun.jna.NativeLong, java.nio.ByteBuffer) instead |
CoreGraphicsLibrary.CGColorSpace |
CGColorSpaceCreateLab(float[] whitePoint,
float[] blackPoint,
float[] range)
|
CoreGraphicsLibrary.CGColorSpace |
CGColorSpaceCreateLab(FloatBuffer whitePoint,
FloatBuffer blackPoint,
FloatBuffer range)
|
CoreGraphicsLibrary.CGColorSpace |
CGColorSpaceCreateLab(FloatByReference whitePoint,
FloatByReference blackPoint,
FloatByReference range)
Deprecated. use the safer methods CGColorSpaceCreateLab(float[], float[], float[]) and CGColorSpaceCreateLab(java.nio.FloatBuffer, java.nio.FloatBuffer, java.nio.FloatBuffer) instead |
CoreGraphicsLibrary.CGColorSpace |
CGColorSpaceCreatePattern(CoreGraphicsLibrary.CGColorSpace baseSpace)
|
CoreGraphicsLibrary.CGColorSpace |
CGColorSpaceCreateWithPlatformColorSpace(Pointer ref)
|
CoreGraphicsLibrary.CGColorSpace |
CGColorSpaceGetBaseColorSpace(CoreGraphicsLibrary.CGColorSpace space)
|
void |
CGColorSpaceGetColorTable(CoreGraphicsLibrary.CGColorSpace space,
ByteBuffer table)
|
void |
CGColorSpaceGetColorTable(CoreGraphicsLibrary.CGColorSpace space,
ByteByReference table)
Deprecated. use the safer method CGColorSpaceGetColorTable(org.rococoa.cocoa.coregraphics.CoreGraphicsLibrary.CGColorSpace, java.nio.ByteBuffer) instead |
NativeLong |
CGColorSpaceGetColorTableCount(CoreGraphicsLibrary.CGColorSpace space)
|
int |
CGColorSpaceGetModel(CoreGraphicsLibrary.CGColorSpace space)
|
NativeLong |
CGColorSpaceGetNumberOfComponents(CoreGraphicsLibrary.CGColorSpace space)
|
NativeLong |
CGColorSpaceGetTypeID()
|
void |
CGColorSpaceRelease(CoreGraphicsLibrary.CGColorSpace space)
|
CoreGraphicsLibrary.CGColorSpace |
CGColorSpaceRetain(CoreGraphicsLibrary.CGColorSpace space)
|
int |
CGCompleteDisplayConfiguration(CoreGraphicsLibrary._CGDisplayConfigRef configRef,
int option)
|
int |
CGConfigureDisplayFadeEffect(CoreGraphicsLibrary._CGDisplayConfigRef configRef,
float fadeOutSeconds,
float fadeInSeconds,
float fadeRed,
float fadeGreen,
float fadeBlue)
|
int |
CGConfigureDisplayMirrorOfDisplay(CoreGraphicsLibrary._CGDisplayConfigRef configRef,
int display,
int masterDisplay)
|
int |
CGConfigureDisplayMode(CoreGraphicsLibrary._CGDisplayConfigRef configRef,
int display,
HIServicesLibrary.__CFDictionary mode)
|
int |
CGConfigureDisplayOrigin(CoreGraphicsLibrary._CGDisplayConfigRef configRef,
int display,
int x,
int y)
|
int |
CGConfigureDisplayStereoOperation(CoreGraphicsLibrary._CGDisplayConfigRef configRef,
int display,
boolean stereo,
boolean forceBlueLine)
|
void |
CGContextAddArc(CoreGraphicsLibrary.CGContext c,
float x,
float y,
float radius,
float startAngle,
float endAngle,
int clockwise)
|
void |
CGContextAddArcToPoint(CoreGraphicsLibrary.CGContext c,
float x1,
float y1,
float x2,
float y2,
float radius)
|
void |
CGContextAddCurveToPoint(CoreGraphicsLibrary.CGContext c,
float cp1x,
float cp1y,
float cp2x,
float cp2y,
float x,
float y)
|
void |
CGContextAddEllipseInRect(CoreGraphicsLibrary.CGContext context,
CGRect.ByValue rect)
|
void |
CGContextAddLines(CoreGraphicsLibrary.CGContext c,
Pointer points,
NativeLong count)
|
void |
CGContextAddLineToPoint(CoreGraphicsLibrary.CGContext c,
float x,
float y)
|
void |
CGContextAddPath(CoreGraphicsLibrary.CGContext context,
CoreGraphicsLibrary.CGPath path)
|
void |
CGContextAddQuadCurveToPoint(CoreGraphicsLibrary.CGContext c,
float cpx,
float cpy,
float x,
float y)
|
void |
CGContextAddRect(CoreGraphicsLibrary.CGContext c,
CGRect.ByValue rect)
|
void |
CGContextAddRects(CoreGraphicsLibrary.CGContext c,
Pointer rects,
NativeLong count)
|
void |
CGContextBeginPage(CoreGraphicsLibrary.CGContext c,
CGRect mediaBox)
|
void |
CGContextBeginPath(CoreGraphicsLibrary.CGContext c)
|
void |
CGContextBeginTransparencyLayer(CoreGraphicsLibrary.CGContext context,
HIServicesLibrary.__CFDictionary auxiliaryInfo)
|
void |
CGContextBeginTransparencyLayerWithRect(CoreGraphicsLibrary.CGContext context,
CGRect.ByValue rect,
HIServicesLibrary.__CFDictionary auxiliaryInfo)
|
void |
CGContextClearRect(CoreGraphicsLibrary.CGContext c,
CGRect.ByValue rect)
|
void |
CGContextClip(CoreGraphicsLibrary.CGContext c)
|
void |
CGContextClipToMask(CoreGraphicsLibrary.CGContext c,
CGRect.ByValue rect,
ImageIOLibrary.CGImage mask)
|
void |
CGContextClipToRect(CoreGraphicsLibrary.CGContext c,
CGRect.ByValue rect)
|
void |
CGContextClipToRects(CoreGraphicsLibrary.CGContext c,
Pointer rects,
NativeLong count)
|
void |
CGContextClosePath(CoreGraphicsLibrary.CGContext c)
|
void |
CGContextConcatCTM(CoreGraphicsLibrary.CGContext c,
CGAffineTransform.ByValue transform)
|
CGPoint.ByValue |
CGContextConvertPointToDeviceSpace(CoreGraphicsLibrary.CGContext c,
CGPoint.ByValue point)
|
CGPoint.ByValue |
CGContextConvertPointToUserSpace(CoreGraphicsLibrary.CGContext c,
CGPoint.ByValue point)
|
CGRect.ByValue |
CGContextConvertRectToDeviceSpace(CoreGraphicsLibrary.CGContext c,
CGRect.ByValue rect)
|
CGRect.ByValue |
CGContextConvertRectToUserSpace(CoreGraphicsLibrary.CGContext c,
CGRect.ByValue rect)
|
CGSize.ByValue |
CGContextConvertSizeToDeviceSpace(CoreGraphicsLibrary.CGContext c,
CGSize.ByValue size)
|
CGSize.ByValue |
CGContextConvertSizeToUserSpace(CoreGraphicsLibrary.CGContext c,
CGSize.ByValue size)
|
void |
CGContextDrawImage(CoreGraphicsLibrary.CGContext c,
CGRect.ByValue rect,
ImageIOLibrary.CGImage image)
|
void |
CGContextDrawLayerAtPoint(CoreGraphicsLibrary.CGContext context,
CGPoint.ByValue point,
CoreGraphicsLibrary.CGLayer layer)
|
void |
CGContextDrawLayerInRect(CoreGraphicsLibrary.CGContext context,
CGRect.ByValue rect,
CoreGraphicsLibrary.CGLayer layer)
|
void |
CGContextDrawLinearGradient(CoreGraphicsLibrary.CGContext context,
CoreGraphicsLibrary.CGGradient gradient,
CGPoint.ByValue startPoint,
CGPoint.ByValue endPoint,
int options)
Original signature : void CGContextDrawLinearGradient(CGContextRef, CGGradientRef, CGPoint, CGPoint, CGGradientDrawingOptions)
|
void |
CGContextDrawPath(CoreGraphicsLibrary.CGContext c,
int mode)
Original signature : void CGContextDrawPath(CGContextRef, CGPathDrawingMode)
|
void |
CGContextDrawPDFDocument(CoreGraphicsLibrary.CGContext c,
CGRect.ByValue rect,
CoreGraphicsLibrary.CGPDFDocument document,
int page)
|
void |
CGContextDrawPDFPage(CoreGraphicsLibrary.CGContext c,
CoreGraphicsLibrary.CGPDFPage page)
|
void |
CGContextDrawRadialGradient(CoreGraphicsLibrary.CGContext context,
CoreGraphicsLibrary.CGGradient gradient,
CGPoint.ByValue startCenter,
float startRadius,
CGPoint.ByValue endCenter,
float endRadius,
int options)
Original signature : void CGContextDrawRadialGradient(CGContextRef, CGGradientRef, CGPoint, CGFloat, CGPoint, CGFloat, CGGradientDrawingOptions)
|
void |
CGContextDrawShading(CoreGraphicsLibrary.CGContext context,
CoreGraphicsLibrary.CGShading shading)
|
void |
CGContextDrawTiledImage(CoreGraphicsLibrary.CGContext c,
CGRect.ByValue rect,
ImageIOLibrary.CGImage image)
|
void |
CGContextEndPage(CoreGraphicsLibrary.CGContext c)
|
void |
CGContextEndTransparencyLayer(CoreGraphicsLibrary.CGContext context)
|
void |
CGContextEOClip(CoreGraphicsLibrary.CGContext c)
|
void |
CGContextEOFillPath(CoreGraphicsLibrary.CGContext c)
|
void |
CGContextFillEllipseInRect(CoreGraphicsLibrary.CGContext context,
CGRect.ByValue rect)
|
void |
CGContextFillPath(CoreGraphicsLibrary.CGContext c)
|
void |
CGContextFillRect(CoreGraphicsLibrary.CGContext c,
CGRect.ByValue rect)
|
void |
CGContextFillRects(CoreGraphicsLibrary.CGContext c,
Pointer rects,
NativeLong count)
|
void |
CGContextFlush(CoreGraphicsLibrary.CGContext c)
|
CGRect.ByValue |
CGContextGetClipBoundingBox(CoreGraphicsLibrary.CGContext c)
|
CGAffineTransform.ByValue |
CGContextGetCTM(CoreGraphicsLibrary.CGContext c)
|
int |
CGContextGetInterpolationQuality(CoreGraphicsLibrary.CGContext c)
|
CGRect.ByValue |
CGContextGetPathBoundingBox(CoreGraphicsLibrary.CGContext c)
|
CGPoint.ByValue |
CGContextGetPathCurrentPoint(CoreGraphicsLibrary.CGContext c)
|
CGAffineTransform.ByValue |
CGContextGetTextMatrix(CoreGraphicsLibrary.CGContext c)
|
CGPoint.ByValue |
CGContextGetTextPosition(CoreGraphicsLibrary.CGContext c)
|
NativeLong |
CGContextGetTypeID()
|
CGAffineTransform.ByValue |
CGContextGetUserSpaceToDeviceSpaceTransform(CoreGraphicsLibrary.CGContext c)
|
boolean |
CGContextIsPathEmpty(CoreGraphicsLibrary.CGContext c)
|
void |
CGContextMoveToPoint(CoreGraphicsLibrary.CGContext c,
float x,
float y)
|
boolean |
CGContextPathContainsPoint(CoreGraphicsLibrary.CGContext context,
CGPoint.ByValue point,
int mode)
Original signature : bool CGContextPathContainsPoint(CGContextRef, CGPoint, CGPathDrawingMode)
|
void |
CGContextRelease(CoreGraphicsLibrary.CGContext c)
|
void |
CGContextReplacePathWithStrokedPath(CoreGraphicsLibrary.CGContext c)
|
void |
CGContextRestoreGState(CoreGraphicsLibrary.CGContext c)
|
CoreGraphicsLibrary.CGContext |
CGContextRetain(CoreGraphicsLibrary.CGContext c)
|
void |
CGContextRotateCTM(CoreGraphicsLibrary.CGContext c,
float angle)
|
void |
CGContextSaveGState(CoreGraphicsLibrary.CGContext c)
|
void |
CGContextScaleCTM(CoreGraphicsLibrary.CGContext c,
float sx,
float sy)
|
void |
CGContextSelectFont(CoreGraphicsLibrary.CGContext c,
ByteByReference name,
float size,
int textEncoding)
Deprecated. use the safer method CGContextSelectFont(org.rococoa.cocoa.coregraphics.CoreGraphicsLibrary.CGContext, java.lang.String, float, int) instead
|
void |
CGContextSelectFont(CoreGraphicsLibrary.CGContext c,
String name,
float size,
int textEncoding)
Original signature : void CGContextSelectFont(CGContextRef, const char*, CGFloat, CGTextEncoding)
|
void |
CGContextSetAllowsAntialiasing(CoreGraphicsLibrary.CGContext context,
boolean allowsAntialiasing)
|
void |
CGContextSetAlpha(CoreGraphicsLibrary.CGContext c,
float alpha)
|
void |
CGContextSetBlendMode(CoreGraphicsLibrary.CGContext context,
int mode)
Original signature : void CGContextSetBlendMode(CGContextRef, CGBlendMode)
|
void |
CGContextSetCharacterSpacing(CoreGraphicsLibrary.CGContext c,
float spacing)
|
void |
CGContextSetCMYKFillColor(CoreGraphicsLibrary.CGContext c,
float cyan,
float magenta,
float yellow,
float black,
float alpha)
|
void |
CGContextSetCMYKStrokeColor(CoreGraphicsLibrary.CGContext c,
float cyan,
float magenta,
float yellow,
float black,
float alpha)
|
void |
CGContextSetFillColor(CoreGraphicsLibrary.CGContext c,
float[] components)
|
void |
CGContextSetFillColor(CoreGraphicsLibrary.CGContext c,
FloatBuffer components)
|
void |
CGContextSetFillColor(CoreGraphicsLibrary.CGContext c,
FloatByReference components)
Deprecated. use the safer methods CGContextSetFillColor(org.rococoa.cocoa.coregraphics.CoreGraphicsLibrary.CGContext, float[]) and CGContextSetFillColor(org.rococoa.cocoa.coregraphics.CoreGraphicsLibrary.CGContext, java.nio.FloatBuffer) instead |
void |
CGContextSetFillColorSpace(CoreGraphicsLibrary.CGContext c,
CoreGraphicsLibrary.CGColorSpace colorspace)
|
void |
CGContextSetFillColorWithColor(CoreGraphicsLibrary.CGContext c,
CoreGraphicsLibrary.CGColor color)
|
void |
CGContextSetFillPattern(CoreGraphicsLibrary.CGContext c,
CoreGraphicsLibrary.CGPattern pattern,
float[] components)
|
void |
CGContextSetFillPattern(CoreGraphicsLibrary.CGContext c,
CoreGraphicsLibrary.CGPattern pattern,
FloatBuffer components)
|
void |
CGContextSetFillPattern(CoreGraphicsLibrary.CGContext c,
CoreGraphicsLibrary.CGPattern pattern,
FloatByReference components)
Deprecated. use the safer methods CGContextSetFillPattern(org.rococoa.cocoa.coregraphics.CoreGraphicsLibrary.CGContext, org.rococoa.cocoa.coregraphics.CoreGraphicsLibrary.CGPattern, float[]) and CGContextSetFillPattern(org.rococoa.cocoa.coregraphics.CoreGraphicsLibrary.CGContext, org.rococoa.cocoa.coregraphics.CoreGraphicsLibrary.CGPattern, java.nio.FloatBuffer) instead |
void |
CGContextSetFlatness(CoreGraphicsLibrary.CGContext c,
float flatness)
|
void |
CGContextSetFont(CoreGraphicsLibrary.CGContext c,
CoreGraphicsLibrary.CGFont font)
|
void |
CGContextSetFontSize(CoreGraphicsLibrary.CGContext c,
float size)
|
void |
CGContextSetGrayFillColor(CoreGraphicsLibrary.CGContext c,
float gray,
float alpha)
|
void |
CGContextSetGrayStrokeColor(CoreGraphicsLibrary.CGContext c,
float gray,
float alpha)
|
void |
CGContextSetInterpolationQuality(CoreGraphicsLibrary.CGContext c,
int quality)
Original signature : void CGContextSetInterpolationQuality(CGContextRef, CGInterpolationQuality)
|
void |
CGContextSetLineCap(CoreGraphicsLibrary.CGContext c,
int cap)
Original signature : void CGContextSetLineCap(CGContextRef, CGLineCap)
|
void |
CGContextSetLineDash(CoreGraphicsLibrary.CGContext c,
float phase,
float[] lengths,
NativeLong count)
|
void |
CGContextSetLineDash(CoreGraphicsLibrary.CGContext c,
float phase,
FloatBuffer lengths,
NativeLong count)
|
void |
CGContextSetLineDash(CoreGraphicsLibrary.CGContext c,
float phase,
FloatByReference lengths,
NativeLong count)
Deprecated. use the safer methods CGContextSetLineDash(org.rococoa.cocoa.coregraphics.CoreGraphicsLibrary.CGContext, float, float[], com.sun.jna.NativeLong) and CGContextSetLineDash(org.rococoa.cocoa.coregraphics.CoreGraphicsLibrary.CGContext, float, java.nio.FloatBuffer, com.sun.jna.NativeLong) instead |
void |
CGContextSetLineJoin(CoreGraphicsLibrary.CGContext c,
int join)
Original signature : void CGContextSetLineJoin(CGContextRef, CGLineJoin)
|
void |
CGContextSetLineWidth(CoreGraphicsLibrary.CGContext c,
float width)
|
void |
CGContextSetMiterLimit(CoreGraphicsLibrary.CGContext c,
float limit)
|
void |
CGContextSetPatternPhase(CoreGraphicsLibrary.CGContext c,
CGSize.ByValue phase)
|
void |
CGContextSetRenderingIntent(CoreGraphicsLibrary.CGContext c,
int intent)
Original signature : void CGContextSetRenderingIntent(CGContextRef, CGColorRenderingIntent)
|
void |
CGContextSetRGBFillColor(CoreGraphicsLibrary.CGContext c,
float red,
float green,
float blue,
float alpha)
|
void |
CGContextSetRGBStrokeColor(CoreGraphicsLibrary.CGContext c,
float red,
float green,
float blue,
float alpha)
|
void |
CGContextSetShadow(CoreGraphicsLibrary.CGContext context,
CGSize.ByValue offset,
float blur)
|
void |
CGContextSetShadowWithColor(CoreGraphicsLibrary.CGContext context,
CGSize.ByValue offset,
float blur,
CoreGraphicsLibrary.CGColor color)
|
void |
CGContextSetShouldAntialias(CoreGraphicsLibrary.CGContext c,
boolean shouldAntialias)
|
void |
CGContextSetShouldSmoothFonts(CoreGraphicsLibrary.CGContext c,
boolean shouldSmoothFonts)
|
void |
CGContextSetStrokeColor(CoreGraphicsLibrary.CGContext c,
float[] components)
|
void |
CGContextSetStrokeColor(CoreGraphicsLibrary.CGContext c,
FloatBuffer components)
|
void |
CGContextSetStrokeColor(CoreGraphicsLibrary.CGContext c,
FloatByReference components)
Deprecated. use the safer methods CGContextSetStrokeColor(org.rococoa.cocoa.coregraphics.CoreGraphicsLibrary.CGContext, float[]) and CGContextSetStrokeColor(org.rococoa.cocoa.coregraphics.CoreGraphicsLibrary.CGContext, java.nio.FloatBuffer) instead |
void |
CGContextSetStrokeColorSpace(CoreGraphicsLibrary.CGContext c,
CoreGraphicsLibrary.CGColorSpace colorspace)
|
void |
CGContextSetStrokeColorWithColor(CoreGraphicsLibrary.CGContext c,
CoreGraphicsLibrary.CGColor color)
|
void |
CGContextSetStrokePattern(CoreGraphicsLibrary.CGContext c,
CoreGraphicsLibrary.CGPattern pattern,
float[] components)
|
void |
CGContextSetStrokePattern(CoreGraphicsLibrary.CGContext c,
CoreGraphicsLibrary.CGPattern pattern,
FloatBuffer components)
|
void |
CGContextSetStrokePattern(CoreGraphicsLibrary.CGContext c,
CoreGraphicsLibrary.CGPattern pattern,
FloatByReference components)
Deprecated. use the safer methods CGContextSetStrokePattern(org.rococoa.cocoa.coregraphics.CoreGraphicsLibrary.CGContext, org.rococoa.cocoa.coregraphics.CoreGraphicsLibrary.CGPattern, float[]) and CGContextSetStrokePattern(org.rococoa.cocoa.coregraphics.CoreGraphicsLibrary.CGContext, org.rococoa.cocoa.coregraphics.CoreGraphicsLibrary.CGPattern, java.nio.FloatBuffer) instead |
void |
CGContextSetTextDrawingMode(CoreGraphicsLibrary.CGContext c,
int mode)
Original signature : void CGContextSetTextDrawingMode(CGContextRef, CGTextDrawingMode)
|
void |
CGContextSetTextMatrix(CoreGraphicsLibrary.CGContext c,
CGAffineTransform.ByValue t)
|
void |
CGContextSetTextPosition(CoreGraphicsLibrary.CGContext c,
float x,
float y)
|
void |
CGContextShowGlyphs(CoreGraphicsLibrary.CGContext c,
ShortBuffer g,
NativeLong count)
|
void |
CGContextShowGlyphs(CoreGraphicsLibrary.CGContext c,
ShortByReference g,
NativeLong count)
Deprecated. use the safer method CGContextShowGlyphs(org.rococoa.cocoa.coregraphics.CoreGraphicsLibrary.CGContext, java.nio.ShortBuffer, com.sun.jna.NativeLong) instead |
void |
CGContextShowGlyphsAtPoint(CoreGraphicsLibrary.CGContext c,
float x,
float y,
ShortBuffer glyphs,
NativeLong count)
|
void |
CGContextShowGlyphsAtPoint(CoreGraphicsLibrary.CGContext c,
float x,
float y,
ShortByReference glyphs,
NativeLong count)
Deprecated. use the safer method CGContextShowGlyphsAtPoint(org.rococoa.cocoa.coregraphics.CoreGraphicsLibrary.CGContext, float, float, java.nio.ShortBuffer, com.sun.jna.NativeLong) instead |
void |
CGContextShowGlyphsAtPositions(CoreGraphicsLibrary.CGContext context,
ShortBuffer glyphs,
Pointer positions,
NativeLong count)
|
void |
CGContextShowGlyphsAtPositions(CoreGraphicsLibrary.CGContext context,
ShortByReference glyphs,
Pointer positions,
NativeLong count)
Deprecated. use the safer method CGContextShowGlyphsAtPositions(org.rococoa.cocoa.coregraphics.CoreGraphicsLibrary.CGContext, java.nio.ShortBuffer, com.sun.jna.Pointer, com.sun.jna.NativeLong) instead |
void |
CGContextShowGlyphsWithAdvances(CoreGraphicsLibrary.CGContext c,
ShortBuffer glyphs,
Pointer advances,
NativeLong count)
|
void |
CGContextShowGlyphsWithAdvances(CoreGraphicsLibrary.CGContext c,
ShortByReference glyphs,
Pointer advances,
NativeLong count)
Deprecated. use the safer method CGContextShowGlyphsWithAdvances(org.rococoa.cocoa.coregraphics.CoreGraphicsLibrary.CGContext, java.nio.ShortBuffer, com.sun.jna.Pointer, com.sun.jna.NativeLong) instead |
void |
CGContextShowText(CoreGraphicsLibrary.CGContext c,
ByteByReference string,
NativeLong length)
Deprecated. use the safer method CGContextShowText(org.rococoa.cocoa.coregraphics.CoreGraphicsLibrary.CGContext, java.lang.String, com.sun.jna.NativeLong) instead |
void |
CGContextShowText(CoreGraphicsLibrary.CGContext c,
String string,
NativeLong length)
|
void |
CGContextShowTextAtPoint(CoreGraphicsLibrary.CGContext c,
float x,
float y,
ByteByReference string,
NativeLong length)
Deprecated. use the safer method CGContextShowTextAtPoint(org.rococoa.cocoa.coregraphics.CoreGraphicsLibrary.CGContext, float, float, java.lang.String, com.sun.jna.NativeLong) instead |
void |
CGContextShowTextAtPoint(CoreGraphicsLibrary.CGContext c,
float x,
float y,
String string,
NativeLong length)
|
void |
CGContextStrokeEllipseInRect(CoreGraphicsLibrary.CGContext context,
CGRect.ByValue rect)
|
void |
CGContextStrokeLineSegments(CoreGraphicsLibrary.CGContext c,
Pointer points,
NativeLong count)
|
void |
CGContextStrokePath(CoreGraphicsLibrary.CGContext c)
|
void |
CGContextStrokeRect(CoreGraphicsLibrary.CGContext c,
CGRect.ByValue rect)
|
void |
CGContextStrokeRectWithWidth(CoreGraphicsLibrary.CGContext c,
CGRect.ByValue rect,
float width)
|
void |
CGContextSynchronize(CoreGraphicsLibrary.CGContext c)
|
void |
CGContextTranslateCTM(CoreGraphicsLibrary.CGContext c,
float tx,
float ty)
|
boolean |
CGCursorIsDrawnInFramebuffer()
|
boolean |
CGCursorIsVisible()
Programs reading the frame buffer content may want to hide the cursor, if it is visible and
drawn in framebuffer memory. |
ImageIOLibrary.CGDataConsumer |
CGDataConsumerCreate(Pointer info,
CGDataConsumerCallbacks callbacks)
|
ImageIOLibrary.CGDataConsumer |
CGDataConsumerCreateWithCFData(CoreFoundationLibrary.__CFData data)
|
ImageIOLibrary.CGDataConsumer |
CGDataConsumerCreateWithURL(AudioUnitLibrary.__CFURL url)
|
NativeLong |
CGDataConsumerGetTypeID()
|
void |
CGDataConsumerRelease(ImageIOLibrary.CGDataConsumer consumer)
|
ImageIOLibrary.CGDataConsumer |
CGDataConsumerRetain(ImageIOLibrary.CGDataConsumer consumer)
|
ImageIOLibrary.CGDataProvider |
CGDataProviderCreate(Pointer info,
CGDataProviderCallbacks callbacks)
|
ImageIOLibrary.CGDataProvider |
CGDataProviderCreateDirectAccess(Pointer info,
NativeLong size,
CGDataProviderDirectAccessCallbacks callbacks)
|
ImageIOLibrary.CGDataProvider |
CGDataProviderCreateSequential(Pointer info,
CGDataProviderSequentialCallbacks callbacks)
|
ImageIOLibrary.CGDataProvider |
CGDataProviderCreateWithData(Pointer info,
Pointer data,
NativeLong size,
CoreGraphicsLibrary.CGDataProviderReleaseDataCallback releaseData)
|
ImageIOLibrary.CGDataProvider |
CGDataProviderCreateWithFilename(ByteByReference filename)
Deprecated. use the safer method CGDataProviderCreateWithFilename(java.lang.String) instead |
ImageIOLibrary.CGDataProvider |
CGDataProviderCreateWithFilename(String filename)
|
ImageIOLibrary.CGDataProvider |
CGDataProviderCreateWithURL(AudioUnitLibrary.__CFURL url)
|
NativeLong |
CGDataProviderGetTypeID()
|
void |
CGDataProviderRelease(ImageIOLibrary.CGDataProvider provider)
|
ImageIOLibrary.CGDataProvider |
CGDataProviderRetain(ImageIOLibrary.CGDataProvider provider)
|
Pointer |
CGDisplayAddressForPosition(int display,
int x,
int y)
return address for X,Y in global coordinates;
(0,0) represents the upper left corner of the main display. |
HIServicesLibrary.__CFArray |
CGDisplayAvailableModes(int display)
Return a CFArray of CFDictionaries describing all display modes. |
Pointer |
CGDisplayBaseAddress(int display)
Returns base address of display or NULL for an invalid display. |
int |
CGDisplayBeamPosition(int display)
Returns the current beam position on the display. |
HIServicesLibrary.__CFDictionary |
CGDisplayBestModeForParameters(int display,
NativeLong bitsPerPixel,
NativeLong width,
NativeLong height,
boolean exactMatch)
Try to find a display mode of specified depth with dimensions equal or greater than
specified. |
HIServicesLibrary.__CFDictionary |
CGDisplayBestModeForParametersAndRefreshRate(int display,
NativeLong bitsPerPixel,
NativeLong width,
NativeLong height,
double refresh,
boolean exactMatch)
|
NativeLong |
CGDisplayBitsPerPixel(int display)
Query parameters for current mode
Original signature : size_t CGDisplayBitsPerPixel(CGDirectDisplayID) |
NativeLong |
CGDisplayBitsPerSample(int display)
|
CGRect.ByValue |
CGDisplayBounds(int display)
Return screen size and origin in global coords; Empty rect if display is invalid
Original signature : CGRect CGDisplayBounds(CGDirectDisplayID) |
NativeLong |
CGDisplayBytesPerRow(int display)
|
boolean |
CGDisplayCanSetPalette(int display)
Returns TRUE if the current display mode supports palettes. |
CoreGraphicsLibrary.CGColorSpace |
CGDisplayCopyColorSpace(int display)
|
HIServicesLibrary.__CFDictionary |
CGDisplayCurrentMode(int display)
Return a CFDictionary describing the current display mode. |
int |
CGDisplayFade(int myToken,
float seconds,
float startBlend,
float endBlend,
float redBlend,
float greenBlend,
float blueBlend,
boolean synchronous)
|
boolean |
CGDisplayFadeOperationInProgress()
Returns true if a fade operation is currently in progress. |
int |
CGDisplayGammaTableCapacity(int display)
Returns the capacity, or nunber of entries, in the camma table for the specified
display. |
CoreGraphicsLibrary.CGContext |
CGDisplayGetDrawingContext(int display)
Obtain a CGContextRef suitable for drawing to a captured display. |
int |
CGDisplayIDToOpenGLDisplayMask(int display)
Map a display to an OpenGL display mask; returns 0 on invalid display
Original signature : CGOpenGLDisplayMask CGDisplayIDToOpenGLDisplayMask(CGDirectDisplayID) |
boolean |
CGDisplayIsActive(int display)
True if the display is connected, awake, and drawable
Original signature : boolean_t CGDisplayIsActive(CGDirectDisplayID) |
boolean |
CGDisplayIsAlwaysInMirrorSet(int display)
True if the display is always in a mirroring set, and cannot be unmirrored
Original signature : boolean_t CGDisplayIsAlwaysInMirrorSet(CGDirectDisplayID) |
boolean |
CGDisplayIsAsleep(int display)
True if the display is asleep and therefore not drawable
Original signature : boolean_t CGDisplayIsAsleep(CGDirectDisplayID) |
boolean |
CGDisplayIsBuiltin(int display)
True if the display is built in, such as the internal display in portables
Original signature : boolean_t CGDisplayIsBuiltin(CGDirectDisplayID) |
boolean |
CGDisplayIsCaptured(int display)
Display capture and release
Original signature : boolean_t CGDisplayIsCaptured(CGDirectDisplayID) |
boolean |
CGDisplayIsInHWMirrorSet(int display)
True if the display is in a hardware mirroring set
Original signature : boolean_t CGDisplayIsInHWMirrorSet(CGDirectDisplayID) |
boolean |
CGDisplayIsInMirrorSet(int display)
True if the display is in a mirroring set
Original signature : boolean_t CGDisplayIsInMirrorSet(CGDirectDisplayID) |
boolean |
CGDisplayIsMain(int display)
True if the display is the current main display
Original signature : boolean_t CGDisplayIsMain(CGDirectDisplayID) |
boolean |
CGDisplayIsOnline(int display)
True if the display is valid, with a monitor connected
(support for hot plugging of monitors)
Original signature : boolean_t CGDisplayIsOnline(CGDirectDisplayID) |
boolean |
CGDisplayIsStereo(int display)
True if the display is running in a stereo graphics mode
Original signature : boolean_t CGDisplayIsStereo(CGDirectDisplayID)
|
int |
CGDisplayMirrorsDisplay(int display)
Returns display being mirrored, or kCGNullDirectDisplay if master or unmirrored
Original signature : CGDirectDisplayID CGDisplayMirrorsDisplay(CGDirectDisplayID) |
int |
CGDisplayModelNumber(int display)
|
NativeLong |
CGDisplayPixelsHigh(int display)
|
NativeLong |
CGDisplayPixelsWide(int display)
|
int |
CGDisplayPrimaryDisplay(int display)
Returns the display bound to the hardware accelerator in a HW mirror set,
or 'display' if software mirrored or unmirrored
Original signature : CGDirectDisplayID CGDisplayPrimaryDisplay(CGDirectDisplayID) |
int |
CGDisplayRegisterReconfigurationCallback(CoreGraphicsLibrary.CGDisplayReconfigurationCallBack proc,
Pointer userInfo)
|
int |
CGDisplayRemoveReconfigurationCallback(CoreGraphicsLibrary.CGDisplayReconfigurationCallBack proc,
Pointer userInfo)
|
void |
CGDisplayRestoreColorSyncSettings()
Restore gamma tables of system displays to the user's ColorSync specified values
Original signature : void CGDisplayRestoreColorSyncSettings() |
double |
CGDisplayRotation(int display)
Returns the rotation of the specified display in degrees. |
NativeLong |
CGDisplaySamplesPerPixel(int display)
|
CGSize.ByValue |
CGDisplayScreenSize(int display)
Returns the size of the specified display in millimeters. |
int |
CGDisplaySerialNumber(int display)
|
int |
CGDisplaySetStereoOperation(int display,
boolean stereo,
boolean forceBlueLine,
int option)
|
int |
CGDisplayUnitNumber(int display)
Returns the logical unit, vendor ID, vendor model number,
and serial number for a display
Original signature : uint32_t CGDisplayUnitNumber(CGDirectDisplayID) |
boolean |
CGDisplayUsesOpenGLAcceleration(int display)
True if the display is using OpenGL acceleration
Original signature : boolean_t CGDisplayUsesOpenGLAcceleration(CGDirectDisplayID) |
int |
CGDisplayVendorNumber(int display)
|
int |
CGEnableEventStateCombining(boolean doCombineState)
|
CoreGraphicsLibrary.__CGEvent |
CGEventCreate(CoreGraphicsLibrary.__CGEventSource source)
Create a NULL event to be filled in. |
CoreGraphicsLibrary.__CGEvent |
CGEventCreateCopy(CoreGraphicsLibrary.__CGEvent event)
|
CoreGraphicsLibrary.__CGEvent |
CGEventCreateKeyboardEvent(CoreGraphicsLibrary.__CGEventSource source,
short virtualKey,
boolean keyDown)
Create keyboard events. |
CoreGraphicsLibrary.__CGEvent |
CGEventCreateMouseEvent(CoreGraphicsLibrary.__CGEventSource source,
int mouseType,
CGPoint.ByValue mouseCursorPosition,
int mouseButton)
Create mouse events. |
CoreGraphicsLibrary.__CGEvent |
CGEventCreateScrollWheelEvent(CoreGraphicsLibrary.__CGEventSource source,
int units,
int wheelCount,
int wheel1,
Object... varargs)
Original signature : CGEventRef CGEventCreateScrollWheelEvent(CGEventSourceRef, CGScrollEventUnit, CGWheelCount, int32_t, null)
|
CoreGraphicsLibrary.__CGEventSource |
CGEventCreateSourceFromEvent(CoreGraphicsLibrary.__CGEvent event)
These functions provide access to the event source for an event. |
double |
CGEventGetDoubleValueField(CoreGraphicsLibrary.__CGEvent event,
int field)
Original signature : double CGEventGetDoubleValueField(CGEventRef, CGEventField)
|
long |
CGEventGetFlags(CoreGraphicsLibrary.__CGEvent event)
|
long |
CGEventGetIntegerValueField(CoreGraphicsLibrary.__CGEvent event,
int field)
Original signature : int64_t CGEventGetIntegerValueField(CGEventRef, CGEventField)
|
CGPoint.ByValue |
CGEventGetLocation(CoreGraphicsLibrary.__CGEvent event)
|
long |
CGEventGetTimestamp(CoreGraphicsLibrary.__CGEvent event)
|
int |
CGEventGetType(CoreGraphicsLibrary.__CGEvent event)
|
NativeLong |
CGEventGetTypeID()
Return the CFTypeID for CGEventRefs. |
CGPoint.ByValue |
CGEventGetUnflippedLocation(CoreGraphicsLibrary.__CGEvent event)
|
void |
CGEventKeyboardGetUnicodeString(CoreGraphicsLibrary.__CGEvent event,
NativeLong maxStringLength,
NativeLongByReference actualStringLength,
ShortBuffer unicodeString)
Access to UniChar data in keyboard events. |
void |
CGEventKeyboardGetUnicodeString(CoreGraphicsLibrary.__CGEvent event,
NativeLong maxStringLength,
NativeLongByReference actualStringLength,
ShortByReference unicodeString)
Deprecated. use the safer method CGEventKeyboardGetUnicodeString(org.rococoa.cocoa.coregraphics.CoreGraphicsLibrary.__CGEvent, com.sun.jna.NativeLong, com.sun.jna.ptr.NativeLongByReference, java.nio.ShortBuffer) instead |
void |
CGEventKeyboardSetUnicodeString(CoreGraphicsLibrary.__CGEvent event,
NativeLong stringLength,
ShortBuffer unicodeString)
|
void |
CGEventKeyboardSetUnicodeString(CoreGraphicsLibrary.__CGEvent event,
NativeLong stringLength,
ShortByReference unicodeString)
Deprecated. use the safer method CGEventKeyboardSetUnicodeString(org.rococoa.cocoa.coregraphics.CoreGraphicsLibrary.__CGEvent, com.sun.jna.NativeLong, java.nio.ShortBuffer) instead |
void |
CGEventPost(int tap,
CoreGraphicsLibrary.__CGEvent event)
Post an event into the event stream. |
void |
CGEventPostToPSN(Pointer processSerialNumber,
CoreGraphicsLibrary.__CGEvent event)
Post an event into the event stream for a specific application. |
void |
CGEventSetDoubleValueField(CoreGraphicsLibrary.__CGEvent event,
int field,
double value)
Original signature : void CGEventSetDoubleValueField(CGEventRef, CGEventField, double)
|
void |
CGEventSetFlags(CoreGraphicsLibrary.__CGEvent event,
long flags)
|
void |
CGEventSetIntegerValueField(CoreGraphicsLibrary.__CGEvent event,
int field,
long value)
Before using the Set functions, the event type must be set
properly by using the appropriate type creation function or by calling
CGEventSetType(). |
void |
CGEventSetLocation(CoreGraphicsLibrary.__CGEvent event,
CGPoint.ByValue location)
|
void |
CGEventSetSource(CoreGraphicsLibrary.__CGEvent event,
CoreGraphicsLibrary.__CGEventSource source)
|
void |
CGEventSetTimestamp(CoreGraphicsLibrary.__CGEvent event,
long timestamp)
|
void |
CGEventSetType(CoreGraphicsLibrary.__CGEvent event,
int type)
Original signature : void CGEventSetType(CGEventRef, CGEventType)
|
boolean |
CGEventSourceButtonState(int sourceState,
int button)
The state of an event source may be queried for specialized event processing
purposes. |
int |
CGEventSourceCounterForEventType(int source,
int evType)
Returns a count of events of different types seen since the window server started. |
CoreGraphicsLibrary.__CGEventSource |
CGEventSourceCreate(int sourceState)
Create a new CGEventSource
* The event source contains accumulated state related to event
generation and event posting, allowing for customized event
generation and processing. |
long |
CGEventSourceFlagsState(int sourceState)
Original signature : CGEventFlags CGEventSourceFlagsState(CGEventSourceStateID)
|
int |
CGEventSourceGetKeyboardType(CoreGraphicsLibrary.__CGEventSource source)
Set and get the keyboard type to be used with this source
The value will be used with UCKeyTranslate() to drive keyboard translation
Original signature : CGEventSourceKeyboardType CGEventSourceGetKeyboardType(CGEventSourceRef) |
int |
CGEventSourceGetLocalEventsFilterDuringSuppressionState(CoreGraphicsLibrary.__CGEventSource source,
int state)
|
double |
CGEventSourceGetLocalEventsSuppressionInterval(CoreGraphicsLibrary.__CGEventSource source)
|
double |
CGEventSourceGetPixelsPerLine(CoreGraphicsLibrary.__CGEventSource source)
|
int |
CGEventSourceGetSourceStateID(CoreGraphicsLibrary.__CGEventSource source)
|
NativeLong |
CGEventSourceGetTypeID()
Return the CFTypeID for CGEventSourceRefs. |
long |
CGEventSourceGetUserData(CoreGraphicsLibrary.__CGEventSource source)
|
boolean |
CGEventSourceKeyState(int sourceState,
short key)
Original signature : bool CGEventSourceKeyState(CGEventSourceStateID, CGKeyCode)
|
double |
CGEventSourceSecondsSinceLastEventType(int source,
int eventType)
Original signature : CFTimeInterval CGEventSourceSecondsSinceLastEventType(CGEventSourceStateID, CGEventType)
|
void |
CGEventSourceSetKeyboardType(CoreGraphicsLibrary.__CGEventSource source,
int keyboardType)
|
void |
CGEventSourceSetLocalEventsFilterDuringSuppressionState(CoreGraphicsLibrary.__CGEventSource source,
int filter,
int state)
Original signature : void CGEventSourceSetLocalEventsFilterDuringSuppressionState(CGEventSourceRef, CGEventFilterMask, CGEventSuppressionState)
|
void |
CGEventSourceSetLocalEventsSuppressionInterval(CoreGraphicsLibrary.__CGEventSource source,
double seconds)
Set the period of time in seconds that specified local hardware events (keyboard or mouse)
may suppressed after posting a CGEventRef created with this source, if the event
source is set to apply the kCGEventSuppressionStateSuppressionInterval. |
void |
CGEventSourceSetPixelsPerLine(CoreGraphicsLibrary.__CGEventSource source,
double pixelsPerLine)
Set and get the scale used to interpret between scrollwheel events that
scroll by line and by pixel. |
void |
CGEventSourceSetUserData(CoreGraphicsLibrary.__CGEventSource source,
long userData)
Each event carries a payload of 64 bits of user specified data. |
CoreFoundationLibrary.__CFMachPort |
CGEventTapCreate(int tap,
int place,
int options,
long eventsOfInterest,
CoreGraphicsLibrary.CGEventTapCallBack callback,
Pointer refcon)
Return the a CFMachPortRef for the event tap. |
CoreFoundationLibrary.__CFMachPort |
CGEventTapCreateForPSN(Pointer processSerialNumber,
int place,
int options,
long eventsOfInterest,
CoreGraphicsLibrary.CGEventTapCallBack callback,
Pointer refcon)
Return the a CFMachPortRef for an event tap for the specified process. |
void |
CGEventTapEnable(CoreFoundationLibrary.__CFMachPort myTap,
boolean enable)
Enable or disable an event tap. |
boolean |
CGEventTapIsEnabled(CoreFoundationLibrary.__CFMachPort myTap)
|
void |
CGEventTapPostEvent(CoreGraphicsLibrary.__CGEventTapProxy proxy,
CoreGraphicsLibrary.__CGEvent event)
Post an event from the event tap into the event stream. |
boolean |
CGFontCanCreatePostScriptSubset(CoreGraphicsLibrary.CGFont font,
int format)
Original signature : bool CGFontCanCreatePostScriptSubset(CGFontRef, CGFontPostScriptFormat)
|
HIServicesLibrary.__CFArray |
CGFontCopyTableTags(CoreGraphicsLibrary.CGFont font)
|
HIServicesLibrary.__CFArray |
CGFontCopyVariationAxes(CoreGraphicsLibrary.CGFont font)
|
HIServicesLibrary.__CFDictionary |
CGFontCopyVariations(CoreGraphicsLibrary.CGFont font)
|
CoreGraphicsLibrary.CGFont |
CGFontCreateCopyWithVariations(CoreGraphicsLibrary.CGFont font,
HIServicesLibrary.__CFDictionary variations)
|
CoreGraphicsLibrary.CGFont |
CGFontCreateWithDataProvider(ImageIOLibrary.CGDataProvider provider)
|
CoreGraphicsLibrary.CGFont |
CGFontCreateWithPlatformFont(Pointer platformFontReference)
|
int |
CGFontGetAscent(CoreGraphicsLibrary.CGFont font)
|
int |
CGFontGetCapHeight(CoreGraphicsLibrary.CGFont font)
|
int |
CGFontGetDescent(CoreGraphicsLibrary.CGFont font)
|
CGRect.ByValue |
CGFontGetFontBBox(CoreGraphicsLibrary.CGFont font)
|
boolean |
CGFontGetGlyphAdvances(CoreGraphicsLibrary.CGFont font,
ShortBuffer glyphs,
NativeLong count,
IntBuffer advances)
|
boolean |
CGFontGetGlyphAdvances(CoreGraphicsLibrary.CGFont font,
ShortByReference glyphs,
NativeLong count,
IntByReference advances)
Deprecated. use the safer method CGFontGetGlyphAdvances(org.rococoa.cocoa.coregraphics.CoreGraphicsLibrary.CGFont, java.nio.ShortBuffer, com.sun.jna.NativeLong, java.nio.IntBuffer) instead |
boolean |
CGFontGetGlyphBBoxes(CoreGraphicsLibrary.CGFont font,
ShortBuffer glyphs,
NativeLong count,
Pointer bboxes)
|
boolean |
CGFontGetGlyphBBoxes(CoreGraphicsLibrary.CGFont font,
ShortByReference glyphs,
NativeLong count,
Pointer bboxes)
Deprecated. use the safer method CGFontGetGlyphBBoxes(org.rococoa.cocoa.coregraphics.CoreGraphicsLibrary.CGFont, java.nio.ShortBuffer, com.sun.jna.NativeLong, com.sun.jna.Pointer) instead |
float |
CGFontGetItalicAngle(CoreGraphicsLibrary.CGFont font)
|
int |
CGFontGetLeading(CoreGraphicsLibrary.CGFont font)
|
NativeLong |
CGFontGetNumberOfGlyphs(CoreGraphicsLibrary.CGFont font)
|
float |
CGFontGetStemV(CoreGraphicsLibrary.CGFont font)
|
NativeLong |
CGFontGetTypeID()
|
int |
CGFontGetUnitsPerEm(CoreGraphicsLibrary.CGFont font)
|
int |
CGFontGetXHeight(CoreGraphicsLibrary.CGFont font)
|
void |
CGFontRelease(CoreGraphicsLibrary.CGFont font)
|
CoreGraphicsLibrary.CGFont |
CGFontRetain(CoreGraphicsLibrary.CGFont font)
|
CoreGraphicsLibrary.CGFunction |
CGFunctionCreate(Pointer info,
NativeLong domainDimension,
float[] domain,
NativeLong rangeDimension,
float[] range,
CGFunctionCallbacks callbacks)
|
CoreGraphicsLibrary.CGFunction |
CGFunctionCreate(Pointer info,
NativeLong domainDimension,
FloatBuffer domain,
NativeLong rangeDimension,
FloatBuffer range,
CGFunctionCallbacks callbacks)
|
CoreGraphicsLibrary.CGFunction |
CGFunctionCreate(Pointer info,
NativeLong domainDimension,
FloatByReference domain,
NativeLong rangeDimension,
FloatByReference range,
CGFunctionCallbacks callbacks)
Deprecated. use the safer methods CGFunctionCreate(com.sun.jna.Pointer, com.sun.jna.NativeLong, float[], com.sun.jna.NativeLong, float[], org.rococoa.cocoa.coregraphics.CGFunctionCallbacks) and CGFunctionCreate(com.sun.jna.Pointer, com.sun.jna.NativeLong, java.nio.FloatBuffer, com.sun.jna.NativeLong, java.nio.FloatBuffer, org.rococoa.cocoa.coregraphics.CGFunctionCallbacks) instead |
NativeLong |
CGFunctionGetTypeID()
|
void |
CGFunctionRelease(CoreGraphicsLibrary.CGFunction function)
|
CoreGraphicsLibrary.CGFunction |
CGFunctionRetain(CoreGraphicsLibrary.CGFunction function)
|
int |
CGGetEventTapList(int maxNumberOfTaps,
Pointer tapList,
IntBuffer eventTapCount)
|
int |
CGGetEventTapList(int maxNumberOfTaps,
Pointer tapList,
IntByReference eventTapCount)
Deprecated. use the safer method CGGetEventTapList(int, com.sun.jna.Pointer, java.nio.IntBuffer) instead |
void |
CGGetLastMouseDelta(IntBuffer deltaX,
IntBuffer deltaY)
Report the mouse position change associated with the last mouse move event
recieved by this application. |
void |
CGGetLastMouseDelta(IntByReference deltaX,
IntByReference deltaY)
Deprecated. use the safer method CGGetLastMouseDelta(java.nio.IntBuffer, java.nio.IntBuffer) instead |
CoreGraphicsLibrary.CGContext |
CGGLContextCreate(Pointer glContext,
CGSize.ByValue size,
CoreGraphicsLibrary.CGColorSpace colorspace)
|
void |
CGGLContextUpdateViewportSize(CoreGraphicsLibrary.CGContext c,
CGSize.ByValue size)
|
CoreGraphicsLibrary.CGGradient |
CGGradientCreateWithColorComponents(CoreGraphicsLibrary.CGColorSpace space,
float[] components,
float[] locations,
NativeLong count)
|
CoreGraphicsLibrary.CGGradient |
CGGradientCreateWithColorComponents(CoreGraphicsLibrary.CGColorSpace space,
FloatBuffer components,
FloatBuffer locations,
NativeLong count)
|
CoreGraphicsLibrary.CGGradient |
CGGradientCreateWithColorComponents(CoreGraphicsLibrary.CGColorSpace space,
FloatByReference components,
FloatByReference locations,
NativeLong count)
Deprecated. use the safer methods CGGradientCreateWithColorComponents(org.rococoa.cocoa.coregraphics.CoreGraphicsLibrary.CGColorSpace, float[], float[], com.sun.jna.NativeLong) and CGGradientCreateWithColorComponents(org.rococoa.cocoa.coregraphics.CoreGraphicsLibrary.CGColorSpace, java.nio.FloatBuffer, java.nio.FloatBuffer, com.sun.jna.NativeLong) instead |
CoreGraphicsLibrary.CGGradient |
CGGradientCreateWithColors(CoreGraphicsLibrary.CGColorSpace space,
HIServicesLibrary.__CFArray colors,
float[] locations)
|
CoreGraphicsLibrary.CGGradient |
CGGradientCreateWithColors(CoreGraphicsLibrary.CGColorSpace space,
HIServicesLibrary.__CFArray colors,
FloatBuffer locations)
|
CoreGraphicsLibrary.CGGradient |
CGGradientCreateWithColors(CoreGraphicsLibrary.CGColorSpace space,
HIServicesLibrary.__CFArray colors,
FloatByReference locations)
Deprecated. use the safer methods CGGradientCreateWithColors(org.rococoa.cocoa.coregraphics.CoreGraphicsLibrary.CGColorSpace, org.rococoa.cocoa.hiservices.HIServicesLibrary.__CFArray, float[]) and CGGradientCreateWithColors(org.rococoa.cocoa.coregraphics.CoreGraphicsLibrary.CGColorSpace, org.rococoa.cocoa.hiservices.HIServicesLibrary.__CFArray, java.nio.FloatBuffer) instead |
NativeLong |
CGGradientGetTypeID()
|
void |
CGGradientRelease(CoreGraphicsLibrary.CGGradient gradient)
|
CoreGraphicsLibrary.CGGradient |
CGGradientRetain(CoreGraphicsLibrary.CGGradient gradient)
|
ImageIOLibrary.CGImage |
CGImageCreate(NativeLong width,
NativeLong height,
NativeLong bitsPerComponent,
NativeLong bitsPerPixel,
NativeLong bytesPerRow,
CoreGraphicsLibrary.CGColorSpace colorspace,
int bitmapInfo,
ImageIOLibrary.CGDataProvider provider,
float[] decode,
boolean shouldInterpolate,
int intent)
Original signature : CGImageRef CGImageCreate(size_t, size_t, size_t, size_t, size_t, CGColorSpaceRef, CGBitmapInfo, CGDataProviderRef, const CGFloat[], bool, CGColorRenderingIntent)
|
ImageIOLibrary.CGImage |
CGImageCreate(NativeLong width,
NativeLong height,
NativeLong bitsPerComponent,
NativeLong bitsPerPixel,
NativeLong bytesPerRow,
CoreGraphicsLibrary.CGColorSpace colorspace,
int bitmapInfo,
ImageIOLibrary.CGDataProvider provider,
FloatBuffer decode,
boolean shouldInterpolate,
int intent)
Original signature : CGImageRef CGImageCreate(size_t, size_t, size_t, size_t, size_t, CGColorSpaceRef, CGBitmapInfo, CGDataProviderRef, const CGFloat[], bool, CGColorRenderingIntent)
|
ImageIOLibrary.CGImage |
CGImageCreate(NativeLong width,
NativeLong height,
NativeLong bitsPerComponent,
NativeLong bitsPerPixel,
NativeLong bytesPerRow,
CoreGraphicsLibrary.CGColorSpace colorspace,
int bitmapInfo,
ImageIOLibrary.CGDataProvider provider,
FloatByReference decode,
boolean shouldInterpolate,
int intent)
Deprecated. use the safer methods CGImageCreate(com.sun.jna.NativeLong, com.sun.jna.NativeLong, com.sun.jna.NativeLong, com.sun.jna.NativeLong, com.sun.jna.NativeLong, org.rococoa.cocoa.coregraphics.CoreGraphicsLibrary.CGColorSpace, int, org.rococoa.cocoa.imageio.ImageIOLibrary.CGDataProvider, float[], boolean, int) and CGImageCreate(com.sun.jna.NativeLong, com.sun.jna.NativeLong, com.sun.jna.NativeLong, com.sun.jna.NativeLong, com.sun.jna.NativeLong, org.rococoa.cocoa.coregraphics.CoreGraphicsLibrary.CGColorSpace, int, org.rococoa.cocoa.imageio.ImageIOLibrary.CGDataProvider, java.nio.FloatBuffer, boolean, int) instead
|
ImageIOLibrary.CGImage |
CGImageCreateCopy(ImageIOLibrary.CGImage image)
|
ImageIOLibrary.CGImage |
CGImageCreateCopyWithColorSpace(ImageIOLibrary.CGImage image,
CoreGraphicsLibrary.CGColorSpace colorspace)
|
ImageIOLibrary.CGImage |
CGImageCreateWithImageInRect(ImageIOLibrary.CGImage image,
CGRect.ByValue rect)
|
ImageIOLibrary.CGImage |
CGImageCreateWithJPEGDataProvider(ImageIOLibrary.CGDataProvider source,
float[] decode,
boolean shouldInterpolate,
int intent)
Original signature : CGImageRef CGImageCreateWithJPEGDataProvider(CGDataProviderRef, const CGFloat[], bool, CGColorRenderingIntent)
|
ImageIOLibrary.CGImage |
CGImageCreateWithJPEGDataProvider(ImageIOLibrary.CGDataProvider source,
FloatBuffer decode,
boolean shouldInterpolate,
int intent)
Original signature : CGImageRef CGImageCreateWithJPEGDataProvider(CGDataProviderRef, const CGFloat[], bool, CGColorRenderingIntent)
|
ImageIOLibrary.CGImage |
CGImageCreateWithJPEGDataProvider(ImageIOLibrary.CGDataProvider source,
FloatByReference decode,
boolean shouldInterpolate,
int intent)
Deprecated. use the safer methods CGImageCreateWithJPEGDataProvider(org.rococoa.cocoa.imageio.ImageIOLibrary.CGDataProvider, float[], boolean, int) and CGImageCreateWithJPEGDataProvider(org.rococoa.cocoa.imageio.ImageIOLibrary.CGDataProvider, java.nio.FloatBuffer, boolean, int) instead
|
ImageIOLibrary.CGImage |
CGImageCreateWithMask(ImageIOLibrary.CGImage image,
ImageIOLibrary.CGImage mask)
|
ImageIOLibrary.CGImage |
CGImageCreateWithMaskingColors(ImageIOLibrary.CGImage image,
float[] components)
|
ImageIOLibrary.CGImage |
CGImageCreateWithMaskingColors(ImageIOLibrary.CGImage image,
FloatBuffer components)
|
ImageIOLibrary.CGImage |
CGImageCreateWithMaskingColors(ImageIOLibrary.CGImage image,
FloatByReference components)
Deprecated. use the safer methods CGImageCreateWithMaskingColors(org.rococoa.cocoa.imageio.ImageIOLibrary.CGImage, float[]) and CGImageCreateWithMaskingColors(org.rococoa.cocoa.imageio.ImageIOLibrary.CGImage, java.nio.FloatBuffer) instead |
ImageIOLibrary.CGImage |
CGImageCreateWithPNGDataProvider(ImageIOLibrary.CGDataProvider source,
float[] decode,
boolean shouldInterpolate,
int intent)
Original signature : CGImageRef CGImageCreateWithPNGDataProvider(CGDataProviderRef, const CGFloat[], bool, CGColorRenderingIntent)
|
ImageIOLibrary.CGImage |
CGImageCreateWithPNGDataProvider(ImageIOLibrary.CGDataProvider source,
FloatBuffer decode,
boolean shouldInterpolate,
int intent)
Original signature : CGImageRef CGImageCreateWithPNGDataProvider(CGDataProviderRef, const CGFloat[], bool, CGColorRenderingIntent)
|
ImageIOLibrary.CGImage |
CGImageCreateWithPNGDataProvider(ImageIOLibrary.CGDataProvider source,
FloatByReference decode,
boolean shouldInterpolate,
int intent)
Deprecated. use the safer methods CGImageCreateWithPNGDataProvider(org.rococoa.cocoa.imageio.ImageIOLibrary.CGDataProvider, float[], boolean, int) and CGImageCreateWithPNGDataProvider(org.rococoa.cocoa.imageio.ImageIOLibrary.CGDataProvider, java.nio.FloatBuffer, boolean, int) instead
|
int |
CGImageGetAlphaInfo(ImageIOLibrary.CGImage image)
|
int |
CGImageGetBitmapInfo(ImageIOLibrary.CGImage image)
|
NativeLong |
CGImageGetBitsPerComponent(ImageIOLibrary.CGImage image)
|
NativeLong |
CGImageGetBitsPerPixel(ImageIOLibrary.CGImage image)
|
NativeLong |
CGImageGetBytesPerRow(ImageIOLibrary.CGImage image)
|
CoreGraphicsLibrary.CGColorSpace |
CGImageGetColorSpace(ImageIOLibrary.CGImage image)
|
ImageIOLibrary.CGDataProvider |
CGImageGetDataProvider(ImageIOLibrary.CGImage image)
|
FloatByReference |
CGImageGetDecode(ImageIOLibrary.CGImage image)
|
NativeLong |
CGImageGetHeight(ImageIOLibrary.CGImage image)
|
int |
CGImageGetRenderingIntent(ImageIOLibrary.CGImage image)
|
boolean |
CGImageGetShouldInterpolate(ImageIOLibrary.CGImage image)
|
NativeLong |
CGImageGetTypeID()
|
NativeLong |
CGImageGetWidth(ImageIOLibrary.CGImage image)
|
boolean |
CGImageIsMask(ImageIOLibrary.CGImage image)
|
ImageIOLibrary.CGImage |
CGImageMaskCreate(NativeLong width,
NativeLong height,
NativeLong bitsPerComponent,
NativeLong bitsPerPixel,
NativeLong bytesPerRow,
ImageIOLibrary.CGDataProvider provider,
float[] decode,
boolean shouldInterpolate)
|
ImageIOLibrary.CGImage |
CGImageMaskCreate(NativeLong width,
NativeLong height,
NativeLong bitsPerComponent,
NativeLong bitsPerPixel,
NativeLong bytesPerRow,
ImageIOLibrary.CGDataProvider provider,
FloatBuffer decode,
boolean shouldInterpolate)
|
ImageIOLibrary.CGImage |
CGImageMaskCreate(NativeLong width,
NativeLong height,
NativeLong bitsPerComponent,
NativeLong bitsPerPixel,
NativeLong bytesPerRow,
ImageIOLibrary.CGDataProvider provider,
FloatByReference decode,
boolean shouldInterpolate)
Deprecated. use the safer methods CGImageMaskCreate(com.sun.jna.NativeLong, com.sun.jna.NativeLong, com.sun.jna.NativeLong, com.sun.jna.NativeLong, com.sun.jna.NativeLong, org.rococoa.cocoa.imageio.ImageIOLibrary.CGDataProvider, float[], boolean) and CGImageMaskCreate(com.sun.jna.NativeLong, com.sun.jna.NativeLong, com.sun.jna.NativeLong, com.sun.jna.NativeLong, com.sun.jna.NativeLong, org.rococoa.cocoa.imageio.ImageIOLibrary.CGDataProvider, java.nio.FloatBuffer, boolean) instead |
void |
CGImageRelease(ImageIOLibrary.CGImage image)
|
ImageIOLibrary.CGImage |
CGImageRetain(ImageIOLibrary.CGImage image)
|
int |
CGInhibitLocalEvents(boolean doInhibit)
|
CoreGraphicsLibrary.CGLayer |
CGLayerCreateWithContext(CoreGraphicsLibrary.CGContext context,
CGSize.ByValue size,
HIServicesLibrary.__CFDictionary auxiliaryInfo)
|
CoreGraphicsLibrary.CGContext |
CGLayerGetContext(CoreGraphicsLibrary.CGLayer layer)
|
CGSize.ByValue |
CGLayerGetSize(CoreGraphicsLibrary.CGLayer layer)
|
NativeLong |
CGLayerGetTypeID()
|
void |
CGLayerRelease(CoreGraphicsLibrary.CGLayer layer)
|
CoreGraphicsLibrary.CGLayer |
CGLayerRetain(CoreGraphicsLibrary.CGLayer layer)
|
int |
CGMainDisplayID()
Returns the display ID of the current main display
Original signature : CGDirectDisplayID CGMainDisplayID() |
int |
CGOpenGLDisplayMaskToDisplayID(int mask)
Map an OpenGL display mask to a display. |
CoreGraphicsLibrary._CGDirectPaletteRef |
CGPaletteCreateCopy(CoreGraphicsLibrary._CGDirectPaletteRef palette)
Copy a palette
Original signature : CGDirectPaletteRef CGPaletteCreateCopy(CGDirectPaletteRef) |
CoreGraphicsLibrary._CGDirectPaletteRef |
CGPaletteCreateDefaultColorPalette()
Create a new palette object representing the default 8 bit color palette. |
CoreGraphicsLibrary._CGDirectPaletteRef |
CGPaletteCreateFromPaletteBlendedWithColor(CoreGraphicsLibrary._CGDirectPaletteRef palette,
float fraction,
_CGDeviceColor.ByValue color)
Create a new palette blended with a fraction of a device color. |
CoreGraphicsLibrary._CGDirectPaletteRef |
CGPaletteCreateWithByteSamples(_CGDeviceByteColor sampleTable,
int sampleCount)
Convenience function:
Create a new palette with a capacity and contents as specified. |
CoreGraphicsLibrary._CGDirectPaletteRef |
CGPaletteCreateWithCapacity(int capacity)
Create a new palette with a capacity as specified. |
CoreGraphicsLibrary._CGDirectPaletteRef |
CGPaletteCreateWithDisplay(int display)
Create a copy of the display's current palette, if any. |
CoreGraphicsLibrary._CGDirectPaletteRef |
CGPaletteCreateWithSamples(_CGDeviceColor sampleTable,
int sampleCount)
Create a new palette with a capacity and contents as specified. |
_CGDeviceColor.ByValue |
CGPaletteGetColorAtIndex(CoreGraphicsLibrary._CGDirectPaletteRef palette,
int index)
Get the color value at the specified index
Original signature : CGDeviceColor CGPaletteGetColorAtIndex(CGDirectPaletteRef, CGTableCount) |
int |
CGPaletteGetIndexForColor(CoreGraphicsLibrary._CGDirectPaletteRef palette,
_CGDeviceColor.ByValue color)
Get the index for the specified color value
The index returned is for a palette color with the
lowest RMS error to the specified color. |
int |
CGPaletteGetNumberOfSamples(CoreGraphicsLibrary._CGDirectPaletteRef palette)
Get the number of samples in the palette
Original signature : CGTableCount CGPaletteGetNumberOfSamples(CGDirectPaletteRef) |
boolean |
CGPaletteIsEqualToPalette(CoreGraphicsLibrary._CGDirectPaletteRef palette1,
CoreGraphicsLibrary._CGDirectPaletteRef palette2)
Compare two palettes
Original signature : Boolean CGPaletteIsEqualToPalette(CGDirectPaletteRef, CGDirectPaletteRef) |
void |
CGPaletteRelease(CoreGraphicsLibrary._CGDirectPaletteRef palette)
Release a palette
Original signature : void CGPaletteRelease(CGDirectPaletteRef) |
void |
CGPaletteSetColorAtIndex(CoreGraphicsLibrary._CGDirectPaletteRef palette,
_CGDeviceColor.ByValue color,
int index)
Set the color value at the specified index
Original signature : void CGPaletteSetColorAtIndex(CGDirectPaletteRef, CGDeviceColor, CGTableCount) |
void |
CGPathAddArc(CoreGraphicsLibrary.CGPath path,
CGAffineTransform m,
float x,
float y,
float radius,
float startAngle,
float endAngle,
boolean clockwise)
|
void |
CGPathAddArcToPoint(CoreGraphicsLibrary.CGPath path,
CGAffineTransform m,
float x1,
float y1,
float x2,
float y2,
float radius)
|
void |
CGPathAddCurveToPoint(CoreGraphicsLibrary.CGPath path,
CGAffineTransform m,
float cp1x,
float cp1y,
float cp2x,
float cp2y,
float x,
float y)
|
void |
CGPathAddEllipseInRect(CoreGraphicsLibrary.CGPath path,
CGAffineTransform m,
CGRect.ByValue rect)
|
void |
CGPathAddLines(CoreGraphicsLibrary.CGPath path,
CGAffineTransform m,
Pointer points,
NativeLong count)
|
void |
CGPathAddLineToPoint(CoreGraphicsLibrary.CGPath path,
CGAffineTransform m,
float x,
float y)
|
void |
CGPathAddPath(CoreGraphicsLibrary.CGPath path1,
CGAffineTransform m,
CoreGraphicsLibrary.CGPath path2)
|
void |
CGPathAddQuadCurveToPoint(CoreGraphicsLibrary.CGPath path,
CGAffineTransform m,
float cpx,
float cpy,
float x,
float y)
|
void |
CGPathAddRect(CoreGraphicsLibrary.CGPath path,
CGAffineTransform m,
CGRect.ByValue rect)
|
void |
CGPathAddRects(CoreGraphicsLibrary.CGPath path,
CGAffineTransform m,
Pointer rects,
NativeLong count)
|
void |
CGPathApply(CoreGraphicsLibrary.CGPath path,
Pointer info,
CoreGraphicsLibrary.CGPathApplierFunction function)
|
void |
CGPathCloseSubpath(CoreGraphicsLibrary.CGPath path)
|
boolean |
CGPathContainsPoint(CoreGraphicsLibrary.CGPath path,
CGAffineTransform m,
CGPoint.ByValue point,
boolean eoFill)
|
CoreGraphicsLibrary.CGPath |
CGPathCreateCopy(CoreGraphicsLibrary.CGPath path)
|
CoreGraphicsLibrary.CGPath |
CGPathCreateMutable()
|
CoreGraphicsLibrary.CGPath |
CGPathCreateMutableCopy(CoreGraphicsLibrary.CGPath path)
|
boolean |
CGPathEqualToPath(CoreGraphicsLibrary.CGPath path1,
CoreGraphicsLibrary.CGPath path2)
|
CGRect.ByValue |
CGPathGetBoundingBox(CoreGraphicsLibrary.CGPath path)
|
CGPoint.ByValue |
CGPathGetCurrentPoint(CoreGraphicsLibrary.CGPath path)
|
NativeLong |
CGPathGetTypeID()
|
boolean |
CGPathIsEmpty(CoreGraphicsLibrary.CGPath path)
|
boolean |
CGPathIsRect(CoreGraphicsLibrary.CGPath path,
CGRect rect)
|
void |
CGPathMoveToPoint(CoreGraphicsLibrary.CGPath path,
CGAffineTransform m,
float x,
float y)
|
void |
CGPathRelease(CoreGraphicsLibrary.CGPath path)
|
CoreGraphicsLibrary.CGPath |
CGPathRetain(CoreGraphicsLibrary.CGPath path)
|
CoreGraphicsLibrary.CGPattern |
CGPatternCreate(Pointer info,
CGRect.ByValue bounds,
CGAffineTransform.ByValue matrix,
float xStep,
float yStep,
int tiling,
boolean isColored,
CGPatternCallbacks callbacks)
Original signature : CGPatternRef CGPatternCreate(void*, CGRect, CGAffineTransform, CGFloat, CGFloat, CGPatternTiling, bool, const CGPatternCallbacks*)
|
NativeLong |
CGPatternGetTypeID()
|
void |
CGPatternRelease(CoreGraphicsLibrary.CGPattern pattern)
|
CoreGraphicsLibrary.CGPattern |
CGPatternRetain(CoreGraphicsLibrary.CGPattern pattern)
|
boolean |
CGPDFArrayGetArray(CoreGraphicsLibrary.CGPDFArray array,
NativeLong index,
PointerByReference value)
|
boolean |
CGPDFArrayGetBoolean(CoreGraphicsLibrary.CGPDFArray array,
NativeLong index,
ByteBuffer value)
|
boolean |
CGPDFArrayGetBoolean(CoreGraphicsLibrary.CGPDFArray array,
NativeLong index,
ByteByReference value)
Deprecated. use the safer method CGPDFArrayGetBoolean(org.rococoa.cocoa.coregraphics.CoreGraphicsLibrary.CGPDFArray, com.sun.jna.NativeLong, java.nio.ByteBuffer) instead |
NativeLong |
CGPDFArrayGetCount(CoreGraphicsLibrary.CGPDFArray array)
|
boolean |
CGPDFArrayGetDictionary(CoreGraphicsLibrary.CGPDFArray array,
NativeLong index,
PointerByReference value)
|
boolean |
CGPDFArrayGetInteger(CoreGraphicsLibrary.CGPDFArray array,
NativeLong index,
IntBuffer value)
|
boolean |
CGPDFArrayGetInteger(CoreGraphicsLibrary.CGPDFArray array,
NativeLong index,
IntByReference value)
Deprecated. use the safer method CGPDFArrayGetInteger(org.rococoa.cocoa.coregraphics.CoreGraphicsLibrary.CGPDFArray, com.sun.jna.NativeLong, java.nio.IntBuffer) instead |
boolean |
CGPDFArrayGetName(CoreGraphicsLibrary.CGPDFArray array,
NativeLong index,
PointerByReference value)
Deprecated. use the safer method CGPDFArrayGetName(org.rococoa.cocoa.coregraphics.CoreGraphicsLibrary.CGPDFArray, com.sun.jna.NativeLong, java.lang.String[]) instead |
boolean |
CGPDFArrayGetName(CoreGraphicsLibrary.CGPDFArray array,
NativeLong index,
String[] value)
|
boolean |
CGPDFArrayGetNull(CoreGraphicsLibrary.CGPDFArray array,
NativeLong index)
|
boolean |
CGPDFArrayGetNumber(CoreGraphicsLibrary.CGPDFArray array,
NativeLong index,
FloatBuffer value)
|
boolean |
CGPDFArrayGetNumber(CoreGraphicsLibrary.CGPDFArray array,
NativeLong index,
FloatByReference value)
Deprecated. use the safer method CGPDFArrayGetNumber(org.rococoa.cocoa.coregraphics.CoreGraphicsLibrary.CGPDFArray, com.sun.jna.NativeLong, java.nio.FloatBuffer) instead |
boolean |
CGPDFArrayGetObject(CoreGraphicsLibrary.CGPDFArray array,
NativeLong index,
PointerByReference value)
|
boolean |
CGPDFArrayGetStream(CoreGraphicsLibrary.CGPDFArray array,
NativeLong index,
PointerByReference value)
|
boolean |
CGPDFArrayGetString(CoreGraphicsLibrary.CGPDFArray array,
NativeLong index,
PointerByReference value)
|
CoreGraphicsLibrary.CGPDFContentStream |
CGPDFContentStreamCreateWithPage(CoreGraphicsLibrary.CGPDFPage page)
|
CoreGraphicsLibrary.CGPDFContentStream |
CGPDFContentStreamCreateWithStream(CoreGraphicsLibrary.CGPDFStream stream,
CoreGraphicsLibrary.CGPDFDictionary streamResources,
CoreGraphicsLibrary.CGPDFContentStream parent)
|
CoreGraphicsLibrary.CGPDFObject |
CGPDFContentStreamGetResource(CoreGraphicsLibrary.CGPDFContentStream cs,
ByteByReference category,
ByteByReference name)
Deprecated. use the safer method CGPDFContentStreamGetResource(org.rococoa.cocoa.coregraphics.CoreGraphicsLibrary.CGPDFContentStream, java.lang.String, java.lang.String) instead |
CoreGraphicsLibrary.CGPDFObject |
CGPDFContentStreamGetResource(CoreGraphicsLibrary.CGPDFContentStream cs,
String category,
String name)
|
HIServicesLibrary.__CFArray |
CGPDFContentStreamGetStreams(CoreGraphicsLibrary.CGPDFContentStream cs)
|
void |
CGPDFContentStreamRelease(CoreGraphicsLibrary.CGPDFContentStream cs)
|
CoreGraphicsLibrary.CGPDFContentStream |
CGPDFContentStreamRetain(CoreGraphicsLibrary.CGPDFContentStream cs)
|
void |
CGPDFContextBeginPage(CoreGraphicsLibrary.CGContext context,
HIServicesLibrary.__CFDictionary pageInfo)
|
void |
CGPDFContextClose(CoreGraphicsLibrary.CGContext context)
|
CoreGraphicsLibrary.CGContext |
CGPDFContextCreate(ImageIOLibrary.CGDataConsumer consumer,
CGRect mediaBox,
HIServicesLibrary.__CFDictionary auxiliaryInfo)
|
CoreGraphicsLibrary.CGContext |
CGPDFContextCreateWithURL(AudioUnitLibrary.__CFURL url,
CGRect mediaBox,
HIServicesLibrary.__CFDictionary auxiliaryInfo)
|
void |
CGPDFContextEndPage(CoreGraphicsLibrary.CGContext context)
|
void |
CGPDFContextSetURLForRect(CoreGraphicsLibrary.CGContext context,
AudioUnitLibrary.__CFURL url,
CGRect.ByValue rect)
|
void |
CGPDFDictionaryApplyFunction(CoreGraphicsLibrary.CGPDFDictionary dict,
CoreGraphicsLibrary.CGPDFDictionaryApplierFunction function,
Pointer info)
|
boolean |
CGPDFDictionaryGetArray(CoreGraphicsLibrary.CGPDFDictionary dict,
ByteByReference key,
PointerByReference value)
Deprecated. use the safer method CGPDFDictionaryGetArray(org.rococoa.cocoa.coregraphics.CoreGraphicsLibrary.CGPDFDictionary, java.lang.String, com.sun.jna.ptr.PointerByReference) instead |
boolean |
CGPDFDictionaryGetArray(CoreGraphicsLibrary.CGPDFDictionary dict,
String key,
PointerByReference value)
|
boolean |
CGPDFDictionaryGetBoolean(CoreGraphicsLibrary.CGPDFDictionary dict,
ByteByReference key,
ByteByReference value)
Deprecated. use the safer method CGPDFDictionaryGetBoolean(org.rococoa.cocoa.coregraphics.CoreGraphicsLibrary.CGPDFDictionary, java.lang.String, java.nio.ByteBuffer) instead |
boolean |
CGPDFDictionaryGetBoolean(CoreGraphicsLibrary.CGPDFDictionary dict,
String key,
ByteBuffer value)
|
NativeLong |
CGPDFDictionaryGetCount(CoreGraphicsLibrary.CGPDFDictionary dict)
|
boolean |
CGPDFDictionaryGetDictionary(CoreGraphicsLibrary.CGPDFDictionary dict,
ByteByReference key,
PointerByReference value)
Deprecated. use the safer method CGPDFDictionaryGetDictionary(org.rococoa.cocoa.coregraphics.CoreGraphicsLibrary.CGPDFDictionary, java.lang.String, com.sun.jna.ptr.PointerByReference) instead |
boolean |
CGPDFDictionaryGetDictionary(CoreGraphicsLibrary.CGPDFDictionary dict,
String key,
PointerByReference value)
|
boolean |
CGPDFDictionaryGetInteger(CoreGraphicsLibrary.CGPDFDictionary dict,
ByteByReference key,
IntByReference value)
Deprecated. use the safer method CGPDFDictionaryGetInteger(org.rococoa.cocoa.coregraphics.CoreGraphicsLibrary.CGPDFDictionary, java.lang.String, java.nio.IntBuffer) instead |
boolean |
CGPDFDictionaryGetInteger(CoreGraphicsLibrary.CGPDFDictionary dict,
String key,
IntBuffer value)
|
boolean |
CGPDFDictionaryGetName(CoreGraphicsLibrary.CGPDFDictionary dict,
ByteByReference key,
PointerByReference value)
Deprecated. use the safer method CGPDFDictionaryGetName(org.rococoa.cocoa.coregraphics.CoreGraphicsLibrary.CGPDFDictionary, java.lang.String, java.lang.String[]) instead |
boolean |
CGPDFDictionaryGetName(CoreGraphicsLibrary.CGPDFDictionary dict,
String key,
String[] value)
|
boolean |
CGPDFDictionaryGetNumber(CoreGraphicsLibrary.CGPDFDictionary dict,
ByteByReference key,
FloatByReference value)
Deprecated. use the safer method CGPDFDictionaryGetNumber(org.rococoa.cocoa.coregraphics.CoreGraphicsLibrary.CGPDFDictionary, java.lang.String, java.nio.FloatBuffer) instead |
boolean |
CGPDFDictionaryGetNumber(CoreGraphicsLibrary.CGPDFDictionary dict,
String key,
FloatBuffer value)
|
boolean |
CGPDFDictionaryGetObject(CoreGraphicsLibrary.CGPDFDictionary dict,
ByteByReference key,
PointerByReference value)
Deprecated. use the safer method CGPDFDictionaryGetObject(org.rococoa.cocoa.coregraphics.CoreGraphicsLibrary.CGPDFDictionary, java.lang.String, com.sun.jna.ptr.PointerByReference) instead |
boolean |
CGPDFDictionaryGetObject(CoreGraphicsLibrary.CGPDFDictionary dict,
String key,
PointerByReference value)
|
boolean |
CGPDFDictionaryGetStream(CoreGraphicsLibrary.CGPDFDictionary dict,
ByteByReference key,
PointerByReference value)
Deprecated. use the safer method CGPDFDictionaryGetStream(org.rococoa.cocoa.coregraphics.CoreGraphicsLibrary.CGPDFDictionary, java.lang.String, com.sun.jna.ptr.PointerByReference) instead |
boolean |
CGPDFDictionaryGetStream(CoreGraphicsLibrary.CGPDFDictionary dict,
String key,
PointerByReference value)
|
boolean |
CGPDFDictionaryGetString(CoreGraphicsLibrary.CGPDFDictionary dict,
ByteByReference key,
PointerByReference value)
Deprecated. use the safer method CGPDFDictionaryGetString(org.rococoa.cocoa.coregraphics.CoreGraphicsLibrary.CGPDFDictionary, java.lang.String, com.sun.jna.ptr.PointerByReference) instead |
boolean |
CGPDFDictionaryGetString(CoreGraphicsLibrary.CGPDFDictionary dict,
String key,
PointerByReference value)
|
boolean |
CGPDFDocumentAllowsCopying(CoreGraphicsLibrary.CGPDFDocument document)
|
boolean |
CGPDFDocumentAllowsPrinting(CoreGraphicsLibrary.CGPDFDocument document)
|
CoreGraphicsLibrary.CGPDFDocument |
CGPDFDocumentCreateWithProvider(ImageIOLibrary.CGDataProvider provider)
|
CoreGraphicsLibrary.CGPDFDocument |
CGPDFDocumentCreateWithURL(AudioUnitLibrary.__CFURL url)
|
CGRect.ByValue |
CGPDFDocumentGetArtBox(CoreGraphicsLibrary.CGPDFDocument document,
int page)
|
CGRect.ByValue |
CGPDFDocumentGetBleedBox(CoreGraphicsLibrary.CGPDFDocument document,
int page)
|
CoreGraphicsLibrary.CGPDFDictionary |
CGPDFDocumentGetCatalog(CoreGraphicsLibrary.CGPDFDocument document)
|
CGRect.ByValue |
CGPDFDocumentGetCropBox(CoreGraphicsLibrary.CGPDFDocument document,
int page)
|
CoreGraphicsLibrary.CGPDFArray |
CGPDFDocumentGetID(CoreGraphicsLibrary.CGPDFDocument document)
|
CoreGraphicsLibrary.CGPDFDictionary |
CGPDFDocumentGetInfo(CoreGraphicsLibrary.CGPDFDocument document)
|
CGRect.ByValue |
CGPDFDocumentGetMediaBox(CoreGraphicsLibrary.CGPDFDocument document,
int page)
|
NativeLong |
CGPDFDocumentGetNumberOfPages(CoreGraphicsLibrary.CGPDFDocument document)
|
CoreGraphicsLibrary.CGPDFPage |
CGPDFDocumentGetPage(CoreGraphicsLibrary.CGPDFDocument document,
NativeLong pageNumber)
|
int |
CGPDFDocumentGetRotationAngle(CoreGraphicsLibrary.CGPDFDocument document,
int page)
|
CGRect.ByValue |
CGPDFDocumentGetTrimBox(CoreGraphicsLibrary.CGPDFDocument document,
int page)
|
NativeLong |
CGPDFDocumentGetTypeID()
|
void |
CGPDFDocumentGetVersion(CoreGraphicsLibrary.CGPDFDocument document,
IntBuffer majorVersion,
IntBuffer minorVersion)
|
void |
CGPDFDocumentGetVersion(CoreGraphicsLibrary.CGPDFDocument document,
IntByReference majorVersion,
IntByReference minorVersion)
Deprecated. use the safer method CGPDFDocumentGetVersion(org.rococoa.cocoa.coregraphics.CoreGraphicsLibrary.CGPDFDocument, java.nio.IntBuffer, java.nio.IntBuffer) instead |
boolean |
CGPDFDocumentIsEncrypted(CoreGraphicsLibrary.CGPDFDocument document)
|
boolean |
CGPDFDocumentIsUnlocked(CoreGraphicsLibrary.CGPDFDocument document)
|
void |
CGPDFDocumentRelease(CoreGraphicsLibrary.CGPDFDocument document)
|
CoreGraphicsLibrary.CGPDFDocument |
CGPDFDocumentRetain(CoreGraphicsLibrary.CGPDFDocument document)
|
boolean |
CGPDFDocumentUnlockWithPassword(CoreGraphicsLibrary.CGPDFDocument document,
ByteByReference password)
Deprecated. use the safer method CGPDFDocumentUnlockWithPassword(org.rococoa.cocoa.coregraphics.CoreGraphicsLibrary.CGPDFDocument, java.lang.String) instead |
boolean |
CGPDFDocumentUnlockWithPassword(CoreGraphicsLibrary.CGPDFDocument document,
String password)
|
int |
CGPDFObjectGetType(CoreGraphicsLibrary.CGPDFObject object)
|
boolean |
CGPDFObjectGetValue(CoreGraphicsLibrary.CGPDFObject object,
int type,
Pointer value)
Original signature : bool CGPDFObjectGetValue(CGPDFObjectRef, CGPDFObjectType, void*)
|
CoreGraphicsLibrary.CGPDFOperatorTable |
CGPDFOperatorTableCreate()
|
void |
CGPDFOperatorTableRelease(CoreGraphicsLibrary.CGPDFOperatorTable table)
|
CoreGraphicsLibrary.CGPDFOperatorTable |
CGPDFOperatorTableRetain(CoreGraphicsLibrary.CGPDFOperatorTable table)
|
void |
CGPDFOperatorTableSetCallback(CoreGraphicsLibrary.CGPDFOperatorTable table,
ByteByReference name,
CoreGraphicsLibrary.CGPDFOperatorCallback callback)
Deprecated. use the safer method CGPDFOperatorTableSetCallback(org.rococoa.cocoa.coregraphics.CoreGraphicsLibrary.CGPDFOperatorTable, java.lang.String, org.rococoa.cocoa.coregraphics.CoreGraphicsLibrary.CGPDFOperatorCallback) instead |
void |
CGPDFOperatorTableSetCallback(CoreGraphicsLibrary.CGPDFOperatorTable table,
String name,
CoreGraphicsLibrary.CGPDFOperatorCallback callback)
|
CGRect.ByValue |
CGPDFPageGetBoxRect(CoreGraphicsLibrary.CGPDFPage page,
int box)
Original signature : CGRect CGPDFPageGetBoxRect(CGPDFPageRef, CGPDFBox)
|
CoreGraphicsLibrary.CGPDFDictionary |
CGPDFPageGetDictionary(CoreGraphicsLibrary.CGPDFPage page)
|
CoreGraphicsLibrary.CGPDFDocument |
CGPDFPageGetDocument(CoreGraphicsLibrary.CGPDFPage page)
|
CGAffineTransform.ByValue |
CGPDFPageGetDrawingTransform(CoreGraphicsLibrary.CGPDFPage page,
int box,
CGRect.ByValue rect,
int rotate,
boolean preserveAspectRatio)
Original signature : CGAffineTransform CGPDFPageGetDrawingTransform(CGPDFPageRef, CGPDFBox, CGRect, int, bool)
|
NativeLong |
CGPDFPageGetPageNumber(CoreGraphicsLibrary.CGPDFPage page)
|
int |
CGPDFPageGetRotationAngle(CoreGraphicsLibrary.CGPDFPage page)
|
NativeLong |
CGPDFPageGetTypeID()
|
void |
CGPDFPageRelease(CoreGraphicsLibrary.CGPDFPage page)
|
CoreGraphicsLibrary.CGPDFPage |
CGPDFPageRetain(CoreGraphicsLibrary.CGPDFPage page)
|
CoreGraphicsLibrary.CGPDFScanner |
CGPDFScannerCreate(CoreGraphicsLibrary.CGPDFContentStream cs,
CoreGraphicsLibrary.CGPDFOperatorTable table,
Pointer info)
|
CoreGraphicsLibrary.CGPDFContentStream |
CGPDFScannerGetContentStream(CoreGraphicsLibrary.CGPDFScanner scanner)
|
boolean |
CGPDFScannerPopArray(CoreGraphicsLibrary.CGPDFScanner scanner,
PointerByReference value)
|
boolean |
CGPDFScannerPopBoolean(CoreGraphicsLibrary.CGPDFScanner scanner,
ByteBuffer value)
|
boolean |
CGPDFScannerPopBoolean(CoreGraphicsLibrary.CGPDFScanner scanner,
ByteByReference value)
Deprecated. use the safer method CGPDFScannerPopBoolean(org.rococoa.cocoa.coregraphics.CoreGraphicsLibrary.CGPDFScanner, java.nio.ByteBuffer) instead |
boolean |
CGPDFScannerPopDictionary(CoreGraphicsLibrary.CGPDFScanner scanner,
PointerByReference value)
|
boolean |
CGPDFScannerPopInteger(CoreGraphicsLibrary.CGPDFScanner scanner,
IntBuffer value)
|
boolean |
CGPDFScannerPopInteger(CoreGraphicsLibrary.CGPDFScanner scanner,
IntByReference value)
Deprecated. use the safer method CGPDFScannerPopInteger(org.rococoa.cocoa.coregraphics.CoreGraphicsLibrary.CGPDFScanner, java.nio.IntBuffer) instead |
boolean |
CGPDFScannerPopName(CoreGraphicsLibrary.CGPDFScanner scanner,
PointerByReference value)
Deprecated. use the safer method CGPDFScannerPopName(org.rococoa.cocoa.coregraphics.CoreGraphicsLibrary.CGPDFScanner, java.lang.String[]) instead |
boolean |
CGPDFScannerPopName(CoreGraphicsLibrary.CGPDFScanner scanner,
String[] value)
|
boolean |
CGPDFScannerPopNumber(CoreGraphicsLibrary.CGPDFScanner scanner,
FloatBuffer value)
|
boolean |
CGPDFScannerPopNumber(CoreGraphicsLibrary.CGPDFScanner scanner,
FloatByReference value)
Deprecated. use the safer method CGPDFScannerPopNumber(org.rococoa.cocoa.coregraphics.CoreGraphicsLibrary.CGPDFScanner, java.nio.FloatBuffer) instead |
boolean |
CGPDFScannerPopObject(CoreGraphicsLibrary.CGPDFScanner scanner,
PointerByReference value)
|
boolean |
CGPDFScannerPopStream(CoreGraphicsLibrary.CGPDFScanner scanner,
PointerByReference value)
|
boolean |
CGPDFScannerPopString(CoreGraphicsLibrary.CGPDFScanner scanner,
PointerByReference value)
|
void |
CGPDFScannerRelease(CoreGraphicsLibrary.CGPDFScanner scanner)
|
CoreGraphicsLibrary.CGPDFScanner |
CGPDFScannerRetain(CoreGraphicsLibrary.CGPDFScanner scanner)
|
boolean |
CGPDFScannerScan(CoreGraphicsLibrary.CGPDFScanner scanner)
|
CoreGraphicsLibrary.CGPDFDictionary |
CGPDFStreamGetDictionary(CoreGraphicsLibrary.CGPDFStream stream)
|
CoreFoundationLibrary.__CFDate |
CGPDFStringCopyDate(CoreGraphicsLibrary.CGPDFString string)
|
ByteByReference |
CGPDFStringGetBytePtr(CoreGraphicsLibrary.CGPDFString string)
|
NativeLong |
CGPDFStringGetLength(CoreGraphicsLibrary.CGPDFString string)
|
CGPoint.ByValue |
CGPointApplyAffineTransform(CGPoint.ByValue point,
CGAffineTransform.ByValue t)
|
HIServicesLibrary.__CFDictionary |
CGPointCreateDictionaryRepresentation(CGPoint.ByValue point)
|
boolean |
CGPointEqualToPoint(CGPoint.ByValue point1,
CGPoint.ByValue point2)
|
boolean |
CGPointMakeWithDictionaryRepresentation(HIServicesLibrary.__CFDictionary dict,
CGPoint point)
|
int |
CGPostKeyboardEvent(short keyChar,
short virtualKey,
boolean keyDown)
|
int |
CGPostMouseEvent(CGPoint.ByValue mouseCursorPosition,
boolean updateMouseCursorPosition,
int buttonCount,
boolean mouseButtonDown,
Object... varargs)
|
int |
CGPostScrollWheelEvent(int wheelCount,
int wheel1,
Object... varargs)
|
boolean |
CGPSConverterAbort(CoreGraphicsLibrary.CGPSConverter converter)
|
boolean |
CGPSConverterConvert(CoreGraphicsLibrary.CGPSConverter converter,
ImageIOLibrary.CGDataProvider provider,
ImageIOLibrary.CGDataConsumer consumer,
HIServicesLibrary.__CFDictionary options)
|
CoreGraphicsLibrary.CGPSConverter |
CGPSConverterCreate(Pointer info,
CGPSConverterCallbacks callbacks,
HIServicesLibrary.__CFDictionary options)
|
NativeLong |
CGPSConverterGetTypeID()
|
boolean |
CGPSConverterIsConverting(CoreGraphicsLibrary.CGPSConverter converter)
|
CGRect.ByValue |
CGRectApplyAffineTransform(CGRect.ByValue rect,
CGAffineTransform.ByValue t)
|
boolean |
CGRectContainsPoint(CGRect.ByValue rect,
CGPoint.ByValue point)
|
boolean |
CGRectContainsRect(CGRect.ByValue rect1,
CGRect.ByValue rect2)
|
HIServicesLibrary.__CFDictionary |
CGRectCreateDictionaryRepresentation(CGRect.ByValue CGRect1)
|
void |
CGRectDivide(CGRect.ByValue rect,
CGRect slice,
CGRect remainder,
float amount,
int edge)
Original signature : void CGRectDivide(CGRect, CGRect*, CGRect*, CGFloat, CGRectEdge)
|
boolean |
CGRectEqualToRect(CGRect.ByValue rect1,
CGRect.ByValue rect2)
|
float |
CGRectGetHeight(CGRect.ByValue rect)
|
float |
CGRectGetMaxX(CGRect.ByValue rect)
|
float |
CGRectGetMaxY(CGRect.ByValue rect)
|
float |
CGRectGetMidX(CGRect.ByValue rect)
|
float |
CGRectGetMidY(CGRect.ByValue rect)
|
float |
CGRectGetMinX(CGRect.ByValue rect)
|
float |
CGRectGetMinY(CGRect.ByValue rect)
|
float |
CGRectGetWidth(CGRect.ByValue rect)
|
CGRect.ByValue |
CGRectInset(CGRect.ByValue rect,
float dx,
float dy)
|
CGRect.ByValue |
CGRectIntegral(CGRect.ByValue rect)
|
CGRect.ByValue |
CGRectIntersection(CGRect.ByValue r1,
CGRect.ByValue r2)
|
boolean |
CGRectIntersectsRect(CGRect.ByValue rect1,
CGRect.ByValue rect2)
|
boolean |
CGRectIsEmpty(CGRect.ByValue rect)
|
boolean |
CGRectIsInfinite(CGRect.ByValue rect)
|
boolean |
CGRectIsNull(CGRect.ByValue rect)
|
boolean |
CGRectMakeWithDictionaryRepresentation(HIServicesLibrary.__CFDictionary dict,
CGRect rect)
|
CGRect.ByValue |
CGRectOffset(CGRect.ByValue rect,
float dx,
float dy)
|
CGRect.ByValue |
CGRectStandardize(CGRect.ByValue rect)
|
CGRect.ByValue |
CGRectUnion(CGRect.ByValue r1,
CGRect.ByValue r2)
|
int |
CGRegisterScreenRefreshCallback(CoreGraphicsLibrary.CGScreenRefreshCallback function,
Pointer userParameter)
|
int |
CGReleaseDisplayFadeReservation(int myToken)
|
void |
CGReleaseScreenRefreshRects(CGRect rectArray)
Deallocate the list of rects recieved from CGWaitForScreenRefreshRects()
Original signature : void CGReleaseScreenRefreshRects(CGRect*) |
void |
CGRestorePermanentDisplayConfiguration()
Restore the permanent display configuration from the user's display preferences settings
Original signature : void CGRestorePermanentDisplayConfiguration() |
int |
CGScreenRegisterMoveCallback(CoreGraphicsLibrary.CGScreenUpdateMoveCallback function,
Pointer userParameter)
|
void |
CGScreenUnregisterMoveCallback(CoreGraphicsLibrary.CGScreenUpdateMoveCallback function,
Pointer userParameter)
Remove a previously registered callback function. |
HIServicesLibrary.__CFDictionary |
CGSessionCopyCurrentDictionary()
Fetch the current session's dictionary
Returns NULL if the caller is not within a GUI session, as when the caller is a UNIX daemon,
or if a system is configured to not run a Quartz GUI (window server disabled)
Original signature : CFDictionaryRef CGSessionCopyCurrentDictionary() |
int |
CGSetLocalEventsFilterDuringSuppressionState(int filter,
int state)
|
int |
CGSetLocalEventsSuppressionInterval(double seconds)
|
CoreGraphicsLibrary.CGShading |
CGShadingCreateAxial(CoreGraphicsLibrary.CGColorSpace colorspace,
CGPoint.ByValue start,
CGPoint.ByValue end,
CoreGraphicsLibrary.CGFunction function,
boolean extendStart,
boolean extendEnd)
|
CoreGraphicsLibrary.CGShading |
CGShadingCreateRadial(CoreGraphicsLibrary.CGColorSpace colorspace,
CGPoint.ByValue start,
float startRadius,
CGPoint.ByValue end,
float endRadius,
CoreGraphicsLibrary.CGFunction function,
boolean extendStart,
boolean extendEnd)
|
NativeLong |
CGShadingGetTypeID()
|
void |
CGShadingRelease(CoreGraphicsLibrary.CGShading shading)
|
CoreGraphicsLibrary.CGShading |
CGShadingRetain(CoreGraphicsLibrary.CGShading shading)
|
int |
CGShieldingWindowID(int display)
Returns CoreGraphics raw shield window ID or NULL if not shielded
This value may be used with drawing surface APIs. |
int |
CGShieldingWindowLevel()
Returns the window level used for the shield window. |
CGSize.ByValue |
CGSizeApplyAffineTransform(CGSize.ByValue size,
CGAffineTransform.ByValue t)
|
HIServicesLibrary.__CFDictionary |
CGSizeCreateDictionaryRepresentation(CGSize.ByValue size)
|
boolean |
CGSizeEqualToSize(CGSize.ByValue size1,
CGSize.ByValue size2)
|
boolean |
CGSizeMakeWithDictionaryRepresentation(HIServicesLibrary.__CFDictionary dict,
CGSize size)
|
void |
CGUnregisterScreenRefreshCallback(CoreGraphicsLibrary.CGScreenRefreshCallback function,
Pointer userParameter)
Remove a previously registered calback function. |
int |
CGWaitForScreenRefreshRects(PointerByReference pRectArray,
IntBuffer pCount)
|
int |
CGWaitForScreenRefreshRects(PointerByReference pRectArray,
IntByReference pCount)
Deprecated. use the safer method CGWaitForScreenRefreshRects(com.sun.jna.ptr.PointerByReference, java.nio.IntBuffer) instead |
int |
CGWaitForScreenUpdateRects(int requestedOperations,
int currentOperation,
PointerByReference pRectArray,
NativeLongByReference pCount,
_CGScreenUpdateMoveDelta pDelta)
|
int |
CGWarpMouseCursorPosition(CGPoint.ByValue newCursorPosition)
|
int |
CGWindowLevelForKey(int key)
|
HIServicesLibrary.__CFArray |
CGWindowListCopyWindowInfo(int option,
int relativeToWindow)
CGWindowListCopyWindowInfo
Copy the CFArray of CFDictionaries, with each dictionary containing descriptive information
on a window within the user session. |
HIServicesLibrary.__CFArray |
CGWindowListCreate(int option,
int relativeToWindow)
CGWindowListCreate:
Create a CFArray of CGWindowID values for windows within the user session, using the window
list options and relative window, if needed. |
HIServicesLibrary.__CFArray |
CGWindowListCreateDescriptionFromArray(HIServicesLibrary.__CFArray windowArray)
CGWindowListCreateDescriptionFromArray
Create a CFArray of CFDictionaries, with each dictionary containing descriptive information
on a window ID provided in windowArray if the window exists. |
ImageIOLibrary.CGImage |
CGWindowListCreateImage(CGRect.ByValue screenBounds,
int windowOption,
int windowID,
int imageOption)
|
ImageIOLibrary.CGImage |
CGWindowListCreateImageFromArray(CGRect.ByValue screenBounds,
HIServicesLibrary.__CFArray windowArray,
int imageOption)
CGWindowListCreateImageFromArray:
* Create a CGImage containing a composite of the specified list of windows. |
CoreFoundationLibrary.__CFMachPort |
CGWindowServerCFMachPort()
Some classes of applications need to detect when the window server process dies, or
is not running. |
INSTANCE
static final CoreGraphicsLibrary INSTANCE
kCGFontIndexMax
static final int kCGFontIndexMax
- See Also:
- Constant Field Values
kCGFontIndexInvalid
static final int kCGFontIndexInvalid
- See Also:
- Constant Field Values
kCGGlyphMax
static final int kCGGlyphMax
- See Also:
- Constant Field Values
CGGlyphMin
static final int CGGlyphMin
- See Also:
- Constant Field Values
CGGlyphMax
static final int CGGlyphMax
- See Also:
- Constant Field Values
kCGCaptureNoOptions
static final int kCGCaptureNoOptions
- Options used with CGDisplayCaptureWithOptions and CGCaptureAllDisplaysWithOptions
Default behavior
- See Also:
- Constant Field Values
kCGCaptureNoFill
static final int kCGCaptureNoFill
- Options used with CGDisplayCaptureWithOptions and CGCaptureAllDisplaysWithOptions
Disables fill with black on display capture
- See Also:
- Constant Field Values
kCGConfigureForAppOnly
static final int kCGConfigureForAppOnly
- Perform the requested reconfigurations and discard the configRef
* A configuration change can apply for the life of an app, the life of a login session, or
permanently. If a request is made to make a change permanent, and the change
cannot be supported by the Aqua UI (resolution and pixel depth constraints apply),
then the configuration change is demoted to lasting the session.
* A permanent configuration change also becomes the current session's
configuration.
* When the system reverts confgurations at app termination, the
configuration always reverts to the session or permanent configuration setting.
* When the system reverts confgurations at session termination, the
configuration always reverts to the permanent configuration setting.
* This operation may fail if:
An unsupported display mode is requested
Another app is running in full-screen mode
- See Also:
- Constant Field Values
kCGConfigureForSession
static final int kCGConfigureForSession
- Perform the requested reconfigurations and discard the configRef
* A configuration change can apply for the life of an app, the life of a login session, or
permanently. If a request is made to make a change permanent, and the change
cannot be supported by the Aqua UI (resolution and pixel depth constraints apply),
then the configuration change is demoted to lasting the session.
* A permanent configuration change also becomes the current session's
configuration.
* When the system reverts confgurations at app termination, the
configuration always reverts to the session or permanent configuration setting.
* When the system reverts confgurations at session termination, the
configuration always reverts to the permanent configuration setting.
* This operation may fail if:
An unsupported display mode is requested
Another app is running in full-screen mode
- See Also:
- Constant Field Values
kCGConfigurePermanently
static final int kCGConfigurePermanently
- Perform the requested reconfigurations and discard the configRef
* A configuration change can apply for the life of an app, the life of a login session, or
permanently. If a request is made to make a change permanent, and the change
cannot be supported by the Aqua UI (resolution and pixel depth constraints apply),
then the configuration change is demoted to lasting the session.
* A permanent configuration change also becomes the current session's
configuration.
* When the system reverts confgurations at app termination, the
configuration always reverts to the session or permanent configuration setting.
* When the system reverts confgurations at session termination, the
configuration always reverts to the permanent configuration setting.
* This operation may fail if:
An unsupported display mode is requested
Another app is running in full-screen mode
- See Also:
- Constant Field Values
kCGDisplayBeginConfigurationFlag
static final int kCGDisplayBeginConfigurationFlag
- See Also:
- Constant Field Values
kCGDisplayMovedFlag
static final int kCGDisplayMovedFlag
- See Also:
- Constant Field Values
kCGDisplaySetMainFlag
static final int kCGDisplaySetMainFlag
- See Also:
- Constant Field Values
kCGDisplaySetModeFlag
static final int kCGDisplaySetModeFlag
- See Also:
- Constant Field Values
kCGDisplayAddFlag
static final int kCGDisplayAddFlag
- See Also:
- Constant Field Values
kCGDisplayRemoveFlag
static final int kCGDisplayRemoveFlag
- See Also:
- Constant Field Values
kCGDisplayEnabledFlag
static final int kCGDisplayEnabledFlag
- See Also:
- Constant Field Values
kCGDisplayDisabledFlag
static final int kCGDisplayDisabledFlag
- See Also:
- Constant Field Values
kCGDisplayMirrorFlag
static final int kCGDisplayMirrorFlag
- See Also:
- Constant Field Values
kCGDisplayUnMirrorFlag
static final int kCGDisplayUnMirrorFlag
- See Also:
- Constant Field Values
kCGDisplayDesktopShapeChangedFlag
static final int kCGDisplayDesktopShapeChangedFlag
- See Also:
- Constant Field Values
kCGWindowSharingNone
static final int kCGWindowSharingNone
- See Also:
- Constant Field Values
kCGWindowSharingReadOnly
static final int kCGWindowSharingReadOnly
- See Also:
- Constant Field Values
kCGWindowSharingReadWrite
static final int kCGWindowSharingReadWrite
- See Also:
- Constant Field Values
kCGBackingStoreRetained
static final int kCGBackingStoreRetained
- See Also:
- Constant Field Values
kCGBackingStoreNonretained
static final int kCGBackingStoreNonretained
- See Also:
- Constant Field Values
kCGBackingStoreBuffered
static final int kCGBackingStoreBuffered
- See Also:
- Constant Field Values
kCGWindowListOptionAll
static final int kCGWindowListOptionAll
- Values for CGWindowListOption. These may be ORed together
List all windows in this user session, including both on and off-screen windows.
relativeToWindow should be kCGNullWindowID.
- See Also:
- Constant Field Values
kCGWindowListOptionOnScreenOnly
static final int kCGWindowListOptionOnScreenOnly
- Values for CGWindowListOption. These may be ORed together
List all on-screen windows in this user session, ordered from front to back.
relativeToWindow should be kCGNullWindowID.
- See Also:
- Constant Field Values
kCGWindowListOptionOnScreenAboveWindow
static final int kCGWindowListOptionOnScreenAboveWindow
- Values for CGWindowListOption. These may be ORed together
List all on-screen windows above the specified window ordered from front to back.
relativeToWindow should be the window number.
- See Also:
- Constant Field Values
kCGWindowListOptionOnScreenBelowWindow
static final int kCGWindowListOptionOnScreenBelowWindow
- Values for CGWindowListOption. These may be ORed together
List all on-screen windows below the specified window ordered from front to back.
relativeToWindow should be the window number.
- See Also:
- Constant Field Values
kCGWindowListOptionIncludingWindow
static final int kCGWindowListOptionIncludingWindow
- Values for CGWindowListOption. These may be ORed together
Include the named window in any list, effectively creating 'at-or-above' or 'at-or-below' lists.
relativeToWindow should be the window number.
- See Also:
- Constant Field Values
kCGWindowListExcludeDesktopElements
static final int kCGWindowListExcludeDesktopElements
- Values for CGWindowListOption. These may be ORed together
Exclude any windows from the list that are elements of the desktop, including the background picture and
icons on the desktop.
- See Also:
- Constant Field Values
kCGWindowImageDefault
static final int kCGWindowImageDefault
- CGWindowListCreateImage
* Create a CGImage containing a composite of the specified set of windows
Returns a CGImageRef, or NULL if called from outside of a GUI security
session, if no window server is running, or no windows can be read.
If no windows meet the specified criteria, or the windows are unreadable,
then an empty (0 by 0 pixel, or specified size and transparent black) CGImage will be produced.
* The function takes a rectangle in Quadrant IV screen space, origin at the
upper left of the main display and Y value increasing downward. A rectangle
with a value of CGRectInfinite is interpreted to mean the entire desktop space,
and will be cropped as such. A rectangle with a value of CGRectNull is interpreted
to mean the bounding box for the windows to be used as the image source. An option
flag allows the shadow area of the windows to be included or ignored.
* The windows to be used as the image source are specified using a CGWindowListOption and
a CGWindowID.
* kCGWindowListOptionAll or kCGWindowListOptionOnScreenOnly
Use all windows that are on screen in this user session.
The windowID should be kCGNullWindowID.
* kCGWindowListOptionOnScreenAboveWindow
Use all on-screen windows above the specified window ordered from front to back.
The windowID should be the window number, as from [myWindow windowNumber].
* kCGWindowListOptionOnScreenBelowWindow
Use all on-screen windows below the specified window ordered from front to back.
The windowID should be the window number, as from [myWindow windowNumber].
* kCGWindowListOptionIncludingWindow
Use only the specified window to construct the image.
The windowID should be the window number, as from [myWindow windowNumber].
* (kCGWindowListOptionOnScreenAboveWindow | kCGWindowListOptionIncludingWindow)
Use all on-screen windows including and above the specified window ordered from front to back.
The windowID should be the window number, as from [myWindow windowNumber].
* (kCGWindowListOptionOnScreenBelowWindow | kCGWindowListOptionIncludingWindow)
Use all on-screen windows including and below the specified window ordered from front to back.
The windowID should be the window number, as from [myWindow windowNumber].
* Any on-screen window with a CGWindowSharingType of kCGWindowSharingNone will be skipped.
If this results in no windows being available in the selected range, NULL is returned.
* The imageOption allows the caller to specify if the window frame, such as
a shaddow or similar effect, should be included or ignored for
the bounds calculation if CGRectNull is specified for the window bounds.
Default behavior: If a rect of CGRectNull is used
bounds computation includes the framing effects, such as a shadow.
- See Also:
- Constant Field Values
kCGWindowImageBoundsIgnoreFraming
static final int kCGWindowImageBoundsIgnoreFraming
- CGWindowListCreateImage
* Create a CGImage containing a composite of the specified set of windows
Returns a CGImageRef, or NULL if called from outside of a GUI security
session, if no window server is running, or no windows can be read.
If no windows meet the specified criteria, or the windows are unreadable,
then an empty (0 by 0 pixel, or specified size and transparent black) CGImage will be produced.
* The function takes a rectangle in Quadrant IV screen space, origin at the
upper left of the main display and Y value increasing downward. A rectangle
with a value of CGRectInfinite is interpreted to mean the entire desktop space,
and will be cropped as such. A rectangle with a value of CGRectNull is interpreted
to mean the bounding box for the windows to be used as the image source. An option
flag allows the shadow area of the windows to be included or ignored.
* The windows to be used as the image source are specified using a CGWindowListOption and
a CGWindowID.
* kCGWindowListOptionAll or kCGWindowListOptionOnScreenOnly
Use all windows that are on screen in this user session.
The windowID should be kCGNullWindowID.
* kCGWindowListOptionOnScreenAboveWindow
Use all on-screen windows above the specified window ordered from front to back.
The windowID should be the window number, as from [myWindow windowNumber].
* kCGWindowListOptionOnScreenBelowWindow
Use all on-screen windows below the specified window ordered from front to back.
The windowID should be the window number, as from [myWindow windowNumber].
* kCGWindowListOptionIncludingWindow
Use only the specified window to construct the image.
The windowID should be the window number, as from [myWindow windowNumber].
* (kCGWindowListOptionOnScreenAboveWindow | kCGWindowListOptionIncludingWindow)
Use all on-screen windows including and above the specified window ordered from front to back.
The windowID should be the window number, as from [myWindow windowNumber].
* (kCGWindowListOptionOnScreenBelowWindow | kCGWindowListOptionIncludingWindow)
Use all on-screen windows including and below the specified window ordered from front to back.
The windowID should be the window number, as from [myWindow windowNumber].
* Any on-screen window with a CGWindowSharingType of kCGWindowSharingNone will be skipped.
If this results in no windows being available in the selected range, NULL is returned.
* The imageOption allows the caller to specify if the window frame, such as
a shaddow or similar effect, should be included or ignored for
the bounds calculation if CGRectNull is specified for the window bounds.
If a rect of CGRectNull is used,
ignore framing effects for bounds computation
- See Also:
- Constant Field Values
kCGWindowImageShouldBeOpaque
static final int kCGWindowImageShouldBeOpaque
- CGWindowListCreateImage
* Create a CGImage containing a composite of the specified set of windows
Returns a CGImageRef, or NULL if called from outside of a GUI security
session, if no window server is running, or no windows can be read.
If no windows meet the specified criteria, or the windows are unreadable,
then an empty (0 by 0 pixel, or specified size and transparent black) CGImage will be produced.
* The function takes a rectangle in Quadrant IV screen space, origin at the
upper left of the main display and Y value increasing downward. A rectangle
with a value of CGRectInfinite is interpreted to mean the entire desktop space,
and will be cropped as such. A rectangle with a value of CGRectNull is interpreted
to mean the bounding box for the windows to be used as the image source. An option
flag allows the shadow area of the windows to be included or ignored.
* The windows to be used as the image source are specified using a CGWindowListOption and
a CGWindowID.
* kCGWindowListOptionAll or kCGWindowListOptionOnScreenOnly
Use all windows that are on screen in this user session.
The windowID should be kCGNullWindowID.
* kCGWindowListOptionOnScreenAboveWindow
Use all on-screen windows above the specified window ordered from front to back.
The windowID should be the window number, as from [myWindow windowNumber].
* kCGWindowListOptionOnScreenBelowWindow
Use all on-screen windows below the specified window ordered from front to back.
The windowID should be the window number, as from [myWindow windowNumber].
* kCGWindowListOptionIncludingWindow
Use only the specified window to construct the image.
The windowID should be the window number, as from [myWindow windowNumber].
* (kCGWindowListOptionOnScreenAboveWindow | kCGWindowListOptionIncludingWindow)
Use all on-screen windows including and above the specified window ordered from front to back.
The windowID should be the window number, as from [myWindow windowNumber].
* (kCGWindowListOptionOnScreenBelowWindow | kCGWindowListOptionIncludingWindow)
Use all on-screen windows including and below the specified window ordered from front to back.
The windowID should be the window number, as from [myWindow windowNumber].
* Any on-screen window with a CGWindowSharingType of kCGWindowSharingNone will be skipped.
If this results in no windows being available in the selected range, NULL is returned.
* The imageOption allows the caller to specify if the window frame, such as
a shaddow or similar effect, should be included or ignored for
the bounds calculation if CGRectNull is specified for the window bounds.
The captured image should be
opaque. Empty areas are white
- See Also:
- Constant Field Values
kCGWindowImageOnlyShadows
static final int kCGWindowImageOnlyShadows
- CGWindowListCreateImage
* Create a CGImage containing a composite of the specified set of windows
Returns a CGImageRef, or NULL if called from outside of a GUI security
session, if no window server is running, or no windows can be read.
If no windows meet the specified criteria, or the windows are unreadable,
then an empty (0 by 0 pixel, or specified size and transparent black) CGImage will be produced.
* The function takes a rectangle in Quadrant IV screen space, origin at the
upper left of the main display and Y value increasing downward. A rectangle
with a value of CGRectInfinite is interpreted to mean the entire desktop space,
and will be cropped as such. A rectangle with a value of CGRectNull is interpreted
to mean the bounding box for the windows to be used as the image source. An option
flag allows the shadow area of the windows to be included or ignored.
* The windows to be used as the image source are specified using a CGWindowListOption and
a CGWindowID.
* kCGWindowListOptionAll or kCGWindowListOptionOnScreenOnly
Use all windows that are on screen in this user session.
The windowID should be kCGNullWindowID.
* kCGWindowListOptionOnScreenAboveWindow
Use all on-screen windows above the specified window ordered from front to back.
The windowID should be the window number, as from [myWindow windowNumber].
* kCGWindowListOptionOnScreenBelowWindow
Use all on-screen windows below the specified window ordered from front to back.
The windowID should be the window number, as from [myWindow windowNumber].
* kCGWindowListOptionIncludingWindow
Use only the specified window to construct the image.
The windowID should be the window number, as from [myWindow windowNumber].
* (kCGWindowListOptionOnScreenAboveWindow | kCGWindowListOptionIncludingWindow)
Use all on-screen windows including and above the specified window ordered from front to back.
The windowID should be the window number, as from [myWindow windowNumber].
* (kCGWindowListOptionOnScreenBelowWindow | kCGWindowListOptionIncludingWindow)
Use all on-screen windows including and below the specified window ordered from front to back.
The windowID should be the window number, as from [myWindow windowNumber].
* Any on-screen window with a CGWindowSharingType of kCGWindowSharingNone will be skipped.
If this results in no windows being available in the selected range, NULL is returned.
* The imageOption allows the caller to specify if the window frame, such as
a shaddow or similar effect, should be included or ignored for
the bounds calculation if CGRectNull is specified for the window bounds.
- See Also:
- Constant Field Values
kCGWindowSharingCFNumberType
static final int kCGWindowSharingCFNumberType
- See Also:
- Constant Field Values
__CGDISPLAY_CONFIGURATION_H__
static final int __CGDISPLAY_CONFIGURATION_H__
- See Also:
- Constant Field Values
kCGDisplayBlendSolidColor
static final double kCGDisplayBlendSolidColor
- See Also:
- Constant Field Values
__CGDISPLAY_FADE_H__
static final int __CGDISPLAY_FADE_H__
- See Also:
- Constant Field Values
CGEventNoErr
static final int CGEventNoErr
- See Also:
- Constant Field Values
kCGNotifyEventTapRemoved
static final String kCGNotifyEventTapRemoved
- See Also:
- Constant Field Values
__CGREMOTE_OPERATION_H__
static final int __CGREMOTE_OPERATION_H__
- See Also:
- Constant Field Values
kCGEventSupressionStateSupressionInterval
static final int kCGEventSupressionStateSupressionInterval
- See Also:
- Constant Field Values
kCGNotifyGUIConsoleSessionChanged
static final String kCGNotifyGUIConsoleSessionChanged
- See Also:
- Constant Field Values
kCGNotifyEventTapAdded
static final String kCGNotifyEventTapAdded
- See Also:
- Constant Field Values
__CGSESSION_H__
static final int __CGSESSION_H__
- See Also:
- Constant Field Values
kCGBitmapByteOrder16Host
static final int kCGBitmapByteOrder16Host
- See Also:
- Constant Field Values
__CGERROR_H__
static final int __CGERROR_H__
- See Also:
- Constant Field Values
__CGEVENTSOURCE_H__
static final int __CGEVENTSOURCE_H__
- See Also:
- Constant Field Values
__CGEVENTTYPES_H__
static final int __CGEVENTTYPES_H__
- See Also:
- Constant Field Values
kCGWindowBackingCFNumberType
static final int kCGWindowBackingCFNumberType
- See Also:
- Constant Field Values
CGFLOAT_IS_DOUBLE
static final int CGFLOAT_IS_DOUBLE
- See Also:
- Constant Field Values
kCGDisplayFadeReservationInvalidToken
static final int kCGDisplayFadeReservationInvalidToken
- See Also:
- Constant Field Values
kCGMaxDisplayReservationInterval
static final double kCGMaxDisplayReservationInterval
- See Also:
- Constant Field Values
kCGWindowIDCFNumberType
static final int kCGWindowIDCFNumberType
- See Also:
- Constant Field Values
kCGEventFilterMaskPermitAllEvents
static final int kCGEventFilterMaskPermitAllEvents
- See Also:
- Constant Field Values
kCGNumReservedWindowLevels
static final int kCGNumReservedWindowLevels
- See Also:
- Constant Field Values
kCGEventSupressionStateRemoteMouseDrag
static final int kCGEventSupressionStateRemoteMouseDrag
- See Also:
- Constant Field Values
CGFLOAT_DEFINED
static final int CGFLOAT_DEFINED
- See Also:
- Constant Field Values
__CGDIRECT_DISPLAY_H__
static final int __CGDIRECT_DISPLAY_H__
- See Also:
- Constant Field Values
kCGNumberOfEventSupressionStates
static final int kCGNumberOfEventSupressionStates
- See Also:
- Constant Field Values
kCGBitmapByteOrder32Host
static final int kCGBitmapByteOrder32Host
- See Also:
- Constant Field Values
CGDisplayNoErr
static final int CGDisplayNoErr
- See Also:
- Constant Field Values
__CGWINDOWLEVEL_H__
static final int __CGWINDOWLEVEL_H__
- See Also:
- Constant Field Values
kCGNotifyGUISessionUserChanged
static final String kCGNotifyGUISessionUserChanged
- See Also:
- Constant Field Values
kCGDisplayBlendNormal
static final double kCGDisplayBlendNormal
- See Also:
- Constant Field Values
__CGEVENT_H__
static final int __CGEVENT_H__
- See Also:
- Constant Field Values
kCGMouseDownEventMaskingDeadSwitchTimeout
static final double kCGMouseDownEventMaskingDeadSwitchTimeout
- See Also:
- Constant Field Values
__CGDIRECT_PALETTE_H__
static final int __CGDIRECT_PALETTE_H__
- See Also:
- Constant Field Values
kCGDisplayModeIsSafeForHardware
static final String kCGDisplayModeIsSafeForHardware
- See Also:
- Constant Field Values
kCGDisplayModeIsStretched
static final String kCGDisplayModeIsStretched
- See Also:
- Constant Field Values
kCGDisplaySamplesPerPixel
static final String kCGDisplaySamplesPerPixel
- See Also:
- Constant Field Values
kCGColorSpaceUserRGB
static final String kCGColorSpaceUserRGB
- See Also:
- Constant Field Values
kCGDisplayModeUsableForDesktopGUI
static final String kCGDisplayModeUsableForDesktopGUI
- See Also:
- Constant Field Values
kCGPDFContextTitle
static final String kCGPDFContextTitle
- See Also:
- Constant Field Values
kCGDisplayBitsPerPixel
static final String kCGDisplayBitsPerPixel
- See Also:
- Constant Field Values
kCGDisplayHeight
static final String kCGDisplayHeight
- See Also:
- Constant Field Values
kCGDisplayModeIsInterlaced
static final String kCGDisplayModeIsInterlaced
- See Also:
- Constant Field Values
kCGDisplayBytesPerRow
static final String kCGDisplayBytesPerRow
- See Also:
- Constant Field Values
kCGPDFContextOutputIntent
static final String kCGPDFContextOutputIntent
- See Also:
- Constant Field Values
kCGPDFContextAuthor
static final String kCGPDFContextAuthor
- See Also:
- Constant Field Values
kCGDisplayMode
static final String kCGDisplayMode
- See Also:
- Constant Field Values
kCGDisplayBitsPerSample
static final String kCGDisplayBitsPerSample
- See Also:
- Constant Field Values
kCGColorSpaceUserGray
static final String kCGColorSpaceUserGray
- See Also:
- Constant Field Values
kCGSessionOnConsoleKey
static final String kCGSessionOnConsoleKey
- See Also:
- Constant Field Values
kCGSessionUserNameKey
static final String kCGSessionUserNameKey
- See Also:
- Constant Field Values
kCGPDFContextCreator
static final String kCGPDFContextCreator
- See Also:
- Constant Field Values
kCGPDFContextOutputIntents
static final String kCGPDFContextOutputIntents
- See Also:
- Constant Field Values
kCGColorSpaceUserCMYK
static final String kCGColorSpaceUserCMYK
- See Also:
- Constant Field Values
kCGSessionLoginDoneKey
static final String kCGSessionLoginDoneKey
- See Also:
- Constant Field Values
kCGDisplayIOFlags
static final String kCGDisplayIOFlags
- See Also:
- Constant Field Values
kCGSessionUserIDKey
static final String kCGSessionUserIDKey
- See Also:
- Constant Field Values
kCGSessionConsoleSetKey
static final String kCGSessionConsoleSetKey
- See Also:
- Constant Field Values
kCGDisplayWidth
static final String kCGDisplayWidth
- See Also:
- Constant Field Values
kCGDisplayRefreshRate
static final String kCGDisplayRefreshRate
- See Also:
- Constant Field Values
kCGIODisplayModeID
static final String kCGIODisplayModeID
- See Also:
- Constant Field Values
CGRectGetMinX
float CGRectGetMinX(CGRect.ByValue rect)
CGRectGetMidX
float CGRectGetMidX(CGRect.ByValue rect)
CGRectGetMaxX
float CGRectGetMaxX(CGRect.ByValue rect)
CGRectGetMinY
float CGRectGetMinY(CGRect.ByValue rect)
CGRectGetMidY
float CGRectGetMidY(CGRect.ByValue rect)
CGRectGetMaxY
float CGRectGetMaxY(CGRect.ByValue rect)
CGRectGetWidth
float CGRectGetWidth(CGRect.ByValue rect)
CGRectGetHeight
float CGRectGetHeight(CGRect.ByValue rect)
CGPointEqualToPoint
boolean CGPointEqualToPoint(CGPoint.ByValue point1,
CGPoint.ByValue point2)
CGSizeEqualToSize
boolean CGSizeEqualToSize(CGSize.ByValue size1,
CGSize.ByValue size2)
CGRectEqualToRect
boolean CGRectEqualToRect(CGRect.ByValue rect1,
CGRect.ByValue rect2)
CGRectStandardize
CGRect.ByValue CGRectStandardize(CGRect.ByValue rect)
CGRectIsEmpty
boolean CGRectIsEmpty(CGRect.ByValue rect)
CGRectIsNull
boolean CGRectIsNull(CGRect.ByValue rect)
CGRectIsInfinite
boolean CGRectIsInfinite(CGRect.ByValue rect)
CGRectInset
CGRect.ByValue CGRectInset(CGRect.ByValue rect,
float dx,
float dy)
CGRectIntegral
CGRect.ByValue CGRectIntegral(CGRect.ByValue rect)
CGRectUnion
CGRect.ByValue CGRectUnion(CGRect.ByValue r1,
CGRect.ByValue r2)
CGRectIntersection
CGRect.ByValue CGRectIntersection(CGRect.ByValue r1,
CGRect.ByValue r2)
CGRectOffset
CGRect.ByValue CGRectOffset(CGRect.ByValue rect,
float dx,
float dy)
CGRectDivide
void CGRectDivide(CGRect.ByValue rect,
CGRect slice,
CGRect remainder,
float amount,
int edge)
- Original signature :
void CGRectDivide(CGRect, CGRect*, CGRect*, CGFloat, CGRectEdge)
- Parameters:
edge
- @see CGRectEdge
CGRectContainsPoint
boolean CGRectContainsPoint(CGRect.ByValue rect,
CGPoint.ByValue point)
CGRectContainsRect
boolean CGRectContainsRect(CGRect.ByValue rect1,
CGRect.ByValue rect2)
CGRectIntersectsRect
boolean CGRectIntersectsRect(CGRect.ByValue rect1,
CGRect.ByValue rect2)
CGPointCreateDictionaryRepresentation
HIServicesLibrary.__CFDictionary CGPointCreateDictionaryRepresentation(CGPoint.ByValue point)
CGPointMakeWithDictionaryRepresentation
boolean CGPointMakeWithDictionaryRepresentation(HIServicesLibrary.__CFDictionary dict,
CGPoint point)
CGSizeCreateDictionaryRepresentation
HIServicesLibrary.__CFDictionary CGSizeCreateDictionaryRepresentation(CGSize.ByValue size)
CGSizeMakeWithDictionaryRepresentation
boolean CGSizeMakeWithDictionaryRepresentation(HIServicesLibrary.__CFDictionary dict,
CGSize size)
CGRectCreateDictionaryRepresentation
HIServicesLibrary.__CFDictionary CGRectCreateDictionaryRepresentation(CGRect.ByValue CGRect1)
CGRectMakeWithDictionaryRepresentation
boolean CGRectMakeWithDictionaryRepresentation(HIServicesLibrary.__CFDictionary dict,
CGRect rect)
CGAffineTransformMake
CGAffineTransform.ByValue CGAffineTransformMake(float a,
float b,
float c,
float d,
float tx,
float ty)
CGAffineTransformMakeTranslation
CGAffineTransform.ByValue CGAffineTransformMakeTranslation(float tx,
float ty)
CGAffineTransformMakeScale
CGAffineTransform.ByValue CGAffineTransformMakeScale(float sx,
float sy)
CGAffineTransformMakeRotation
CGAffineTransform.ByValue CGAffineTransformMakeRotation(float angle)
CGAffineTransformIsIdentity
boolean CGAffineTransformIsIdentity(CGAffineTransform.ByValue t)
CGAffineTransformTranslate
CGAffineTransform.ByValue CGAffineTransformTranslate(CGAffineTransform.ByValue t,
float tx,
float ty)
CGAffineTransformScale
CGAffineTransform.ByValue CGAffineTransformScale(CGAffineTransform.ByValue t,
float sx,
float sy)
CGAffineTransformRotate
CGAffineTransform.ByValue CGAffineTransformRotate(CGAffineTransform.ByValue t,
float angle)
CGAffineTransformInvert
CGAffineTransform.ByValue CGAffineTransformInvert(CGAffineTransform.ByValue t)
CGAffineTransformConcat
CGAffineTransform.ByValue CGAffineTransformConcat(CGAffineTransform.ByValue t1,
CGAffineTransform.ByValue t2)
CGAffineTransformEqualToTransform
boolean CGAffineTransformEqualToTransform(CGAffineTransform.ByValue t1,
CGAffineTransform.ByValue t2)
CGPointApplyAffineTransform
CGPoint.ByValue CGPointApplyAffineTransform(CGPoint.ByValue point,
CGAffineTransform.ByValue t)
CGSizeApplyAffineTransform
CGSize.ByValue CGSizeApplyAffineTransform(CGSize.ByValue size,
CGAffineTransform.ByValue t)
CGRectApplyAffineTransform
CGRect.ByValue CGRectApplyAffineTransform(CGRect.ByValue rect,
CGAffineTransform.ByValue t)
CGDataProviderGetTypeID
NativeLong CGDataProviderGetTypeID()
CGDataProviderCreateSequential
ImageIOLibrary.CGDataProvider CGDataProviderCreateSequential(Pointer info,
CGDataProviderSequentialCallbacks callbacks)
CGDataProviderCreateWithData
ImageIOLibrary.CGDataProvider CGDataProviderCreateWithData(Pointer info,
Pointer data,
NativeLong size,
CoreGraphicsLibrary.CGDataProviderReleaseDataCallback releaseData)
CGDataProviderCreateWithURL
ImageIOLibrary.CGDataProvider CGDataProviderCreateWithURL(AudioUnitLibrary.__CFURL url)
CGDataProviderCreateWithFilename
@Deprecated
ImageIOLibrary.CGDataProvider CGDataProviderCreateWithFilename(ByteByReference filename)
- Deprecated. use the safer method
CGDataProviderCreateWithFilename(java.lang.String)
instead
- Original signature :
CGDataProviderRef CGDataProviderCreateWithFilename(const char*)
CGDataProviderCreateWithFilename
ImageIOLibrary.CGDataProvider CGDataProviderCreateWithFilename(String filename)
CGDataProviderRetain
ImageIOLibrary.CGDataProvider CGDataProviderRetain(ImageIOLibrary.CGDataProvider provider)
CGDataProviderRelease
void CGDataProviderRelease(ImageIOLibrary.CGDataProvider provider)
CGDataProviderCreate
ImageIOLibrary.CGDataProvider CGDataProviderCreate(Pointer info,
CGDataProviderCallbacks callbacks)
CGDataProviderCreateDirectAccess
ImageIOLibrary.CGDataProvider CGDataProviderCreateDirectAccess(Pointer info,
NativeLong size,
CGDataProviderDirectAccessCallbacks callbacks)
CGColorSpaceCreateDeviceGray
CoreGraphicsLibrary.CGColorSpace CGColorSpaceCreateDeviceGray()
CGColorSpaceCreateDeviceRGB
CoreGraphicsLibrary.CGColorSpace CGColorSpaceCreateDeviceRGB()
CGColorSpaceCreateDeviceCMYK
CoreGraphicsLibrary.CGColorSpace CGColorSpaceCreateDeviceCMYK()
CGColorSpaceCreateCalibratedGray
@Deprecated
CoreGraphicsLibrary.CGColorSpace CGColorSpaceCreateCalibratedGray(FloatByReference whitePoint,
FloatByReference blackPoint,
float gamma)
- Deprecated. use the safer methods
CGColorSpaceCreateCalibratedGray(float[], float[], float)
and CGColorSpaceCreateCalibratedGray(java.nio.FloatBuffer, java.nio.FloatBuffer, float)
instead
- Original signature :
CGColorSpaceRef CGColorSpaceCreateCalibratedGray(const CGFloat[3], const CGFloat[3], CGFloat)
CGColorSpaceCreateCalibratedGray
CoreGraphicsLibrary.CGColorSpace CGColorSpaceCreateCalibratedGray(float[] whitePoint,
float[] blackPoint,
float gamma)
CGColorSpaceCreateCalibratedGray
CoreGraphicsLibrary.CGColorSpace CGColorSpaceCreateCalibratedGray(FloatBuffer whitePoint,
FloatBuffer blackPoint,
float gamma)
CGColorSpaceCreateCalibratedRGB
@Deprecated
CoreGraphicsLibrary.CGColorSpace CGColorSpaceCreateCalibratedRGB(FloatByReference whitePoint,
FloatByReference blackPoint,
FloatByReference gamma,
FloatByReference matrix)
- Deprecated. use the safer methods
CGColorSpaceCreateCalibratedRGB(float[], float[], float[], float[])
and CGColorSpaceCreateCalibratedRGB(java.nio.FloatBuffer, java.nio.FloatBuffer, java.nio.FloatBuffer, java.nio.FloatBuffer)
instead
- Original signature :
CGColorSpaceRef CGColorSpaceCreateCalibratedRGB(const CGFloat[3], const CGFloat[3], const CGFloat[3], const CGFloat[9])
CGColorSpaceCreateCalibratedRGB
CoreGraphicsLibrary.CGColorSpace CGColorSpaceCreateCalibratedRGB(float[] whitePoint,
float[] blackPoint,
float[] gamma,
float[] matrix)
CGColorSpaceCreateCalibratedRGB
CoreGraphicsLibrary.CGColorSpace CGColorSpaceCreateCalibratedRGB(FloatBuffer whitePoint,
FloatBuffer blackPoint,
FloatBuffer gamma,
FloatBuffer matrix)
CGColorSpaceCreateLab
@Deprecated
CoreGraphicsLibrary.CGColorSpace CGColorSpaceCreateLab(FloatByReference whitePoint,
FloatByReference blackPoint,
FloatByReference range)
- Deprecated. use the safer methods
CGColorSpaceCreateLab(float[], float[], float[])
and CGColorSpaceCreateLab(java.nio.FloatBuffer, java.nio.FloatBuffer, java.nio.FloatBuffer)
instead
- Original signature :
CGColorSpaceRef CGColorSpaceCreateLab(const CGFloat[3], const CGFloat[3], const CGFloat[4])
CGColorSpaceCreateLab
CoreGraphicsLibrary.CGColorSpace CGColorSpaceCreateLab(float[] whitePoint,
float[] blackPoint,
float[] range)
CGColorSpaceCreateLab
CoreGraphicsLibrary.CGColorSpace CGColorSpaceCreateLab(FloatBuffer whitePoint,
FloatBuffer blackPoint,
FloatBuffer range)
CGColorSpaceCreateICCBased
@Deprecated
CoreGraphicsLibrary.CGColorSpace CGColorSpaceCreateICCBased(NativeLong nComponents,
FloatByReference range,
ImageIOLibrary.CGDataProvider profile,
CoreGraphicsLibrary.CGColorSpace alternate)
- Deprecated. use the safer methods
CGColorSpaceCreateICCBased(com.sun.jna.NativeLong, float[], org.rococoa.cocoa.imageio.ImageIOLibrary.CGDataProvider, org.rococoa.cocoa.coregraphics.CoreGraphicsLibrary.CGColorSpace)
and CGColorSpaceCreateICCBased(com.sun.jna.NativeLong, java.nio.FloatBuffer, org.rococoa.cocoa.imageio.ImageIOLibrary.CGDataProvider, org.rococoa.cocoa.coregraphics.CoreGraphicsLibrary.CGColorSpace)
instead
- Original signature :
CGColorSpaceRef CGColorSpaceCreateICCBased(size_t, const CGFloat*, CGDataProviderRef, CGColorSpaceRef)
CGColorSpaceCreateICCBased
CoreGraphicsLibrary.CGColorSpace CGColorSpaceCreateICCBased(NativeLong nComponents,
float[] range,
ImageIOLibrary.CGDataProvider profile,
CoreGraphicsLibrary.CGColorSpace alternate)
CGColorSpaceCreateICCBased
CoreGraphicsLibrary.CGColorSpace CGColorSpaceCreateICCBased(NativeLong nComponents,
FloatBuffer range,
ImageIOLibrary.CGDataProvider profile,
CoreGraphicsLibrary.CGColorSpace alternate)
CGColorSpaceCreateIndexed
@Deprecated
CoreGraphicsLibrary.CGColorSpace CGColorSpaceCreateIndexed(CoreGraphicsLibrary.CGColorSpace baseSpace,
NativeLong lastIndex,
ByteByReference colorTable)
- Deprecated. use the safer methods
CGColorSpaceCreateIndexed(org.rococoa.cocoa.coregraphics.CoreGraphicsLibrary.CGColorSpace, com.sun.jna.NativeLong, byte[])
and CGColorSpaceCreateIndexed(org.rococoa.cocoa.coregraphics.CoreGraphicsLibrary.CGColorSpace, com.sun.jna.NativeLong, java.nio.ByteBuffer)
instead
- Original signature :
CGColorSpaceRef CGColorSpaceCreateIndexed(CGColorSpaceRef, size_t, const unsigned char*)
CGColorSpaceCreateIndexed
CoreGraphicsLibrary.CGColorSpace CGColorSpaceCreateIndexed(CoreGraphicsLibrary.CGColorSpace baseSpace,
NativeLong lastIndex,
byte[] colorTable)
CGColorSpaceCreateIndexed
CoreGraphicsLibrary.CGColorSpace CGColorSpaceCreateIndexed(CoreGraphicsLibrary.CGColorSpace baseSpace,
NativeLong lastIndex,
ByteBuffer colorTable)
CGColorSpaceCreatePattern
CoreGraphicsLibrary.CGColorSpace CGColorSpaceCreatePattern(CoreGraphicsLibrary.CGColorSpace baseSpace)
CGColorSpaceCreateWithPlatformColorSpace
CoreGraphicsLibrary.CGColorSpace CGColorSpaceCreateWithPlatformColorSpace(Pointer ref)
CGColorSpaceRetain
CoreGraphicsLibrary.CGColorSpace CGColorSpaceRetain(CoreGraphicsLibrary.CGColorSpace space)
CGColorSpaceRelease
void CGColorSpaceRelease(CoreGraphicsLibrary.CGColorSpace space)
CGColorSpaceGetTypeID
NativeLong CGColorSpaceGetTypeID()
CGColorSpaceGetNumberOfComponents
NativeLong CGColorSpaceGetNumberOfComponents(CoreGraphicsLibrary.CGColorSpace space)
CGColorSpaceGetModel
int CGColorSpaceGetModel(CoreGraphicsLibrary.CGColorSpace space)
- See Also:
CoreGraphicsLibrary.CGColorSpaceModel
CGColorSpaceGetBaseColorSpace
CoreGraphicsLibrary.CGColorSpace CGColorSpaceGetBaseColorSpace(CoreGraphicsLibrary.CGColorSpace space)
CGColorSpaceGetColorTableCount
NativeLong CGColorSpaceGetColorTableCount(CoreGraphicsLibrary.CGColorSpace space)
CGColorSpaceGetColorTable
@Deprecated
void CGColorSpaceGetColorTable(CoreGraphicsLibrary.CGColorSpace space,
ByteByReference table)
- Deprecated. use the safer method
CGColorSpaceGetColorTable(org.rococoa.cocoa.coregraphics.CoreGraphicsLibrary.CGColorSpace, java.nio.ByteBuffer)
instead
- Original signature :
void CGColorSpaceGetColorTable(CGColorSpaceRef, unsigned char*)
CGColorSpaceGetColorTable
void CGColorSpaceGetColorTable(CoreGraphicsLibrary.CGColorSpace space,
ByteBuffer table)
CGPatternGetTypeID
NativeLong CGPatternGetTypeID()
CGPatternCreate
CoreGraphicsLibrary.CGPattern CGPatternCreate(Pointer info,
CGRect.ByValue bounds,
CGAffineTransform.ByValue matrix,
float xStep,
float yStep,
int tiling,
boolean isColored,
CGPatternCallbacks callbacks)
- Original signature :
CGPatternRef CGPatternCreate(void*, CGRect, CGAffineTransform, CGFloat, CGFloat, CGPatternTiling, bool, const CGPatternCallbacks*)
- Parameters:
tiling
- @see CGPatternTiling
CGPatternRetain
CoreGraphicsLibrary.CGPattern CGPatternRetain(CoreGraphicsLibrary.CGPattern pattern)
CGPatternRelease
void CGPatternRelease(CoreGraphicsLibrary.CGPattern pattern)
CGColorCreate
@Deprecated
CoreGraphicsLibrary.CGColor CGColorCreate(CoreGraphicsLibrary.CGColorSpace space,
FloatByReference components)
- Deprecated. use the safer methods
CGColorCreate(org.rococoa.cocoa.coregraphics.CoreGraphicsLibrary.CGColorSpace, float[])
and CGColorCreate(org.rococoa.cocoa.coregraphics.CoreGraphicsLibrary.CGColorSpace, java.nio.FloatBuffer)
instead
- Original signature :
CGColorRef CGColorCreate(CGColorSpaceRef, const CGFloat[])
CGColorCreate
CoreGraphicsLibrary.CGColor CGColorCreate(CoreGraphicsLibrary.CGColorSpace space,
float[] components)
CGColorCreate
CoreGraphicsLibrary.CGColor CGColorCreate(CoreGraphicsLibrary.CGColorSpace space,
FloatBuffer components)
CGColorCreateGenericGray
CoreGraphicsLibrary.CGColor CGColorCreateGenericGray(float gray,
float alpha)
CGColorCreateGenericRGB
CoreGraphicsLibrary.CGColor CGColorCreateGenericRGB(float red,
float green,
float blue,
float alpha)
CGColorCreateGenericCMYK
CoreGraphicsLibrary.CGColor CGColorCreateGenericCMYK(float cyan,
float magenta,
float yellow,
float black,
float alpha)
CGColorCreateWithPattern
@Deprecated
CoreGraphicsLibrary.CGColor CGColorCreateWithPattern(CoreGraphicsLibrary.CGColorSpace space,
CoreGraphicsLibrary.CGPattern pattern,
FloatByReference components)
- Deprecated. use the safer methods
CGColorCreateWithPattern(org.rococoa.cocoa.coregraphics.CoreGraphicsLibrary.CGColorSpace, org.rococoa.cocoa.coregraphics.CoreGraphicsLibrary.CGPattern, float[])
and CGColorCreateWithPattern(org.rococoa.cocoa.coregraphics.CoreGraphicsLibrary.CGColorSpace, org.rococoa.cocoa.coregraphics.CoreGraphicsLibrary.CGPattern, java.nio.FloatBuffer)
instead
- Original signature :
CGColorRef CGColorCreateWithPattern(CGColorSpaceRef, CGPatternRef, const CGFloat[])
CGColorCreateWithPattern
CoreGraphicsLibrary.CGColor CGColorCreateWithPattern(CoreGraphicsLibrary.CGColorSpace space,
CoreGraphicsLibrary.CGPattern pattern,
float[] components)
CGColorCreateWithPattern
CoreGraphicsLibrary.CGColor CGColorCreateWithPattern(CoreGraphicsLibrary.CGColorSpace space,
CoreGraphicsLibrary.CGPattern pattern,
FloatBuffer components)
CGColorCreateCopy
CoreGraphicsLibrary.CGColor CGColorCreateCopy(CoreGraphicsLibrary.CGColor color)
CGColorCreateCopyWithAlpha
CoreGraphicsLibrary.CGColor CGColorCreateCopyWithAlpha(CoreGraphicsLibrary.CGColor color,
float alpha)
CGColorRetain
CoreGraphicsLibrary.CGColor CGColorRetain(CoreGraphicsLibrary.CGColor color)
CGColorRelease
void CGColorRelease(CoreGraphicsLibrary.CGColor color)
CGColorEqualToColor
boolean CGColorEqualToColor(CoreGraphicsLibrary.CGColor color1,
CoreGraphicsLibrary.CGColor color2)
CGColorGetNumberOfComponents
NativeLong CGColorGetNumberOfComponents(CoreGraphicsLibrary.CGColor color)
CGColorGetComponents
FloatByReference CGColorGetComponents(CoreGraphicsLibrary.CGColor color)
CGColorGetAlpha
float CGColorGetAlpha(CoreGraphicsLibrary.CGColor color)
CGColorGetColorSpace
CoreGraphicsLibrary.CGColorSpace CGColorGetColorSpace(CoreGraphicsLibrary.CGColor color)
CGColorGetPattern
CoreGraphicsLibrary.CGPattern CGColorGetPattern(CoreGraphicsLibrary.CGColor color)
CGColorGetTypeID
NativeLong CGColorGetTypeID()
CGFontGetTypeID
NativeLong CGFontGetTypeID()
CGFontCreateWithPlatformFont
CoreGraphicsLibrary.CGFont CGFontCreateWithPlatformFont(Pointer platformFontReference)
CGFontCreateWithDataProvider
CoreGraphicsLibrary.CGFont CGFontCreateWithDataProvider(ImageIOLibrary.CGDataProvider provider)
CGFontCreateCopyWithVariations
CoreGraphicsLibrary.CGFont CGFontCreateCopyWithVariations(CoreGraphicsLibrary.CGFont font,
HIServicesLibrary.__CFDictionary variations)
CGFontRetain
CoreGraphicsLibrary.CGFont CGFontRetain(CoreGraphicsLibrary.CGFont font)
CGFontRelease
void CGFontRelease(CoreGraphicsLibrary.CGFont font)
CGFontGetNumberOfGlyphs
NativeLong CGFontGetNumberOfGlyphs(CoreGraphicsLibrary.CGFont font)
CGFontGetUnitsPerEm
int CGFontGetUnitsPerEm(CoreGraphicsLibrary.CGFont font)
CGFontGetAscent
int CGFontGetAscent(CoreGraphicsLibrary.CGFont font)
CGFontGetDescent
int CGFontGetDescent(CoreGraphicsLibrary.CGFont font)
CGFontGetLeading
int CGFontGetLeading(CoreGraphicsLibrary.CGFont font)
CGFontGetCapHeight
int CGFontGetCapHeight(CoreGraphicsLibrary.CGFont font)
CGFontGetXHeight
int CGFontGetXHeight(CoreGraphicsLibrary.CGFont font)
CGFontGetFontBBox
CGRect.ByValue CGFontGetFontBBox(CoreGraphicsLibrary.CGFont font)
CGFontGetItalicAngle
float CGFontGetItalicAngle(CoreGraphicsLibrary.CGFont font)
CGFontGetStemV
float CGFontGetStemV(CoreGraphicsLibrary.CGFont font)
CGFontCopyVariationAxes
HIServicesLibrary.__CFArray CGFontCopyVariationAxes(CoreGraphicsLibrary.CGFont font)
CGFontCopyVariations
HIServicesLibrary.__CFDictionary CGFontCopyVariations(CoreGraphicsLibrary.CGFont font)
CGFontGetGlyphAdvances
@Deprecated
boolean CGFontGetGlyphAdvances(CoreGraphicsLibrary.CGFont font,
ShortByReference glyphs,
NativeLong count,
IntByReference advances)
- Deprecated. use the safer method
CGFontGetGlyphAdvances(org.rococoa.cocoa.coregraphics.CoreGraphicsLibrary.CGFont, java.nio.ShortBuffer, com.sun.jna.NativeLong, java.nio.IntBuffer)
instead
- Original signature :
bool CGFontGetGlyphAdvances(CGFontRef, const CGGlyph[], size_t, int[])
CGFontGetGlyphAdvances
boolean CGFontGetGlyphAdvances(CoreGraphicsLibrary.CGFont font,
ShortBuffer glyphs,
NativeLong count,
IntBuffer advances)
CGFontGetGlyphBBoxes
@Deprecated
boolean CGFontGetGlyphBBoxes(CoreGraphicsLibrary.CGFont font,
ShortByReference glyphs,
NativeLong count,
Pointer bboxes)
- Deprecated. use the safer method
CGFontGetGlyphBBoxes(org.rococoa.cocoa.coregraphics.CoreGraphicsLibrary.CGFont, java.nio.ShortBuffer, com.sun.jna.NativeLong, com.sun.jna.Pointer)
instead
- Original signature :
bool CGFontGetGlyphBBoxes(CGFontRef, const CGGlyph[], size_t, CGRect[])
CGFontGetGlyphBBoxes
boolean CGFontGetGlyphBBoxes(CoreGraphicsLibrary.CGFont font,
ShortBuffer glyphs,
NativeLong count,
Pointer bboxes)
CGFontCanCreatePostScriptSubset
boolean CGFontCanCreatePostScriptSubset(CoreGraphicsLibrary.CGFont font,
int format)
- Original signature :
bool CGFontCanCreatePostScriptSubset(CGFontRef, CGFontPostScriptFormat)
- Parameters:
format
- @see CGFontPostScriptFormat
CGFontCopyTableTags
HIServicesLibrary.__CFArray CGFontCopyTableTags(CoreGraphicsLibrary.CGFont font)
CGGradientGetTypeID
NativeLong CGGradientGetTypeID()
CGGradientCreateWithColorComponents
@Deprecated
CoreGraphicsLibrary.CGGradient CGGradientCreateWithColorComponents(CoreGraphicsLibrary.CGColorSpace space,
FloatByReference components,
FloatByReference locations,
NativeLong count)
- Deprecated. use the safer methods
CGGradientCreateWithColorComponents(org.rococoa.cocoa.coregraphics.CoreGraphicsLibrary.CGColorSpace, float[], float[], com.sun.jna.NativeLong)
and CGGradientCreateWithColorComponents(org.rococoa.cocoa.coregraphics.CoreGraphicsLibrary.CGColorSpace, java.nio.FloatBuffer, java.nio.FloatBuffer, com.sun.jna.NativeLong)
instead
- Original signature :
CGGradientRef CGGradientCreateWithColorComponents(CGColorSpaceRef, const CGFloat[], const CGFloat[], size_t)
CGGradientCreateWithColorComponents
CoreGraphicsLibrary.CGGradient CGGradientCreateWithColorComponents(CoreGraphicsLibrary.CGColorSpace space,
float[] components,
float[] locations,
NativeLong count)
CGGradientCreateWithColorComponents
CoreGraphicsLibrary.CGGradient CGGradientCreateWithColorComponents(CoreGraphicsLibrary.CGColorSpace space,
FloatBuffer components,
FloatBuffer locations,
NativeLong count)
CGGradientCreateWithColors
@Deprecated
CoreGraphicsLibrary.CGGradient CGGradientCreateWithColors(CoreGraphicsLibrary.CGColorSpace space,
HIServicesLibrary.__CFArray colors,
FloatByReference locations)
- Deprecated. use the safer methods
CGGradientCreateWithColors(org.rococoa.cocoa.coregraphics.CoreGraphicsLibrary.CGColorSpace, org.rococoa.cocoa.hiservices.HIServicesLibrary.__CFArray, float[])
and CGGradientCreateWithColors(org.rococoa.cocoa.coregraphics.CoreGraphicsLibrary.CGColorSpace, org.rococoa.cocoa.hiservices.HIServicesLibrary.__CFArray, java.nio.FloatBuffer)
instead
- Original signature :
CGGradientRef CGGradientCreateWithColors(CGColorSpaceRef, CFArrayRef, const CGFloat[])
CGGradientCreateWithColors
CoreGraphicsLibrary.CGGradient CGGradientCreateWithColors(CoreGraphicsLibrary.CGColorSpace space,
HIServicesLibrary.__CFArray colors,
float[] locations)
CGGradientCreateWithColors
CoreGraphicsLibrary.CGGradient CGGradientCreateWithColors(CoreGraphicsLibrary.CGColorSpace space,
HIServicesLibrary.__CFArray colors,
FloatBuffer locations)
CGGradientRetain
CoreGraphicsLibrary.CGGradient CGGradientRetain(CoreGraphicsLibrary.CGGradient gradient)
CGGradientRelease
void CGGradientRelease(CoreGraphicsLibrary.CGGradient gradient)
CGImageGetTypeID
NativeLong CGImageGetTypeID()
CGImageCreate
@Deprecated
ImageIOLibrary.CGImage CGImageCreate(NativeLong width,
NativeLong height,
NativeLong bitsPerComponent,
NativeLong bitsPerPixel,
NativeLong bytesPerRow,
CoreGraphicsLibrary.CGColorSpace colorspace,
int bitmapInfo,
ImageIOLibrary.CGDataProvider provider,
FloatByReference decode,
boolean shouldInterpolate,
int intent)
- Deprecated. use the safer methods
CGImageCreate(com.sun.jna.NativeLong, com.sun.jna.NativeLong, com.sun.jna.NativeLong, com.sun.jna.NativeLong, com.sun.jna.NativeLong, org.rococoa.cocoa.coregraphics.CoreGraphicsLibrary.CGColorSpace, int, org.rococoa.cocoa.imageio.ImageIOLibrary.CGDataProvider, float[], boolean, int)
and CGImageCreate(com.sun.jna.NativeLong, com.sun.jna.NativeLong, com.sun.jna.NativeLong, com.sun.jna.NativeLong, com.sun.jna.NativeLong, org.rococoa.cocoa.coregraphics.CoreGraphicsLibrary.CGColorSpace, int, org.rococoa.cocoa.imageio.ImageIOLibrary.CGDataProvider, java.nio.FloatBuffer, boolean, int)
instead
- Original signature :
CGImageRef CGImageCreate(size_t, size_t, size_t, size_t, size_t, CGColorSpaceRef, CGBitmapInfo, CGDataProviderRef, const CGFloat[], bool, CGColorRenderingIntent)
- Parameters:
bitmapInfo
- @see CGBitmapInfo
intent
- @see CGColorRenderingIntent
CGImageCreate
ImageIOLibrary.CGImage CGImageCreate(NativeLong width,
NativeLong height,
NativeLong bitsPerComponent,
NativeLong bitsPerPixel,
NativeLong bytesPerRow,
CoreGraphicsLibrary.CGColorSpace colorspace,
int bitmapInfo,
ImageIOLibrary.CGDataProvider provider,
float[] decode,
boolean shouldInterpolate,
int intent)
- Original signature :
CGImageRef CGImageCreate(size_t, size_t, size_t, size_t, size_t, CGColorSpaceRef, CGBitmapInfo, CGDataProviderRef, const CGFloat[], bool, CGColorRenderingIntent)
- Parameters:
bitmapInfo
- @see CGBitmapInfo
intent
- @see CGColorRenderingIntent
CGImageCreate
ImageIOLibrary.CGImage CGImageCreate(NativeLong width,
NativeLong height,
NativeLong bitsPerComponent,
NativeLong bitsPerPixel,
NativeLong bytesPerRow,
CoreGraphicsLibrary.CGColorSpace colorspace,
int bitmapInfo,
ImageIOLibrary.CGDataProvider provider,
FloatBuffer decode,
boolean shouldInterpolate,
int intent)
- Original signature :
CGImageRef CGImageCreate(size_t, size_t, size_t, size_t, size_t, CGColorSpaceRef, CGBitmapInfo, CGDataProviderRef, const CGFloat[], bool, CGColorRenderingIntent)
- Parameters:
bitmapInfo
- @see CGBitmapInfo
intent
- @see CGColorRenderingIntent
CGImageMaskCreate
@Deprecated
ImageIOLibrary.CGImage CGImageMaskCreate(NativeLong width,
NativeLong height,
NativeLong bitsPerComponent,
NativeLong bitsPerPixel,
NativeLong bytesPerRow,
ImageIOLibrary.CGDataProvider provider,
FloatByReference decode,
boolean shouldInterpolate)
- Deprecated. use the safer methods
CGImageMaskCreate(com.sun.jna.NativeLong, com.sun.jna.NativeLong, com.sun.jna.NativeLong, com.sun.jna.NativeLong, com.sun.jna.NativeLong, org.rococoa.cocoa.imageio.ImageIOLibrary.CGDataProvider, float[], boolean)
and CGImageMaskCreate(com.sun.jna.NativeLong, com.sun.jna.NativeLong, com.sun.jna.NativeLong, com.sun.jna.NativeLong, com.sun.jna.NativeLong, org.rococoa.cocoa.imageio.ImageIOLibrary.CGDataProvider, java.nio.FloatBuffer, boolean)
instead
- Original signature :
CGImageRef CGImageMaskCreate(size_t, size_t, size_t, size_t, size_t, CGDataProviderRef, const CGFloat[], bool)
CGImageMaskCreate
ImageIOLibrary.CGImage CGImageMaskCreate(NativeLong width,
NativeLong height,
NativeLong bitsPerComponent,
NativeLong bitsPerPixel,
NativeLong bytesPerRow,
ImageIOLibrary.CGDataProvider provider,
float[] decode,
boolean shouldInterpolate)
CGImageMaskCreate
ImageIOLibrary.CGImage CGImageMaskCreate(NativeLong width,
NativeLong height,
NativeLong bitsPerComponent,
NativeLong bitsPerPixel,
NativeLong bytesPerRow,
ImageIOLibrary.CGDataProvider provider,
FloatBuffer decode,
boolean shouldInterpolate)
CGImageCreateCopy
ImageIOLibrary.CGImage CGImageCreateCopy(ImageIOLibrary.CGImage image)
CGImageCreateWithJPEGDataProvider
@Deprecated
ImageIOLibrary.CGImage CGImageCreateWithJPEGDataProvider(ImageIOLibrary.CGDataProvider source,
FloatByReference decode,
boolean shouldInterpolate,
int intent)
- Deprecated. use the safer methods
CGImageCreateWithJPEGDataProvider(org.rococoa.cocoa.imageio.ImageIOLibrary.CGDataProvider, float[], boolean, int)
and CGImageCreateWithJPEGDataProvider(org.rococoa.cocoa.imageio.ImageIOLibrary.CGDataProvider, java.nio.FloatBuffer, boolean, int)
instead
- Original signature :
CGImageRef CGImageCreateWithJPEGDataProvider(CGDataProviderRef, const CGFloat[], bool, CGColorRenderingIntent)
- Parameters:
intent
- @see CGColorRenderingIntent
CGImageCreateWithJPEGDataProvider
ImageIOLibrary.CGImage CGImageCreateWithJPEGDataProvider(ImageIOLibrary.CGDataProvider source,
float[] decode,
boolean shouldInterpolate,
int intent)
- Original signature :
CGImageRef CGImageCreateWithJPEGDataProvider(CGDataProviderRef, const CGFloat[], bool, CGColorRenderingIntent)
- Parameters:
intent
- @see CGColorRenderingIntent
CGImageCreateWithJPEGDataProvider
ImageIOLibrary.CGImage CGImageCreateWithJPEGDataProvider(ImageIOLibrary.CGDataProvider source,
FloatBuffer decode,
boolean shouldInterpolate,
int intent)
- Original signature :
CGImageRef CGImageCreateWithJPEGDataProvider(CGDataProviderRef, const CGFloat[], bool, CGColorRenderingIntent)
- Parameters:
intent
- @see CGColorRenderingIntent
CGImageCreateWithPNGDataProvider
@Deprecated
ImageIOLibrary.CGImage CGImageCreateWithPNGDataProvider(ImageIOLibrary.CGDataProvider source,
FloatByReference decode,
boolean shouldInterpolate,
int intent)
- Deprecated. use the safer methods
CGImageCreateWithPNGDataProvider(org.rococoa.cocoa.imageio.ImageIOLibrary.CGDataProvider, float[], boolean, int)
and CGImageCreateWithPNGDataProvider(org.rococoa.cocoa.imageio.ImageIOLibrary.CGDataProvider, java.nio.FloatBuffer, boolean, int)
instead
- Original signature :
CGImageRef CGImageCreateWithPNGDataProvider(CGDataProviderRef, const CGFloat[], bool, CGColorRenderingIntent)
- Parameters:
intent
- @see CGColorRenderingIntent
CGImageCreateWithPNGDataProvider
ImageIOLibrary.CGImage CGImageCreateWithPNGDataProvider(ImageIOLibrary.CGDataProvider source,
float[] decode,
boolean shouldInterpolate,
int intent)
- Original signature :
CGImageRef CGImageCreateWithPNGDataProvider(CGDataProviderRef, const CGFloat[], bool, CGColorRenderingIntent)
- Parameters:
intent
- @see CGColorRenderingIntent
CGImageCreateWithPNGDataProvider
ImageIOLibrary.CGImage CGImageCreateWithPNGDataProvider(ImageIOLibrary.CGDataProvider source,
FloatBuffer decode,
boolean shouldInterpolate,
int intent)
- Original signature :
CGImageRef CGImageCreateWithPNGDataProvider(CGDataProviderRef, const CGFloat[], bool, CGColorRenderingIntent)
- Parameters:
intent
- @see CGColorRenderingIntent
CGImageCreateWithImageInRect
ImageIOLibrary.CGImage CGImageCreateWithImageInRect(ImageIOLibrary.CGImage image,
CGRect.ByValue rect)
CGImageCreateWithMask
ImageIOLibrary.CGImage CGImageCreateWithMask(ImageIOLibrary.CGImage image,
ImageIOLibrary.CGImage mask)
CGImageCreateWithMaskingColors
@Deprecated
ImageIOLibrary.CGImage CGImageCreateWithMaskingColors(ImageIOLibrary.CGImage image,
FloatByReference components)
- Deprecated. use the safer methods
CGImageCreateWithMaskingColors(org.rococoa.cocoa.imageio.ImageIOLibrary.CGImage, float[])
and CGImageCreateWithMaskingColors(org.rococoa.cocoa.imageio.ImageIOLibrary.CGImage, java.nio.FloatBuffer)
instead
- Original signature :
CGImageRef CGImageCreateWithMaskingColors(CGImageRef, const CGFloat[])
CGImageCreateWithMaskingColors
ImageIOLibrary.CGImage CGImageCreateWithMaskingColors(ImageIOLibrary.CGImage image,
float[] components)
CGImageCreateWithMaskingColors
ImageIOLibrary.CGImage CGImageCreateWithMaskingColors(ImageIOLibrary.CGImage image,
FloatBuffer components)
CGImageCreateCopyWithColorSpace
ImageIOLibrary.CGImage CGImageCreateCopyWithColorSpace(ImageIOLibrary.CGImage image,
CoreGraphicsLibrary.CGColorSpace colorspace)
CGImageRetain
ImageIOLibrary.CGImage CGImageRetain(ImageIOLibrary.CGImage image)
CGImageRelease
void CGImageRelease(ImageIOLibrary.CGImage image)
CGImageIsMask
boolean CGImageIsMask(ImageIOLibrary.CGImage image)
CGImageGetWidth
NativeLong CGImageGetWidth(ImageIOLibrary.CGImage image)
CGImageGetHeight
NativeLong CGImageGetHeight(ImageIOLibrary.CGImage image)
CGImageGetBitsPerComponent
NativeLong CGImageGetBitsPerComponent(ImageIOLibrary.CGImage image)
CGImageGetBitsPerPixel
NativeLong CGImageGetBitsPerPixel(ImageIOLibrary.CGImage image)
CGImageGetBytesPerRow
NativeLong CGImageGetBytesPerRow(ImageIOLibrary.CGImage image)
CGImageGetColorSpace
CoreGraphicsLibrary.CGColorSpace CGImageGetColorSpace(ImageIOLibrary.CGImage image)
CGImageGetAlphaInfo
int CGImageGetAlphaInfo(ImageIOLibrary.CGImage image)
- See Also:
CoreGraphicsLibrary.CGImageAlphaInfo
CGImageGetDataProvider
ImageIOLibrary.CGDataProvider CGImageGetDataProvider(ImageIOLibrary.CGImage image)
CGImageGetDecode
FloatByReference CGImageGetDecode(ImageIOLibrary.CGImage image)
CGImageGetShouldInterpolate
boolean CGImageGetShouldInterpolate(ImageIOLibrary.CGImage image)
CGImageGetRenderingIntent
int CGImageGetRenderingIntent(ImageIOLibrary.CGImage image)
- See Also:
CoreGraphicsLibrary.CGColorRenderingIntent
CGImageGetBitmapInfo
int CGImageGetBitmapInfo(ImageIOLibrary.CGImage image)
- See Also:
CoreGraphicsLibrary.CGBitmapInfo
CGPathGetTypeID
NativeLong CGPathGetTypeID()
CGPathCreateMutable
CoreGraphicsLibrary.CGPath CGPathCreateMutable()
CGPathCreateCopy
CoreGraphicsLibrary.CGPath CGPathCreateCopy(CoreGraphicsLibrary.CGPath path)
CGPathCreateMutableCopy
CoreGraphicsLibrary.CGPath CGPathCreateMutableCopy(CoreGraphicsLibrary.CGPath path)
CGPathRetain
CoreGraphicsLibrary.CGPath CGPathRetain(CoreGraphicsLibrary.CGPath path)
CGPathRelease
void CGPathRelease(CoreGraphicsLibrary.CGPath path)
CGPathEqualToPath
boolean CGPathEqualToPath(CoreGraphicsLibrary.CGPath path1,
CoreGraphicsLibrary.CGPath path2)
CGPathMoveToPoint
void CGPathMoveToPoint(CoreGraphicsLibrary.CGPath path,
CGAffineTransform m,
float x,
float y)
CGPathAddLineToPoint
void CGPathAddLineToPoint(CoreGraphicsLibrary.CGPath path,
CGAffineTransform m,
float x,
float y)
CGPathAddQuadCurveToPoint
void CGPathAddQuadCurveToPoint(CoreGraphicsLibrary.CGPath path,
CGAffineTransform m,
float cpx,
float cpy,
float x,
float y)
CGPathAddCurveToPoint
void CGPathAddCurveToPoint(CoreGraphicsLibrary.CGPath path,
CGAffineTransform m,
float cp1x,
float cp1y,
float cp2x,
float cp2y,
float x,
float y)
CGPathCloseSubpath
void CGPathCloseSubpath(CoreGraphicsLibrary.CGPath path)
CGPathAddRect
void CGPathAddRect(CoreGraphicsLibrary.CGPath path,
CGAffineTransform m,
CGRect.ByValue rect)
CGPathAddRects
void CGPathAddRects(CoreGraphicsLibrary.CGPath path,
CGAffineTransform m,
Pointer rects,
NativeLong count)
CGPathAddLines
void CGPathAddLines(CoreGraphicsLibrary.CGPath path,
CGAffineTransform m,
Pointer points,
NativeLong count)
CGPathAddEllipseInRect
void CGPathAddEllipseInRect(CoreGraphicsLibrary.CGPath path,
CGAffineTransform m,
CGRect.ByValue rect)
CGPathAddArc
void CGPathAddArc(CoreGraphicsLibrary.CGPath path,
CGAffineTransform m,
float x,
float y,
float radius,
float startAngle,
float endAngle,
boolean clockwise)
CGPathAddArcToPoint
void CGPathAddArcToPoint(CoreGraphicsLibrary.CGPath path,
CGAffineTransform m,
float x1,
float y1,
float x2,
float y2,
float radius)
CGPathAddPath
void CGPathAddPath(CoreGraphicsLibrary.CGPath path1,
CGAffineTransform m,
CoreGraphicsLibrary.CGPath path2)
CGPathIsEmpty
boolean CGPathIsEmpty(CoreGraphicsLibrary.CGPath path)
CGPathIsRect
boolean CGPathIsRect(CoreGraphicsLibrary.CGPath path,
CGRect rect)
CGPathGetCurrentPoint
CGPoint.ByValue CGPathGetCurrentPoint(CoreGraphicsLibrary.CGPath path)
CGPathGetBoundingBox
CGRect.ByValue CGPathGetBoundingBox(CoreGraphicsLibrary.CGPath path)
CGPathContainsPoint
boolean CGPathContainsPoint(CoreGraphicsLibrary.CGPath path,
CGAffineTransform m,
CGPoint.ByValue point,
boolean eoFill)
CGPathApply
void CGPathApply(CoreGraphicsLibrary.CGPath path,
Pointer info,
CoreGraphicsLibrary.CGPathApplierFunction function)
CGPDFObjectGetType
int CGPDFObjectGetType(CoreGraphicsLibrary.CGPDFObject object)
- See Also:
CoreGraphicsLibrary.CGPDFObjectType
CGPDFObjectGetValue
boolean CGPDFObjectGetValue(CoreGraphicsLibrary.CGPDFObject object,
int type,
Pointer value)
- Original signature :
bool CGPDFObjectGetValue(CGPDFObjectRef, CGPDFObjectType, void*)
- Parameters:
type
- @see CGPDFObjectType
CGPDFStreamGetDictionary
CoreGraphicsLibrary.CGPDFDictionary CGPDFStreamGetDictionary(CoreGraphicsLibrary.CGPDFStream stream)
CGPDFStringGetLength
NativeLong CGPDFStringGetLength(CoreGraphicsLibrary.CGPDFString string)
CGPDFStringGetBytePtr
ByteByReference CGPDFStringGetBytePtr(CoreGraphicsLibrary.CGPDFString string)
CGPDFStringCopyDate
CoreFoundationLibrary.__CFDate CGPDFStringCopyDate(CoreGraphicsLibrary.CGPDFString string)
CGPDFArrayGetCount
NativeLong CGPDFArrayGetCount(CoreGraphicsLibrary.CGPDFArray array)
CGPDFArrayGetObject
boolean CGPDFArrayGetObject(CoreGraphicsLibrary.CGPDFArray array,
NativeLong index,
PointerByReference value)
CGPDFArrayGetNull
boolean CGPDFArrayGetNull(CoreGraphicsLibrary.CGPDFArray array,
NativeLong index)
CGPDFArrayGetBoolean
@Deprecated
boolean CGPDFArrayGetBoolean(CoreGraphicsLibrary.CGPDFArray array,
NativeLong index,
ByteByReference value)
- Deprecated. use the safer method
CGPDFArrayGetBoolean(org.rococoa.cocoa.coregraphics.CoreGraphicsLibrary.CGPDFArray, com.sun.jna.NativeLong, java.nio.ByteBuffer)
instead
- Original signature :
bool CGPDFArrayGetBoolean(CGPDFArrayRef, size_t, CGPDFBoolean*)
CGPDFArrayGetBoolean
boolean CGPDFArrayGetBoolean(CoreGraphicsLibrary.CGPDFArray array,
NativeLong index,
ByteBuffer value)
CGPDFArrayGetInteger
@Deprecated
boolean CGPDFArrayGetInteger(CoreGraphicsLibrary.CGPDFArray array,
NativeLong index,
IntByReference value)
- Deprecated. use the safer method
CGPDFArrayGetInteger(org.rococoa.cocoa.coregraphics.CoreGraphicsLibrary.CGPDFArray, com.sun.jna.NativeLong, java.nio.IntBuffer)
instead
- Original signature :
bool CGPDFArrayGetInteger(CGPDFArrayRef, size_t, CGPDFInteger*)
CGPDFArrayGetInteger
boolean CGPDFArrayGetInteger(CoreGraphicsLibrary.CGPDFArray array,
NativeLong index,
IntBuffer value)
CGPDFArrayGetNumber
@Deprecated
boolean CGPDFArrayGetNumber(CoreGraphicsLibrary.CGPDFArray array,
NativeLong index,
FloatByReference value)
- Deprecated. use the safer method
CGPDFArrayGetNumber(org.rococoa.cocoa.coregraphics.CoreGraphicsLibrary.CGPDFArray, com.sun.jna.NativeLong, java.nio.FloatBuffer)
instead
- Original signature :
bool CGPDFArrayGetNumber(CGPDFArrayRef, size_t, CGPDFReal*)
CGPDFArrayGetNumber
boolean CGPDFArrayGetNumber(CoreGraphicsLibrary.CGPDFArray array,
NativeLong index,
FloatBuffer value)
CGPDFArrayGetName
@Deprecated
boolean CGPDFArrayGetName(CoreGraphicsLibrary.CGPDFArray array,
NativeLong index,
PointerByReference value)
- Deprecated. use the safer method
CGPDFArrayGetName(org.rococoa.cocoa.coregraphics.CoreGraphicsLibrary.CGPDFArray, com.sun.jna.NativeLong, java.lang.String[])
instead
- Original signature :
bool CGPDFArrayGetName(CGPDFArrayRef, size_t, const char**)
CGPDFArrayGetName
boolean CGPDFArrayGetName(CoreGraphicsLibrary.CGPDFArray array,
NativeLong index,
String[] value)
CGPDFArrayGetString
boolean CGPDFArrayGetString(CoreGraphicsLibrary.CGPDFArray array,
NativeLong index,
PointerByReference value)
CGPDFArrayGetArray
boolean CGPDFArrayGetArray(CoreGraphicsLibrary.CGPDFArray array,
NativeLong index,
PointerByReference value)
CGPDFArrayGetDictionary
boolean CGPDFArrayGetDictionary(CoreGraphicsLibrary.CGPDFArray array,
NativeLong index,
PointerByReference value)
CGPDFArrayGetStream
boolean CGPDFArrayGetStream(CoreGraphicsLibrary.CGPDFArray array,
NativeLong index,
PointerByReference value)
CGPDFDictionaryGetCount
NativeLong CGPDFDictionaryGetCount(CoreGraphicsLibrary.CGPDFDictionary dict)
CGPDFDictionaryGetObject
@Deprecated
boolean CGPDFDictionaryGetObject(CoreGraphicsLibrary.CGPDFDictionary dict,
ByteByReference key,
PointerByReference value)
- Deprecated. use the safer method
CGPDFDictionaryGetObject(org.rococoa.cocoa.coregraphics.CoreGraphicsLibrary.CGPDFDictionary, java.lang.String, com.sun.jna.ptr.PointerByReference)
instead
- Original signature :
bool CGPDFDictionaryGetObject(CGPDFDictionaryRef, const char*, CGPDFObjectRef*)
CGPDFDictionaryGetObject
boolean CGPDFDictionaryGetObject(CoreGraphicsLibrary.CGPDFDictionary dict,
String key,
PointerByReference value)
CGPDFDictionaryGetBoolean
@Deprecated
boolean CGPDFDictionaryGetBoolean(CoreGraphicsLibrary.CGPDFDictionary dict,
ByteByReference key,
ByteByReference value)
- Deprecated. use the safer method
CGPDFDictionaryGetBoolean(org.rococoa.cocoa.coregraphics.CoreGraphicsLibrary.CGPDFDictionary, java.lang.String, java.nio.ByteBuffer)
instead
- Original signature :
bool CGPDFDictionaryGetBoolean(CGPDFDictionaryRef, const char*, CGPDFBoolean*)
CGPDFDictionaryGetBoolean
boolean CGPDFDictionaryGetBoolean(CoreGraphicsLibrary.CGPDFDictionary dict,
String key,
ByteBuffer value)
CGPDFDictionaryGetInteger
@Deprecated
boolean CGPDFDictionaryGetInteger(CoreGraphicsLibrary.CGPDFDictionary dict,
ByteByReference key,
IntByReference value)
- Deprecated. use the safer method
CGPDFDictionaryGetInteger(org.rococoa.cocoa.coregraphics.CoreGraphicsLibrary.CGPDFDictionary, java.lang.String, java.nio.IntBuffer)
instead
- Original signature :
bool CGPDFDictionaryGetInteger(CGPDFDictionaryRef, const char*, CGPDFInteger*)
CGPDFDictionaryGetInteger
boolean CGPDFDictionaryGetInteger(CoreGraphicsLibrary.CGPDFDictionary dict,
String key,
IntBuffer value)
CGPDFDictionaryGetNumber
@Deprecated
boolean CGPDFDictionaryGetNumber(CoreGraphicsLibrary.CGPDFDictionary dict,
ByteByReference key,
FloatByReference value)
- Deprecated. use the safer method
CGPDFDictionaryGetNumber(org.rococoa.cocoa.coregraphics.CoreGraphicsLibrary.CGPDFDictionary, java.lang.String, java.nio.FloatBuffer)
instead
- Original signature :
bool CGPDFDictionaryGetNumber(CGPDFDictionaryRef, const char*, CGPDFReal*)
CGPDFDictionaryGetNumber
boolean CGPDFDictionaryGetNumber(CoreGraphicsLibrary.CGPDFDictionary dict,
String key,
FloatBuffer value)
CGPDFDictionaryGetName
@Deprecated
boolean CGPDFDictionaryGetName(CoreGraphicsLibrary.CGPDFDictionary dict,
ByteByReference key,
PointerByReference value)
- Deprecated. use the safer method
CGPDFDictionaryGetName(org.rococoa.cocoa.coregraphics.CoreGraphicsLibrary.CGPDFDictionary, java.lang.String, java.lang.String[])
instead
- Original signature :
bool CGPDFDictionaryGetName(CGPDFDictionaryRef, const char*, const char**)
CGPDFDictionaryGetName
boolean CGPDFDictionaryGetName(CoreGraphicsLibrary.CGPDFDictionary dict,
String key,
String[] value)
CGPDFDictionaryGetString
@Deprecated
boolean CGPDFDictionaryGetString(CoreGraphicsLibrary.CGPDFDictionary dict,
ByteByReference key,
PointerByReference value)
- Deprecated. use the safer method
CGPDFDictionaryGetString(org.rococoa.cocoa.coregraphics.CoreGraphicsLibrary.CGPDFDictionary, java.lang.String, com.sun.jna.ptr.PointerByReference)
instead
- Original signature :
bool CGPDFDictionaryGetString(CGPDFDictionaryRef, const char*, CGPDFStringRef*)
CGPDFDictionaryGetString
boolean CGPDFDictionaryGetString(CoreGraphicsLibrary.CGPDFDictionary dict,
String key,
PointerByReference value)
CGPDFDictionaryGetArray
@Deprecated
boolean CGPDFDictionaryGetArray(CoreGraphicsLibrary.CGPDFDictionary dict,
ByteByReference key,
PointerByReference value)
- Deprecated. use the safer method
CGPDFDictionaryGetArray(org.rococoa.cocoa.coregraphics.CoreGraphicsLibrary.CGPDFDictionary, java.lang.String, com.sun.jna.ptr.PointerByReference)
instead
- Original signature :
bool CGPDFDictionaryGetArray(CGPDFDictionaryRef, const char*, CGPDFArrayRef*)
CGPDFDictionaryGetArray
boolean CGPDFDictionaryGetArray(CoreGraphicsLibrary.CGPDFDictionary dict,
String key,
PointerByReference value)
CGPDFDictionaryGetDictionary
@Deprecated
boolean CGPDFDictionaryGetDictionary(CoreGraphicsLibrary.CGPDFDictionary dict,
ByteByReference key,
PointerByReference value)
- Deprecated. use the safer method
CGPDFDictionaryGetDictionary(org.rococoa.cocoa.coregraphics.CoreGraphicsLibrary.CGPDFDictionary, java.lang.String, com.sun.jna.ptr.PointerByReference)
instead
- Original signature :
bool CGPDFDictionaryGetDictionary(CGPDFDictionaryRef, const char*, CGPDFDictionaryRef*)
CGPDFDictionaryGetDictionary
boolean CGPDFDictionaryGetDictionary(CoreGraphicsLibrary.CGPDFDictionary dict,
String key,
PointerByReference value)
CGPDFDictionaryGetStream
@Deprecated
boolean CGPDFDictionaryGetStream(CoreGraphicsLibrary.CGPDFDictionary dict,
ByteByReference key,
PointerByReference value)
- Deprecated. use the safer method
CGPDFDictionaryGetStream(org.rococoa.cocoa.coregraphics.CoreGraphicsLibrary.CGPDFDictionary, java.lang.String, com.sun.jna.ptr.PointerByReference)
instead
- Original signature :
bool CGPDFDictionaryGetStream(CGPDFDictionaryRef, const char*, CGPDFStreamRef*)
CGPDFDictionaryGetStream
boolean CGPDFDictionaryGetStream(CoreGraphicsLibrary.CGPDFDictionary dict,
String key,
PointerByReference value)
CGPDFDictionaryApplyFunction
void CGPDFDictionaryApplyFunction(CoreGraphicsLibrary.CGPDFDictionary dict,
CoreGraphicsLibrary.CGPDFDictionaryApplierFunction function,
Pointer info)
CGPDFPageRetain
CoreGraphicsLibrary.CGPDFPage CGPDFPageRetain(CoreGraphicsLibrary.CGPDFPage page)
CGPDFPageRelease
void CGPDFPageRelease(CoreGraphicsLibrary.CGPDFPage page)
CGPDFPageGetDocument
CoreGraphicsLibrary.CGPDFDocument CGPDFPageGetDocument(CoreGraphicsLibrary.CGPDFPage page)
CGPDFPageGetPageNumber
NativeLong CGPDFPageGetPageNumber(CoreGraphicsLibrary.CGPDFPage page)
CGPDFPageGetBoxRect
CGRect.ByValue CGPDFPageGetBoxRect(CoreGraphicsLibrary.CGPDFPage page,
int box)
- Original signature :
CGRect CGPDFPageGetBoxRect(CGPDFPageRef, CGPDFBox)
- Parameters:
box
- @see CGPDFBox
CGPDFPageGetRotationAngle
int CGPDFPageGetRotationAngle(CoreGraphicsLibrary.CGPDFPage page)
CGPDFPageGetDrawingTransform
CGAffineTransform.ByValue CGPDFPageGetDrawingTransform(CoreGraphicsLibrary.CGPDFPage page,
int box,
CGRect.ByValue rect,
int rotate,
boolean preserveAspectRatio)
- Original signature :
CGAffineTransform CGPDFPageGetDrawingTransform(CGPDFPageRef, CGPDFBox, CGRect, int, bool)
- Parameters:
box
- @see CGPDFBox
CGPDFPageGetDictionary
CoreGraphicsLibrary.CGPDFDictionary CGPDFPageGetDictionary(CoreGraphicsLibrary.CGPDFPage page)
CGPDFPageGetTypeID
NativeLong CGPDFPageGetTypeID()
CGPDFDocumentCreateWithProvider
CoreGraphicsLibrary.CGPDFDocument CGPDFDocumentCreateWithProvider(ImageIOLibrary.CGDataProvider provider)
CGPDFDocumentCreateWithURL
CoreGraphicsLibrary.CGPDFDocument CGPDFDocumentCreateWithURL(AudioUnitLibrary.__CFURL url)
CGPDFDocumentRetain
CoreGraphicsLibrary.CGPDFDocument CGPDFDocumentRetain(CoreGraphicsLibrary.CGPDFDocument document)
CGPDFDocumentRelease
void CGPDFDocumentRelease(CoreGraphicsLibrary.CGPDFDocument document)
CGPDFDocumentGetVersion
@Deprecated
void CGPDFDocumentGetVersion(CoreGraphicsLibrary.CGPDFDocument document,
IntByReference majorVersion,
IntByReference minorVersion)
- Deprecated. use the safer method
CGPDFDocumentGetVersion(org.rococoa.cocoa.coregraphics.CoreGraphicsLibrary.CGPDFDocument, java.nio.IntBuffer, java.nio.IntBuffer)
instead
- Original signature :
void CGPDFDocumentGetVersion(CGPDFDocumentRef, int*, int*)
CGPDFDocumentGetVersion
void CGPDFDocumentGetVersion(CoreGraphicsLibrary.CGPDFDocument document,
IntBuffer majorVersion,
IntBuffer minorVersion)
CGPDFDocumentIsEncrypted
boolean CGPDFDocumentIsEncrypted(CoreGraphicsLibrary.CGPDFDocument document)
CGPDFDocumentUnlockWithPassword
@Deprecated
boolean CGPDFDocumentUnlockWithPassword(CoreGraphicsLibrary.CGPDFDocument document,
ByteByReference password)
- Deprecated. use the safer method
CGPDFDocumentUnlockWithPassword(org.rococoa.cocoa.coregraphics.CoreGraphicsLibrary.CGPDFDocument, java.lang.String)
instead
- Original signature :
bool CGPDFDocumentUnlockWithPassword(CGPDFDocumentRef, const char*)
CGPDFDocumentUnlockWithPassword
boolean CGPDFDocumentUnlockWithPassword(CoreGraphicsLibrary.CGPDFDocument document,
String password)
CGPDFDocumentIsUnlocked
boolean CGPDFDocumentIsUnlocked(CoreGraphicsLibrary.CGPDFDocument document)
CGPDFDocumentAllowsPrinting
boolean CGPDFDocumentAllowsPrinting(CoreGraphicsLibrary.CGPDFDocument document)
CGPDFDocumentAllowsCopying
boolean CGPDFDocumentAllowsCopying(CoreGraphicsLibrary.CGPDFDocument document)
CGPDFDocumentGetNumberOfPages
NativeLong CGPDFDocumentGetNumberOfPages(CoreGraphicsLibrary.CGPDFDocument document)
CGPDFDocumentGetPage
CoreGraphicsLibrary.CGPDFPage CGPDFDocumentGetPage(CoreGraphicsLibrary.CGPDFDocument document,
NativeLong pageNumber)
CGPDFDocumentGetCatalog
CoreGraphicsLibrary.CGPDFDictionary CGPDFDocumentGetCatalog(CoreGraphicsLibrary.CGPDFDocument document)
CGPDFDocumentGetInfo
CoreGraphicsLibrary.CGPDFDictionary CGPDFDocumentGetInfo(CoreGraphicsLibrary.CGPDFDocument document)
CGPDFDocumentGetID
CoreGraphicsLibrary.CGPDFArray CGPDFDocumentGetID(CoreGraphicsLibrary.CGPDFDocument document)
CGPDFDocumentGetTypeID
NativeLong CGPDFDocumentGetTypeID()
CGPDFDocumentGetMediaBox
CGRect.ByValue CGPDFDocumentGetMediaBox(CoreGraphicsLibrary.CGPDFDocument document,
int page)
CGPDFDocumentGetCropBox
CGRect.ByValue CGPDFDocumentGetCropBox(CoreGraphicsLibrary.CGPDFDocument document,
int page)
CGPDFDocumentGetBleedBox
CGRect.ByValue CGPDFDocumentGetBleedBox(CoreGraphicsLibrary.CGPDFDocument document,
int page)
CGPDFDocumentGetTrimBox
CGRect.ByValue CGPDFDocumentGetTrimBox(CoreGraphicsLibrary.CGPDFDocument document,
int page)
CGPDFDocumentGetArtBox
CGRect.ByValue CGPDFDocumentGetArtBox(CoreGraphicsLibrary.CGPDFDocument document,
int page)
CGPDFDocumentGetRotationAngle
int CGPDFDocumentGetRotationAngle(CoreGraphicsLibrary.CGPDFDocument document,
int page)
CGFunctionGetTypeID
NativeLong CGFunctionGetTypeID()
CGFunctionCreate
@Deprecated
CoreGraphicsLibrary.CGFunction CGFunctionCreate(Pointer info,
NativeLong domainDimension,
FloatByReference domain,
NativeLong rangeDimension,
FloatByReference range,
CGFunctionCallbacks callbacks)
- Deprecated. use the safer methods
CGFunctionCreate(com.sun.jna.Pointer, com.sun.jna.NativeLong, float[], com.sun.jna.NativeLong, float[], org.rococoa.cocoa.coregraphics.CGFunctionCallbacks)
and CGFunctionCreate(com.sun.jna.Pointer, com.sun.jna.NativeLong, java.nio.FloatBuffer, com.sun.jna.NativeLong, java.nio.FloatBuffer, org.rococoa.cocoa.coregraphics.CGFunctionCallbacks)
instead
- Original signature :
CGFunctionRef CGFunctionCreate(void*, size_t, const CGFloat*, size_t, const CGFloat*, const CGFunctionCallbacks*)
CGFunctionCreate
CoreGraphicsLibrary.CGFunction CGFunctionCreate(Pointer info,
NativeLong domainDimension,
float[] domain,
NativeLong rangeDimension,
float[] range,
CGFunctionCallbacks callbacks)
CGFunctionCreate
CoreGraphicsLibrary.CGFunction CGFunctionCreate(Pointer info,
NativeLong domainDimension,
FloatBuffer domain,
NativeLong rangeDimension,
FloatBuffer range,
CGFunctionCallbacks callbacks)
CGFunctionRetain
CoreGraphicsLibrary.CGFunction CGFunctionRetain(CoreGraphicsLibrary.CGFunction function)
CGFunctionRelease
void CGFunctionRelease(CoreGraphicsLibrary.CGFunction function)
CGShadingGetTypeID
NativeLong CGShadingGetTypeID()
CGShadingCreateAxial
CoreGraphicsLibrary.CGShading CGShadingCreateAxial(CoreGraphicsLibrary.CGColorSpace colorspace,
CGPoint.ByValue start,
CGPoint.ByValue end,
CoreGraphicsLibrary.CGFunction function,
boolean extendStart,
boolean extendEnd)
CGShadingCreateRadial
CoreGraphicsLibrary.CGShading CGShadingCreateRadial(CoreGraphicsLibrary.CGColorSpace colorspace,
CGPoint.ByValue start,
float startRadius,
CGPoint.ByValue end,
float endRadius,
CoreGraphicsLibrary.CGFunction function,
boolean extendStart,
boolean extendEnd)
CGShadingRetain
CoreGraphicsLibrary.CGShading CGShadingRetain(CoreGraphicsLibrary.CGShading shading)
CGShadingRelease
void CGShadingRelease(CoreGraphicsLibrary.CGShading shading)
CGContextGetTypeID
NativeLong CGContextGetTypeID()
CGContextSaveGState
void CGContextSaveGState(CoreGraphicsLibrary.CGContext c)
CGContextRestoreGState
void CGContextRestoreGState(CoreGraphicsLibrary.CGContext c)
CGContextScaleCTM
void CGContextScaleCTM(CoreGraphicsLibrary.CGContext c,
float sx,
float sy)
CGContextTranslateCTM
void CGContextTranslateCTM(CoreGraphicsLibrary.CGContext c,
float tx,
float ty)
CGContextRotateCTM
void CGContextRotateCTM(CoreGraphicsLibrary.CGContext c,
float angle)
CGContextConcatCTM
void CGContextConcatCTM(CoreGraphicsLibrary.CGContext c,
CGAffineTransform.ByValue transform)
CGContextGetCTM
CGAffineTransform.ByValue CGContextGetCTM(CoreGraphicsLibrary.CGContext c)
CGContextSetLineWidth
void CGContextSetLineWidth(CoreGraphicsLibrary.CGContext c,
float width)
CGContextSetLineCap
void CGContextSetLineCap(CoreGraphicsLibrary.CGContext c,
int cap)
- Original signature :
void CGContextSetLineCap(CGContextRef, CGLineCap)
- Parameters:
cap
- @see CGLineCap
CGContextSetLineJoin
void CGContextSetLineJoin(CoreGraphicsLibrary.CGContext c,
int join)
- Original signature :
void CGContextSetLineJoin(CGContextRef, CGLineJoin)
- Parameters:
join
- @see CGLineJoin
CGContextSetMiterLimit
void CGContextSetMiterLimit(CoreGraphicsLibrary.CGContext c,
float limit)
CGContextSetLineDash
@Deprecated
void CGContextSetLineDash(CoreGraphicsLibrary.CGContext c,
float phase,
FloatByReference lengths,
NativeLong count)
- Deprecated. use the safer methods
CGContextSetLineDash(org.rococoa.cocoa.coregraphics.CoreGraphicsLibrary.CGContext, float, float[], com.sun.jna.NativeLong)
and CGContextSetLineDash(org.rococoa.cocoa.coregraphics.CoreGraphicsLibrary.CGContext, float, java.nio.FloatBuffer, com.sun.jna.NativeLong)
instead
- Original signature :
void CGContextSetLineDash(CGContextRef, CGFloat, const CGFloat[], size_t)
CGContextSetLineDash
void CGContextSetLineDash(CoreGraphicsLibrary.CGContext c,
float phase,
float[] lengths,
NativeLong count)
CGContextSetLineDash
void CGContextSetLineDash(CoreGraphicsLibrary.CGContext c,
float phase,
FloatBuffer lengths,
NativeLong count)
CGContextSetFlatness
void CGContextSetFlatness(CoreGraphicsLibrary.CGContext c,
float flatness)
CGContextSetAlpha
void CGContextSetAlpha(CoreGraphicsLibrary.CGContext c,
float alpha)
CGContextSetBlendMode
void CGContextSetBlendMode(CoreGraphicsLibrary.CGContext context,
int mode)
- Original signature :
void CGContextSetBlendMode(CGContextRef, CGBlendMode)
- Parameters:
mode
- @see CGBlendMode
CGContextBeginPath
void CGContextBeginPath(CoreGraphicsLibrary.CGContext c)
CGContextMoveToPoint
void CGContextMoveToPoint(CoreGraphicsLibrary.CGContext c,
float x,
float y)
CGContextAddLineToPoint
void CGContextAddLineToPoint(CoreGraphicsLibrary.CGContext c,
float x,
float y)
CGContextAddCurveToPoint
void CGContextAddCurveToPoint(CoreGraphicsLibrary.CGContext c,
float cp1x,
float cp1y,
float cp2x,
float cp2y,
float x,
float y)
CGContextAddQuadCurveToPoint
void CGContextAddQuadCurveToPoint(CoreGraphicsLibrary.CGContext c,
float cpx,
float cpy,
float x,
float y)
CGContextClosePath
void CGContextClosePath(CoreGraphicsLibrary.CGContext c)
CGContextAddRect
void CGContextAddRect(CoreGraphicsLibrary.CGContext c,
CGRect.ByValue rect)
CGContextAddRects
void CGContextAddRects(CoreGraphicsLibrary.CGContext c,
Pointer rects,
NativeLong count)
CGContextAddLines
void CGContextAddLines(CoreGraphicsLibrary.CGContext c,
Pointer points,
NativeLong count)
CGContextAddEllipseInRect
void CGContextAddEllipseInRect(CoreGraphicsLibrary.CGContext context,
CGRect.ByValue rect)
CGContextAddArc
void CGContextAddArc(CoreGraphicsLibrary.CGContext c,
float x,
float y,
float radius,
float startAngle,
float endAngle,
int clockwise)
CGContextAddArcToPoint
void CGContextAddArcToPoint(CoreGraphicsLibrary.CGContext c,
float x1,
float y1,
float x2,
float y2,
float radius)
CGContextAddPath
void CGContextAddPath(CoreGraphicsLibrary.CGContext context,
CoreGraphicsLibrary.CGPath path)
CGContextReplacePathWithStrokedPath
void CGContextReplacePathWithStrokedPath(CoreGraphicsLibrary.CGContext c)
CGContextIsPathEmpty
boolean CGContextIsPathEmpty(CoreGraphicsLibrary.CGContext c)
CGContextGetPathCurrentPoint
CGPoint.ByValue CGContextGetPathCurrentPoint(CoreGraphicsLibrary.CGContext c)
CGContextGetPathBoundingBox
CGRect.ByValue CGContextGetPathBoundingBox(CoreGraphicsLibrary.CGContext c)
CGContextPathContainsPoint
boolean CGContextPathContainsPoint(CoreGraphicsLibrary.CGContext context,
CGPoint.ByValue point,
int mode)
- Original signature :
bool CGContextPathContainsPoint(CGContextRef, CGPoint, CGPathDrawingMode)
- Parameters:
mode
- @see CGPathDrawingMode
CGContextDrawPath
void CGContextDrawPath(CoreGraphicsLibrary.CGContext c,
int mode)
- Original signature :
void CGContextDrawPath(CGContextRef, CGPathDrawingMode)
- Parameters:
mode
- @see CGPathDrawingMode
CGContextFillPath
void CGContextFillPath(CoreGraphicsLibrary.CGContext c)
CGContextEOFillPath
void CGContextEOFillPath(CoreGraphicsLibrary.CGContext c)
CGContextStrokePath
void CGContextStrokePath(CoreGraphicsLibrary.CGContext c)
CGContextFillRect
void CGContextFillRect(CoreGraphicsLibrary.CGContext c,
CGRect.ByValue rect)
CGContextFillRects
void CGContextFillRects(CoreGraphicsLibrary.CGContext c,
Pointer rects,
NativeLong count)
CGContextStrokeRect
void CGContextStrokeRect(CoreGraphicsLibrary.CGContext c,
CGRect.ByValue rect)
CGContextStrokeRectWithWidth
void CGContextStrokeRectWithWidth(CoreGraphicsLibrary.CGContext c,
CGRect.ByValue rect,
float width)
CGContextClearRect
void CGContextClearRect(CoreGraphicsLibrary.CGContext c,
CGRect.ByValue rect)
CGContextFillEllipseInRect
void CGContextFillEllipseInRect(CoreGraphicsLibrary.CGContext context,
CGRect.ByValue rect)
CGContextStrokeEllipseInRect
void CGContextStrokeEllipseInRect(CoreGraphicsLibrary.CGContext context,
CGRect.ByValue rect)
CGContextStrokeLineSegments
void CGContextStrokeLineSegments(CoreGraphicsLibrary.CGContext c,
Pointer points,
NativeLong count)
CGContextClip
void CGContextClip(CoreGraphicsLibrary.CGContext c)
CGContextEOClip
void CGContextEOClip(CoreGraphicsLibrary.CGContext c)
CGContextClipToMask
void CGContextClipToMask(CoreGraphicsLibrary.CGContext c,
CGRect.ByValue rect,
ImageIOLibrary.CGImage mask)
CGContextGetClipBoundingBox
CGRect.ByValue CGContextGetClipBoundingBox(CoreGraphicsLibrary.CGContext c)
CGContextClipToRect
void CGContextClipToRect(CoreGraphicsLibrary.CGContext c,
CGRect.ByValue rect)
CGContextClipToRects
void CGContextClipToRects(CoreGraphicsLibrary.CGContext c,
Pointer rects,
NativeLong count)
CGContextSetFillColorWithColor
void CGContextSetFillColorWithColor(CoreGraphicsLibrary.CGContext c,
CoreGraphicsLibrary.CGColor color)
CGContextSetStrokeColorWithColor
void CGContextSetStrokeColorWithColor(CoreGraphicsLibrary.CGContext c,
CoreGraphicsLibrary.CGColor color)
CGContextSetFillColorSpace
void CGContextSetFillColorSpace(CoreGraphicsLibrary.CGContext c,
CoreGraphicsLibrary.CGColorSpace colorspace)
CGContextSetStrokeColorSpace
void CGContextSetStrokeColorSpace(CoreGraphicsLibrary.CGContext c,
CoreGraphicsLibrary.CGColorSpace colorspace)
CGContextSetFillColor
@Deprecated
void CGContextSetFillColor(CoreGraphicsLibrary.CGContext c,
FloatByReference components)
- Deprecated. use the safer methods
CGContextSetFillColor(org.rococoa.cocoa.coregraphics.CoreGraphicsLibrary.CGContext, float[])
and CGContextSetFillColor(org.rococoa.cocoa.coregraphics.CoreGraphicsLibrary.CGContext, java.nio.FloatBuffer)
instead
- Original signature :
void CGContextSetFillColor(CGContextRef, const CGFloat[])
CGContextSetFillColor
void CGContextSetFillColor(CoreGraphicsLibrary.CGContext c,
float[] components)
CGContextSetFillColor
void CGContextSetFillColor(CoreGraphicsLibrary.CGContext c,
FloatBuffer components)
CGContextSetStrokeColor
@Deprecated
void CGContextSetStrokeColor(CoreGraphicsLibrary.CGContext c,
FloatByReference components)
- Deprecated. use the safer methods
CGContextSetStrokeColor(org.rococoa.cocoa.coregraphics.CoreGraphicsLibrary.CGContext, float[])
and CGContextSetStrokeColor(org.rococoa.cocoa.coregraphics.CoreGraphicsLibrary.CGContext, java.nio.FloatBuffer)
instead
- Original signature :
void CGContextSetStrokeColor(CGContextRef, const CGFloat[])
CGContextSetStrokeColor
void CGContextSetStrokeColor(CoreGraphicsLibrary.CGContext c,
float[] components)
CGContextSetStrokeColor
void CGContextSetStrokeColor(CoreGraphicsLibrary.CGContext c,
FloatBuffer components)
CGContextSetFillPattern
@Deprecated
void CGContextSetFillPattern(CoreGraphicsLibrary.CGContext c,
CoreGraphicsLibrary.CGPattern pattern,
FloatByReference components)
- Deprecated. use the safer methods
CGContextSetFillPattern(org.rococoa.cocoa.coregraphics.CoreGraphicsLibrary.CGContext, org.rococoa.cocoa.coregraphics.CoreGraphicsLibrary.CGPattern, float[])
and CGContextSetFillPattern(org.rococoa.cocoa.coregraphics.CoreGraphicsLibrary.CGContext, org.rococoa.cocoa.coregraphics.CoreGraphicsLibrary.CGPattern, java.nio.FloatBuffer)
instead
- Original signature :
void CGContextSetFillPattern(CGContextRef, CGPatternRef, const CGFloat[])
CGContextSetFillPattern
void CGContextSetFillPattern(CoreGraphicsLibrary.CGContext c,
CoreGraphicsLibrary.CGPattern pattern,
float[] components)
CGContextSetFillPattern
void CGContextSetFillPattern(CoreGraphicsLibrary.CGContext c,
CoreGraphicsLibrary.CGPattern pattern,
FloatBuffer components)
CGContextSetStrokePattern
@Deprecated
void CGContextSetStrokePattern(CoreGraphicsLibrary.CGContext c,
CoreGraphicsLibrary.CGPattern pattern,
FloatByReference components)
- Deprecated. use the safer methods
CGContextSetStrokePattern(org.rococoa.cocoa.coregraphics.CoreGraphicsLibrary.CGContext, org.rococoa.cocoa.coregraphics.CoreGraphicsLibrary.CGPattern, float[])
and CGContextSetStrokePattern(org.rococoa.cocoa.coregraphics.CoreGraphicsLibrary.CGContext, org.rococoa.cocoa.coregraphics.CoreGraphicsLibrary.CGPattern, java.nio.FloatBuffer)
instead
- Original signature :
void CGContextSetStrokePattern(CGContextRef, CGPatternRef, const CGFloat[])
CGContextSetStrokePattern
void CGContextSetStrokePattern(CoreGraphicsLibrary.CGContext c,
CoreGraphicsLibrary.CGPattern pattern,
float[] components)
CGContextSetStrokePattern
void CGContextSetStrokePattern(CoreGraphicsLibrary.CGContext c,
CoreGraphicsLibrary.CGPattern pattern,
FloatBuffer components)
CGContextSetPatternPhase
void CGContextSetPatternPhase(CoreGraphicsLibrary.CGContext c,
CGSize.ByValue phase)
CGContextSetGrayFillColor
void CGContextSetGrayFillColor(CoreGraphicsLibrary.CGContext c,
float gray,
float alpha)
CGContextSetGrayStrokeColor
void CGContextSetGrayStrokeColor(CoreGraphicsLibrary.CGContext c,
float gray,
float alpha)
CGContextSetRGBFillColor
void CGContextSetRGBFillColor(CoreGraphicsLibrary.CGContext c,
float red,
float green,
float blue,
float alpha)
CGContextSetRGBStrokeColor
void CGContextSetRGBStrokeColor(CoreGraphicsLibrary.CGContext c,
float red,
float green,
float blue,
float alpha)
CGContextSetCMYKFillColor
void CGContextSetCMYKFillColor(CoreGraphicsLibrary.CGContext c,
float cyan,
float magenta,
float yellow,
float black,
float alpha)
CGContextSetCMYKStrokeColor
void CGContextSetCMYKStrokeColor(CoreGraphicsLibrary.CGContext c,
float cyan,
float magenta,
float yellow,
float black,
float alpha)
CGContextSetRenderingIntent
void CGContextSetRenderingIntent(CoreGraphicsLibrary.CGContext c,
int intent)
- Original signature :
void CGContextSetRenderingIntent(CGContextRef, CGColorRenderingIntent)
- Parameters:
intent
- @see CGColorRenderingIntent
CGContextDrawImage
void CGContextDrawImage(CoreGraphicsLibrary.CGContext c,
CGRect.ByValue rect,
ImageIOLibrary.CGImage image)
CGContextDrawTiledImage
void CGContextDrawTiledImage(CoreGraphicsLibrary.CGContext c,
CGRect.ByValue rect,
ImageIOLibrary.CGImage image)
CGContextGetInterpolationQuality
int CGContextGetInterpolationQuality(CoreGraphicsLibrary.CGContext c)
- See Also:
CoreGraphicsLibrary.CGInterpolationQuality
CGContextSetInterpolationQuality
void CGContextSetInterpolationQuality(CoreGraphicsLibrary.CGContext c,
int quality)
- Original signature :
void CGContextSetInterpolationQuality(CGContextRef, CGInterpolationQuality)
- Parameters:
quality
- @see CGInterpolationQuality
CGContextSetShadowWithColor
void CGContextSetShadowWithColor(CoreGraphicsLibrary.CGContext context,
CGSize.ByValue offset,
float blur,
CoreGraphicsLibrary.CGColor color)
CGContextSetShadow
void CGContextSetShadow(CoreGraphicsLibrary.CGContext context,
CGSize.ByValue offset,
float blur)
CGContextDrawLinearGradient
void CGContextDrawLinearGradient(CoreGraphicsLibrary.CGContext context,
CoreGraphicsLibrary.CGGradient gradient,
CGPoint.ByValue startPoint,
CGPoint.ByValue endPoint,
int options)
- Original signature :
void CGContextDrawLinearGradient(CGContextRef, CGGradientRef, CGPoint, CGPoint, CGGradientDrawingOptions)
- Parameters:
options
- @see CGGradientDrawingOptions
CGContextDrawRadialGradient
void CGContextDrawRadialGradient(CoreGraphicsLibrary.CGContext context,
CoreGraphicsLibrary.CGGradient gradient,
CGPoint.ByValue startCenter,
float startRadius,
CGPoint.ByValue endCenter,
float endRadius,
int options)
- Original signature :
void CGContextDrawRadialGradient(CGContextRef, CGGradientRef, CGPoint, CGFloat, CGPoint, CGFloat, CGGradientDrawingOptions)
- Parameters:
options
- @see CGGradientDrawingOptions
CGContextDrawShading
void CGContextDrawShading(CoreGraphicsLibrary.CGContext context,
CoreGraphicsLibrary.CGShading shading)
CGContextSetCharacterSpacing
void CGContextSetCharacterSpacing(CoreGraphicsLibrary.CGContext c,
float spacing)
CGContextSetTextPosition
void CGContextSetTextPosition(CoreGraphicsLibrary.CGContext c,
float x,
float y)
CGContextGetTextPosition
CGPoint.ByValue CGContextGetTextPosition(CoreGraphicsLibrary.CGContext c)
CGContextSetTextMatrix
void CGContextSetTextMatrix(CoreGraphicsLibrary.CGContext c,
CGAffineTransform.ByValue t)
CGContextGetTextMatrix
CGAffineTransform.ByValue CGContextGetTextMatrix(CoreGraphicsLibrary.CGContext c)
CGContextSetTextDrawingMode
void CGContextSetTextDrawingMode(CoreGraphicsLibrary.CGContext c,
int mode)
- Original signature :
void CGContextSetTextDrawingMode(CGContextRef, CGTextDrawingMode)
- Parameters:
mode
- @see CGTextDrawingMode
CGContextSetFont
void CGContextSetFont(CoreGraphicsLibrary.CGContext c,
CoreGraphicsLibrary.CGFont font)
CGContextSetFontSize
void CGContextSetFontSize(CoreGraphicsLibrary.CGContext c,
float size)
CGContextSelectFont
@Deprecated
void CGContextSelectFont(CoreGraphicsLibrary.CGContext c,
ByteByReference name,
float size,
int textEncoding)
- Deprecated. use the safer method
CGContextSelectFont(org.rococoa.cocoa.coregraphics.CoreGraphicsLibrary.CGContext, java.lang.String, float, int)
instead
- Original signature :
void CGContextSelectFont(CGContextRef, const char*, CGFloat, CGTextEncoding)
- Parameters:
textEncoding
- @see CGTextEncoding
CGContextSelectFont
void CGContextSelectFont(CoreGraphicsLibrary.CGContext c,
String name,
float size,
int textEncoding)
- Original signature :
void CGContextSelectFont(CGContextRef, const char*, CGFloat, CGTextEncoding)
- Parameters:
textEncoding
- @see CGTextEncoding
CGContextShowGlyphsAtPositions
@Deprecated
void CGContextShowGlyphsAtPositions(CoreGraphicsLibrary.CGContext context,
ShortByReference glyphs,
Pointer positions,
NativeLong count)
- Deprecated. use the safer method
CGContextShowGlyphsAtPositions(org.rococoa.cocoa.coregraphics.CoreGraphicsLibrary.CGContext, java.nio.ShortBuffer, com.sun.jna.Pointer, com.sun.jna.NativeLong)
instead
- Original signature :
void CGContextShowGlyphsAtPositions(CGContextRef, const CGGlyph[], const CGPoint[], size_t)
CGContextShowGlyphsAtPositions
void CGContextShowGlyphsAtPositions(CoreGraphicsLibrary.CGContext context,
ShortBuffer glyphs,
Pointer positions,
NativeLong count)
CGContextShowText
@Deprecated
void CGContextShowText(CoreGraphicsLibrary.CGContext c,
ByteByReference string,
NativeLong length)
- Deprecated. use the safer method
CGContextShowText(org.rococoa.cocoa.coregraphics.CoreGraphicsLibrary.CGContext, java.lang.String, com.sun.jna.NativeLong)
instead
- Original signature :
void CGContextShowText(CGContextRef, const char*, size_t)
CGContextShowText
void CGContextShowText(CoreGraphicsLibrary.CGContext c,
String string,
NativeLong length)
CGContextShowTextAtPoint
@Deprecated
void CGContextShowTextAtPoint(CoreGraphicsLibrary.CGContext c,
float x,
float y,
ByteByReference string,
NativeLong length)
- Deprecated. use the safer method
CGContextShowTextAtPoint(org.rococoa.cocoa.coregraphics.CoreGraphicsLibrary.CGContext, float, float, java.lang.String, com.sun.jna.NativeLong)
instead
- Original signature :
void CGContextShowTextAtPoint(CGContextRef, CGFloat, CGFloat, const char*, size_t)
CGContextShowTextAtPoint
void CGContextShowTextAtPoint(CoreGraphicsLibrary.CGContext c,
float x,
float y,
String string,
NativeLong length)
CGContextShowGlyphs
@Deprecated
void CGContextShowGlyphs(CoreGraphicsLibrary.CGContext c,
ShortByReference g,
NativeLong count)
- Deprecated. use the safer method
CGContextShowGlyphs(org.rococoa.cocoa.coregraphics.CoreGraphicsLibrary.CGContext, java.nio.ShortBuffer, com.sun.jna.NativeLong)
instead
- Original signature :
void CGContextShowGlyphs(CGContextRef, const CGGlyph[], size_t)
CGContextShowGlyphs
void CGContextShowGlyphs(CoreGraphicsLibrary.CGContext c,
ShortBuffer g,
NativeLong count)
CGContextShowGlyphsAtPoint
@Deprecated
void CGContextShowGlyphsAtPoint(CoreGraphicsLibrary.CGContext c,
float x,
float y,
ShortByReference glyphs,
NativeLong count)
- Deprecated. use the safer method
CGContextShowGlyphsAtPoint(org.rococoa.cocoa.coregraphics.CoreGraphicsLibrary.CGContext, float, float, java.nio.ShortBuffer, com.sun.jna.NativeLong)
instead
- Original signature :
void CGContextShowGlyphsAtPoint(CGContextRef, CGFloat, CGFloat, const CGGlyph[], size_t)
CGContextShowGlyphsAtPoint
void CGContextShowGlyphsAtPoint(CoreGraphicsLibrary.CGContext c,
float x,
float y,
ShortBuffer glyphs,
NativeLong count)
CGContextShowGlyphsWithAdvances
@Deprecated
void CGContextShowGlyphsWithAdvances(CoreGraphicsLibrary.CGContext c,
ShortByReference glyphs,
Pointer advances,
NativeLong count)
- Deprecated. use the safer method
CGContextShowGlyphsWithAdvances(org.rococoa.cocoa.coregraphics.CoreGraphicsLibrary.CGContext, java.nio.ShortBuffer, com.sun.jna.Pointer, com.sun.jna.NativeLong)
instead
- Original signature :
void CGContextShowGlyphsWithAdvances(CGContextRef, const CGGlyph[], const CGSize[], size_t)
CGContextShowGlyphsWithAdvances
void CGContextShowGlyphsWithAdvances(CoreGraphicsLibrary.CGContext c,
ShortBuffer glyphs,
Pointer advances,
NativeLong count)
CGContextDrawPDFPage
void CGContextDrawPDFPage(CoreGraphicsLibrary.CGContext c,
CoreGraphicsLibrary.CGPDFPage page)
CGContextDrawPDFDocument
void CGContextDrawPDFDocument(CoreGraphicsLibrary.CGContext c,
CGRect.ByValue rect,
CoreGraphicsLibrary.CGPDFDocument document,
int page)
CGContextBeginPage
void CGContextBeginPage(CoreGraphicsLibrary.CGContext c,
CGRect mediaBox)
CGContextEndPage
void CGContextEndPage(CoreGraphicsLibrary.CGContext c)
CGContextRetain
CoreGraphicsLibrary.CGContext CGContextRetain(CoreGraphicsLibrary.CGContext c)
CGContextRelease
void CGContextRelease(CoreGraphicsLibrary.CGContext c)
CGContextFlush
void CGContextFlush(CoreGraphicsLibrary.CGContext c)
CGContextSynchronize
void CGContextSynchronize(CoreGraphicsLibrary.CGContext c)
CGContextSetShouldAntialias
void CGContextSetShouldAntialias(CoreGraphicsLibrary.CGContext c,
boolean shouldAntialias)
CGContextSetAllowsAntialiasing
void CGContextSetAllowsAntialiasing(CoreGraphicsLibrary.CGContext context,
boolean allowsAntialiasing)
CGContextSetShouldSmoothFonts
void CGContextSetShouldSmoothFonts(CoreGraphicsLibrary.CGContext c,
boolean shouldSmoothFonts)
CGContextBeginTransparencyLayer
void CGContextBeginTransparencyLayer(CoreGraphicsLibrary.CGContext context,
HIServicesLibrary.__CFDictionary auxiliaryInfo)
CGContextBeginTransparencyLayerWithRect
void CGContextBeginTransparencyLayerWithRect(CoreGraphicsLibrary.CGContext context,
CGRect.ByValue rect,
HIServicesLibrary.__CFDictionary auxiliaryInfo)
CGContextEndTransparencyLayer
void CGContextEndTransparencyLayer(CoreGraphicsLibrary.CGContext context)
CGContextGetUserSpaceToDeviceSpaceTransform
CGAffineTransform.ByValue CGContextGetUserSpaceToDeviceSpaceTransform(CoreGraphicsLibrary.CGContext c)
CGContextConvertPointToDeviceSpace
CGPoint.ByValue CGContextConvertPointToDeviceSpace(CoreGraphicsLibrary.CGContext c,
CGPoint.ByValue point)
CGContextConvertPointToUserSpace
CGPoint.ByValue CGContextConvertPointToUserSpace(CoreGraphicsLibrary.CGContext c,
CGPoint.ByValue point)
CGContextConvertSizeToDeviceSpace
CGSize.ByValue CGContextConvertSizeToDeviceSpace(CoreGraphicsLibrary.CGContext c,
CGSize.ByValue size)
CGContextConvertSizeToUserSpace
CGSize.ByValue CGContextConvertSizeToUserSpace(CoreGraphicsLibrary.CGContext c,
CGSize.ByValue size)
CGContextConvertRectToDeviceSpace
CGRect.ByValue CGContextConvertRectToDeviceSpace(CoreGraphicsLibrary.CGContext c,
CGRect.ByValue rect)
CGContextConvertRectToUserSpace
CGRect.ByValue CGContextConvertRectToUserSpace(CoreGraphicsLibrary.CGContext c,
CGRect.ByValue rect)
CGBitmapContextCreate
CoreGraphicsLibrary.CGContext CGBitmapContextCreate(Pointer data,
NativeLong width,
NativeLong height,
NativeLong bitsPerComponent,
NativeLong bytesPerRow,
CoreGraphicsLibrary.CGColorSpace colorspace,
int bitmapInfo)
- Original signature :
CGContextRef CGBitmapContextCreate(void*, size_t, size_t, size_t, size_t, CGColorSpaceRef, CGBitmapInfo)
- Parameters:
bitmapInfo
- @see CGBitmapInfo
CGBitmapContextGetData
Pointer CGBitmapContextGetData(CoreGraphicsLibrary.CGContext c)
CGBitmapContextGetWidth
NativeLong CGBitmapContextGetWidth(CoreGraphicsLibrary.CGContext c)
CGBitmapContextGetHeight
NativeLong CGBitmapContextGetHeight(CoreGraphicsLibrary.CGContext c)
CGBitmapContextGetBitsPerComponent
NativeLong CGBitmapContextGetBitsPerComponent(CoreGraphicsLibrary.CGContext c)
CGBitmapContextGetBitsPerPixel
NativeLong CGBitmapContextGetBitsPerPixel(CoreGraphicsLibrary.CGContext c)
CGBitmapContextGetBytesPerRow
NativeLong CGBitmapContextGetBytesPerRow(CoreGraphicsLibrary.CGContext c)
CGBitmapContextGetColorSpace
CoreGraphicsLibrary.CGColorSpace CGBitmapContextGetColorSpace(CoreGraphicsLibrary.CGContext c)
CGBitmapContextGetAlphaInfo
int CGBitmapContextGetAlphaInfo(CoreGraphicsLibrary.CGContext c)
- See Also:
CoreGraphicsLibrary.CGImageAlphaInfo
CGBitmapContextGetBitmapInfo
int CGBitmapContextGetBitmapInfo(CoreGraphicsLibrary.CGContext c)
- See Also:
CoreGraphicsLibrary.CGBitmapInfo
CGBitmapContextCreateImage
ImageIOLibrary.CGImage CGBitmapContextCreateImage(CoreGraphicsLibrary.CGContext c)
CGDataConsumerGetTypeID
NativeLong CGDataConsumerGetTypeID()
CGDataConsumerCreate
ImageIOLibrary.CGDataConsumer CGDataConsumerCreate(Pointer info,
CGDataConsumerCallbacks callbacks)
CGDataConsumerCreateWithURL
ImageIOLibrary.CGDataConsumer CGDataConsumerCreateWithURL(AudioUnitLibrary.__CFURL url)
CGDataConsumerCreateWithCFData
ImageIOLibrary.CGDataConsumer CGDataConsumerCreateWithCFData(CoreFoundationLibrary.__CFData data)
CGDataConsumerRetain
ImageIOLibrary.CGDataConsumer CGDataConsumerRetain(ImageIOLibrary.CGDataConsumer consumer)
CGDataConsumerRelease
void CGDataConsumerRelease(ImageIOLibrary.CGDataConsumer consumer)
CGMainDisplayID
int CGMainDisplayID()
- Returns the display ID of the current main display
Original signature : CGDirectDisplayID CGMainDisplayID()
CGDisplayIDToOpenGLDisplayMask
int CGDisplayIDToOpenGLDisplayMask(int display)
- Map a display to an OpenGL display mask; returns 0 on invalid display
Original signature : CGOpenGLDisplayMask CGDisplayIDToOpenGLDisplayMask(CGDirectDisplayID)
CGOpenGLDisplayMaskToDisplayID
int CGOpenGLDisplayMaskToDisplayID(int mask)
- Map an OpenGL display mask to a display.
Returns kCGNullDirectDisplay if a bit doesn't
match a display.
Passing in multiple bits results in an arbitrary match.
Original signature : CGDirectDisplayID CGOpenGLDisplayMaskToDisplayID(CGOpenGLDisplayMask)
CGDisplayBounds
CGRect.ByValue CGDisplayBounds(int display)
- Return screen size and origin in global coords; Empty rect if display is invalid
Original signature : CGRect CGDisplayBounds(CGDirectDisplayID)
CGDisplayPixelsWide
NativeLong CGDisplayPixelsWide(int display)
CGDisplayPixelsHigh
NativeLong CGDisplayPixelsHigh(int display)
CGDisplayAvailableModes
HIServicesLibrary.__CFArray CGDisplayAvailableModes(int display)
- Return a CFArray of CFDictionaries describing all display modes.
Returns NULL if the display is invalid.
Original signature : CFArrayRef CGDisplayAvailableModes(CGDirectDisplayID)
CGDisplayBestModeForParameters
HIServicesLibrary.__CFDictionary CGDisplayBestModeForParameters(int display,
NativeLong bitsPerPixel,
NativeLong width,
NativeLong height,
boolean exactMatch)
- Try to find a display mode of specified depth with dimensions equal or greater than
specified.
If no depth match is found, try for the next larger depth with dimensions equal or greater
than specified. If no luck, then just return the current mode.
* exactmatch, if not NULL, is set to 'true' if an exact match in width, height, and depth is found,
and 'false' otherwise.
* CGDisplayBestModeForParametersAndRefreshRateWithProperty searches the list, looking for
display modes with the specified property. The property should be one of:
kCGDisplayModeIsSafeForHardware;
kCGDisplayModeIsInterlaced;
kCGDisplayModeIsStretched;
kCGDisplayModeIsTelevisionOutput
Returns NULL if display is invalid.
Original signature : CFDictionaryRef CGDisplayBestModeForParameters(CGDirectDisplayID, size_t, size_t, size_t, boolean_t*)
CGDisplayBestModeForParametersAndRefreshRate
HIServicesLibrary.__CFDictionary CGDisplayBestModeForParametersAndRefreshRate(int display,
NativeLong bitsPerPixel,
NativeLong width,
NativeLong height,
double refresh,
boolean exactMatch)
CGDisplayCurrentMode
HIServicesLibrary.__CFDictionary CGDisplayCurrentMode(int display)
- Return a CFDictionary describing the current display mode.
Returns NULL if display is invalid.
Original signature : CFDictionaryRef CGDisplayCurrentMode(CGDirectDisplayID)
CGDisplayBitsPerPixel
NativeLong CGDisplayBitsPerPixel(int display)
- Query parameters for current mode
Original signature : size_t CGDisplayBitsPerPixel(CGDirectDisplayID)
CGDisplayBitsPerSample
NativeLong CGDisplayBitsPerSample(int display)
CGDisplaySamplesPerPixel
NativeLong CGDisplaySamplesPerPixel(int display)
CGDisplayBytesPerRow
NativeLong CGDisplayBytesPerRow(int display)
CGDisplayGammaTableCapacity
int CGDisplayGammaTableCapacity(int display)
- Returns the capacity, or nunber of entries, in the camma table for the specified
display. If 'display' is invalid, returns 0.
Original signature : CGTableCount CGDisplayGammaTableCapacity(CGDirectDisplayID)
CGDisplayRestoreColorSyncSettings
void CGDisplayRestoreColorSyncSettings()
- Restore gamma tables of system displays to the user's ColorSync specified values
Original signature : void CGDisplayRestoreColorSyncSettings()
CGDisplayIsCaptured
boolean CGDisplayIsCaptured(int display)
- Display capture and release
Original signature : boolean_t CGDisplayIsCaptured(CGDirectDisplayID)
CGShieldingWindowID
int CGShieldingWindowID(int display)
- Returns CoreGraphics raw shield window ID or NULL if not shielded
This value may be used with drawing surface APIs.
Original signature : uint32_t CGShieldingWindowID(CGDirectDisplayID)
CGShieldingWindowLevel
int CGShieldingWindowLevel()
- Returns the window level used for the shield window.
This value may be used with Cocoa windows to position the
Cocoa window in the same window level as the shield window.
Original signature : int32_t CGShieldingWindowLevel()
CGDisplayBaseAddress
Pointer CGDisplayBaseAddress(int display)
- Returns base address of display or NULL for an invalid display.
If the display has not been captured, the returned address may refer
to read-only memory.
Original signature : void* CGDisplayBaseAddress(CGDirectDisplayID)
CGDisplayAddressForPosition
Pointer CGDisplayAddressForPosition(int display,
int x,
int y)
- return address for X,Y in global coordinates;
(0,0) represents the upper left corner of the main display.
returns NULL for an invalid display or out of bounds coordinates
If the display has not been captured, the returned address may refer
to read-only memory.
Original signature : void* CGDisplayAddressForPosition(CGDirectDisplayID, CGDisplayCoord, CGDisplayCoord)
CGGetLastMouseDelta
@Deprecated
void CGGetLastMouseDelta(IntByReference deltaX,
IntByReference deltaY)
- Deprecated. use the safer method
CGGetLastMouseDelta(java.nio.IntBuffer, java.nio.IntBuffer)
instead
- Report the mouse position change associated with the last mouse move event
recieved by this application.
Original signature : void CGGetLastMouseDelta(CGMouseDelta*, CGMouseDelta*)
CGGetLastMouseDelta
void CGGetLastMouseDelta(IntBuffer deltaX,
IntBuffer deltaY)
- Report the mouse position change associated with the last mouse move event
recieved by this application.
Original signature : void CGGetLastMouseDelta(CGMouseDelta*, CGMouseDelta*)
CGDisplayCanSetPalette
boolean CGDisplayCanSetPalette(int display)
- Returns TRUE if the current display mode supports palettes.
Display must not be a hardware mirror of another, and should
have a depth of 8 bits per pixel for this to return TRUE.
Original signature : boolean_t CGDisplayCanSetPalette(CGDirectDisplayID)
CGDisplayBeamPosition
int CGDisplayBeamPosition(int display)
- Returns the current beam position on the display. If display is invalid,
or the display does not implement conventional video vertical and horizontal
sweep in painting, or the driver does not implement this functionality, 0 is returned.
Original signature : CGBeamPosition CGDisplayBeamPosition(CGDirectDisplayID)
CGDisplayGetDrawingContext
CoreGraphicsLibrary.CGContext CGDisplayGetDrawingContext(int display)
- Obtain a CGContextRef suitable for drawing to a captured display.
* Returns a drawing context suitable for use on the display device.
The context is owned by the device, and should not be released by
the caller.
* The context remains valid while the display is captured, and the
display configuration is unchanged. Releasing the captured display
or reconfiguring the display invalidates the drawing context.
* An application may register a display reconfiguration callback to determine
when the display configuration is changing via CGRegisterDisplayReconfigurationProc().
After a display configuration change, or on capturing a display, call this
function to obtain a current drawing context.
* If the display has not been captured, this function returns NULL.
Original signature : CGContextRef CGDisplayGetDrawingContext(CGDirectDisplayID)
CGPaletteCreateDefaultColorPalette
CoreGraphicsLibrary._CGDirectPaletteRef CGPaletteCreateDefaultColorPalette()
- Create a new palette object representing the default 8 bit color palette.
Release the palette using CGPaletteRelease().
Original signature : CGDirectPaletteRef CGPaletteCreateDefaultColorPalette()
CGPaletteCreateWithDisplay
CoreGraphicsLibrary._CGDirectPaletteRef CGPaletteCreateWithDisplay(int display)
- Create a copy of the display's current palette, if any.
Returns NULL if the current display mode does not support a palette.
Release the palette using CGPaletteRelease().
Original signature : CGDirectPaletteRef CGPaletteCreateWithDisplay(CGDirectDisplayID)
CGPaletteCreateWithCapacity
CoreGraphicsLibrary._CGDirectPaletteRef CGPaletteCreateWithCapacity(int capacity)
- Create a new palette with a capacity as specified. Entries are initialized from
the default color palette. Release the palette using CGPaletteRelease().
Original signature : CGDirectPaletteRef CGPaletteCreateWithCapacity(CGTableCount)
CGPaletteCreateWithSamples
CoreGraphicsLibrary._CGDirectPaletteRef CGPaletteCreateWithSamples(_CGDeviceColor sampleTable,
int sampleCount)
- Create a new palette with a capacity and contents as specified.
Release the palette using CGPaletteRelease().
Original signature : CGDirectPaletteRef CGPaletteCreateWithSamples(CGDeviceColor*, CGTableCount)
CGPaletteCreateWithByteSamples
CoreGraphicsLibrary._CGDirectPaletteRef CGPaletteCreateWithByteSamples(_CGDeviceByteColor sampleTable,
int sampleCount)
- Convenience function:
Create a new palette with a capacity and contents as specified.
Release the palette using CGPaletteRelease().
Original signature : CGDirectPaletteRef CGPaletteCreateWithByteSamples(CGDeviceByteColor*, CGTableCount)
CGPaletteRelease
void CGPaletteRelease(CoreGraphicsLibrary._CGDirectPaletteRef palette)
- Release a palette
Original signature : void CGPaletteRelease(CGDirectPaletteRef)
CGPaletteGetColorAtIndex
_CGDeviceColor.ByValue CGPaletteGetColorAtIndex(CoreGraphicsLibrary._CGDirectPaletteRef palette,
int index)
- Get the color value at the specified index
Original signature : CGDeviceColor CGPaletteGetColorAtIndex(CGDirectPaletteRef, CGTableCount)
CGPaletteGetIndexForColor
int CGPaletteGetIndexForColor(CoreGraphicsLibrary._CGDirectPaletteRef palette,
_CGDeviceColor.ByValue color)
- Get the index for the specified color value
The index returned is for a palette color with the
lowest RMS error to the specified color.
Original signature : CGTableCount CGPaletteGetIndexForColor(CGDirectPaletteRef, CGDeviceColor)
CGPaletteGetNumberOfSamples
int CGPaletteGetNumberOfSamples(CoreGraphicsLibrary._CGDirectPaletteRef palette)
- Get the number of samples in the palette
Original signature : CGTableCount CGPaletteGetNumberOfSamples(CGDirectPaletteRef)
CGPaletteSetColorAtIndex
void CGPaletteSetColorAtIndex(CoreGraphicsLibrary._CGDirectPaletteRef palette,
_CGDeviceColor.ByValue color,
int index)
- Set the color value at the specified index
Original signature : void CGPaletteSetColorAtIndex(CGDirectPaletteRef, CGDeviceColor, CGTableCount)
CGPaletteCreateCopy
CoreGraphicsLibrary._CGDirectPaletteRef CGPaletteCreateCopy(CoreGraphicsLibrary._CGDirectPaletteRef palette)
- Copy a palette
Original signature : CGDirectPaletteRef CGPaletteCreateCopy(CGDirectPaletteRef)
CGPaletteIsEqualToPalette
boolean CGPaletteIsEqualToPalette(CoreGraphicsLibrary._CGDirectPaletteRef palette1,
CoreGraphicsLibrary._CGDirectPaletteRef palette2)
- Compare two palettes
Original signature : Boolean CGPaletteIsEqualToPalette(CGDirectPaletteRef, CGDirectPaletteRef)
CGPaletteCreateFromPaletteBlendedWithColor
CoreGraphicsLibrary._CGDirectPaletteRef CGPaletteCreateFromPaletteBlendedWithColor(CoreGraphicsLibrary._CGDirectPaletteRef palette,
float fraction,
_CGDeviceColor.ByValue color)
- Create a new palette blended with a fraction of a device color.
Free the resulting palette with CGPaletteRelease()
Original signature : CGDirectPaletteRef CGPaletteCreateFromPaletteBlendedWithColor(CGDirectPaletteRef, CGPaletteBlendFraction, CGDeviceColor)
CGBeginDisplayConfiguration
int CGBeginDisplayConfiguration(PointerByReference pConfigRef)
- See Also:
CoreGraphicsLibrary.CGError
CGConfigureDisplayOrigin
int CGConfigureDisplayOrigin(CoreGraphicsLibrary._CGDisplayConfigRef configRef,
int display,
int x,
int y)
- See Also:
CoreGraphicsLibrary.CGError
CGConfigureDisplayMode
int CGConfigureDisplayMode(CoreGraphicsLibrary._CGDisplayConfigRef configRef,
int display,
HIServicesLibrary.__CFDictionary mode)
- See Also:
CoreGraphicsLibrary.CGError
CGConfigureDisplayStereoOperation
int CGConfigureDisplayStereoOperation(CoreGraphicsLibrary._CGDisplayConfigRef configRef,
int display,
boolean stereo,
boolean forceBlueLine)
- See Also:
CoreGraphicsLibrary.CGError
CGConfigureDisplayMirrorOfDisplay
int CGConfigureDisplayMirrorOfDisplay(CoreGraphicsLibrary._CGDisplayConfigRef configRef,
int display,
int masterDisplay)
- See Also:
CoreGraphicsLibrary.CGError
CGCancelDisplayConfiguration
int CGCancelDisplayConfiguration(CoreGraphicsLibrary._CGDisplayConfigRef configRef)
- See Also:
CoreGraphicsLibrary.CGError
CGCompleteDisplayConfiguration
int CGCompleteDisplayConfiguration(CoreGraphicsLibrary._CGDisplayConfigRef configRef,
int option)
- See Also:
CoreGraphicsLibrary.CGError
CGRestorePermanentDisplayConfiguration
void CGRestorePermanentDisplayConfiguration()
- Restore the permanent display configuration from the user's display preferences settings
Original signature : void CGRestorePermanentDisplayConfiguration()
CGDisplayRegisterReconfigurationCallback
int CGDisplayRegisterReconfigurationCallback(CoreGraphicsLibrary.CGDisplayReconfigurationCallBack proc,
Pointer userInfo)
- See Also:
CoreGraphicsLibrary.CGError
CGDisplayRemoveReconfigurationCallback
int CGDisplayRemoveReconfigurationCallback(CoreGraphicsLibrary.CGDisplayReconfigurationCallBack proc,
Pointer userInfo)
- See Also:
CoreGraphicsLibrary.CGError
CGDisplaySetStereoOperation
int CGDisplaySetStereoOperation(int display,
boolean stereo,
boolean forceBlueLine,
int option)
- See Also:
CoreGraphicsLibrary.CGError
CGDisplayIsActive
boolean CGDisplayIsActive(int display)
- True if the display is connected, awake, and drawable
Original signature : boolean_t CGDisplayIsActive(CGDirectDisplayID)
CGDisplayIsAsleep
boolean CGDisplayIsAsleep(int display)
- True if the display is asleep and therefore not drawable
Original signature : boolean_t CGDisplayIsAsleep(CGDirectDisplayID)
CGDisplayIsOnline
boolean CGDisplayIsOnline(int display)
- True if the display is valid, with a monitor connected
(support for hot plugging of monitors)
Original signature : boolean_t CGDisplayIsOnline(CGDirectDisplayID)
CGDisplayIsMain
boolean CGDisplayIsMain(int display)
- True if the display is the current main display
Original signature : boolean_t CGDisplayIsMain(CGDirectDisplayID)
CGDisplayIsBuiltin
boolean CGDisplayIsBuiltin(int display)
- True if the display is built in, such as the internal display in portables
Original signature : boolean_t CGDisplayIsBuiltin(CGDirectDisplayID)
CGDisplayIsInMirrorSet
boolean CGDisplayIsInMirrorSet(int display)
- True if the display is in a mirroring set
Original signature : boolean_t CGDisplayIsInMirrorSet(CGDirectDisplayID)
CGDisplayIsAlwaysInMirrorSet
boolean CGDisplayIsAlwaysInMirrorSet(int display)
- True if the display is always in a mirroring set, and cannot be unmirrored
Original signature : boolean_t CGDisplayIsAlwaysInMirrorSet(CGDirectDisplayID)
CGDisplayIsInHWMirrorSet
boolean CGDisplayIsInHWMirrorSet(int display)
- True if the display is in a hardware mirroring set
Original signature : boolean_t CGDisplayIsInHWMirrorSet(CGDirectDisplayID)
CGDisplayMirrorsDisplay
int CGDisplayMirrorsDisplay(int display)
- Returns display being mirrored, or kCGNullDirectDisplay if master or unmirrored
Original signature : CGDirectDisplayID CGDisplayMirrorsDisplay(CGDirectDisplayID)
CGDisplayUsesOpenGLAcceleration
boolean CGDisplayUsesOpenGLAcceleration(int display)
- True if the display is using OpenGL acceleration
Original signature : boolean_t CGDisplayUsesOpenGLAcceleration(CGDirectDisplayID)
CGDisplayIsStereo
boolean CGDisplayIsStereo(int display)
- True if the display is running in a stereo graphics mode
Original signature : boolean_t CGDisplayIsStereo(CGDirectDisplayID)
- Parameters:
display
- 10.4.3 and later - need a macro
10.4.3 and later - need a macro
CGDisplayPrimaryDisplay
int CGDisplayPrimaryDisplay(int display)
- Returns the display bound to the hardware accelerator in a HW mirror set,
or 'display' if software mirrored or unmirrored
Original signature : CGDirectDisplayID CGDisplayPrimaryDisplay(CGDirectDisplayID)
CGDisplayUnitNumber
int CGDisplayUnitNumber(int display)
- Returns the logical unit, vendor ID, vendor model number,
and serial number for a display
Original signature : uint32_t CGDisplayUnitNumber(CGDirectDisplayID)
CGDisplayVendorNumber
int CGDisplayVendorNumber(int display)
CGDisplayModelNumber
int CGDisplayModelNumber(int display)
CGDisplaySerialNumber
int CGDisplaySerialNumber(int display)
CGDisplayScreenSize
CGSize.ByValue CGDisplayScreenSize(int display)
- Returns the size of the specified display in millimeters.
* If 'display' is not a valid display ID, the size returned has a width and height of 0.
* If EDID data for the display device is not available, the size is estimated based on
the device width and height in pixels from CGDisplayBounds(), with an assumed resolution
of 2.835 pixels/mm, or 72 DPI, a reasonable guess for displays predating EDID support.
Original signature : CGSize CGDisplayScreenSize(CGDirectDisplayID)
CGDisplayRotation
double CGDisplayRotation(int display)
- Returns the rotation of the specified display in degrees.
* The display's angle is clockwise. That is, a display rotation of 90 degrees implies the display is
rotated clockwise 90 degrees, such that what was the physical bottom of the display is now the left side,
and what was the physical top is now the right side.
* The content is rendered so as to look correct on the rotated display.
* If 'display' is not a valid display ID, the rotation returned is 0.0.
Original signature : double CGDisplayRotation(CGDirectDisplayID)
CGDisplayCopyColorSpace
CoreGraphicsLibrary.CGColorSpace CGDisplayCopyColorSpace(int display)
CGConfigureDisplayFadeEffect
int CGConfigureDisplayFadeEffect(CoreGraphicsLibrary._CGDisplayConfigRef configRef,
float fadeOutSeconds,
float fadeInSeconds,
float fadeRed,
float fadeGreen,
float fadeBlue)
- See Also:
CoreGraphicsLibrary.CGError
CGAcquireDisplayFadeReservation
@Deprecated
int CGAcquireDisplayFadeReservation(float seconds,
IntByReference pNewToken)
- Deprecated. use the safer method
CGAcquireDisplayFadeReservation(float, java.nio.IntBuffer)
instead
- Before performing fade operation, the caller must reserve the hardware
for the expected period of time that the program will be doing fades
* A reservation token is returned that must be passed in on subsequent calls.
* Failing to release the hardware by the end of the reservation interval will
result in the reservation token becomingn invalid, and the hardware being
unfaded back to a normal state. The reservation interval is limited (clipped)
to 15 seconds maximum, and should be greater than zero.
* Returns kCGErrorNoneAvailable if another reservation is in effect,
and kCGErrorSuccess on success.
Original signature : CGError CGAcquireDisplayFadeReservation(CGDisplayReservationInterval, CGDisplayFadeReservationToken*)
CGAcquireDisplayFadeReservation
int CGAcquireDisplayFadeReservation(float seconds,
IntBuffer pNewToken)
- See Also:
CoreGraphicsLibrary.CGError
CGReleaseDisplayFadeReservation
int CGReleaseDisplayFadeReservation(int myToken)
- See Also:
CoreGraphicsLibrary.CGError
CGDisplayFade
int CGDisplayFade(int myToken,
float seconds,
float startBlend,
float endBlend,
float redBlend,
float greenBlend,
float blueBlend,
boolean synchronous)
- See Also:
CoreGraphicsLibrary.CGError
CGDisplayFadeOperationInProgress
boolean CGDisplayFadeOperationInProgress()
- Returns true if a fade operation is currently in progress.
Original signature : boolean_t CGDisplayFadeOperationInProgress()
CGRegisterScreenRefreshCallback
int CGRegisterScreenRefreshCallback(CoreGraphicsLibrary.CGScreenRefreshCallback function,
Pointer userParameter)
- See Also:
CoreGraphicsLibrary.CGError
CGUnregisterScreenRefreshCallback
void CGUnregisterScreenRefreshCallback(CoreGraphicsLibrary.CGScreenRefreshCallback function,
Pointer userParameter)
- Remove a previously registered calback function.
Both the function and the userParameter must match the registered entry to be removed.
Original signature : void CGUnregisterScreenRefreshCallback(CGScreenRefreshCallback, void*)
CGWaitForScreenRefreshRects
@Deprecated
int CGWaitForScreenRefreshRects(PointerByReference pRectArray,
IntByReference pCount)
- Deprecated. use the safer method
CGWaitForScreenRefreshRects(com.sun.jna.ptr.PointerByReference, java.nio.IntBuffer)
instead
- In some applications it may be preferable to have a seperate thread wait for screen refresh data.
This function should be called on a thread seperate from the event processing thread.
If screen refresh callback functions are registered, this function should not be used.
The mechanisms are mutually exclusive.
* Deallocate screen refresh rects using CGReleaseScreenRefreshRects().
* Returns an error code if parameters are invalid or an error occurs in retrieving
dirty screen rects from the server.
Original signature : CGError CGWaitForScreenRefreshRects(CGRect**, CGRectCount*)
CGWaitForScreenRefreshRects
int CGWaitForScreenRefreshRects(PointerByReference pRectArray,
IntBuffer pCount)
- See Also:
CoreGraphicsLibrary.CGError
CGScreenRegisterMoveCallback
int CGScreenRegisterMoveCallback(CoreGraphicsLibrary.CGScreenUpdateMoveCallback function,
Pointer userParameter)
- See Also:
CoreGraphicsLibrary.CGError
CGScreenUnregisterMoveCallback
void CGScreenUnregisterMoveCallback(CoreGraphicsLibrary.CGScreenUpdateMoveCallback function,
Pointer userParameter)
- Remove a previously registered callback function.
Original signature : void CGScreenUnregisterMoveCallback(CGScreenUpdateMoveCallback, void*)
CGWaitForScreenUpdateRects
int CGWaitForScreenUpdateRects(int requestedOperations,
int currentOperation,
PointerByReference pRectArray,
NativeLongByReference pCount,
_CGScreenUpdateMoveDelta pDelta)
- See Also:
CoreGraphicsLibrary.CGError
CGReleaseScreenRefreshRects
void CGReleaseScreenRefreshRects(CGRect rectArray)
- Deallocate the list of rects recieved from CGWaitForScreenRefreshRects()
Original signature : void CGReleaseScreenRefreshRects(CGRect*)
CGCursorIsVisible
boolean CGCursorIsVisible()
- Programs reading the frame buffer content may want to hide the cursor, if it is visible and
drawn in framebuffer memory. A cursor may also be generated in an overlay plane of some form.
* These APIs provide basic cursor visibility and drawing information.
The cursor may be hidden or shown using the CGDisplayHideCursor() and CGDisplayShowCursor() API.
Original signature : boolean_t CGCursorIsVisible()
CGCursorIsDrawnInFramebuffer
boolean CGCursorIsDrawnInFramebuffer()
CGPostMouseEvent
int CGPostMouseEvent(CGPoint.ByValue mouseCursorPosition,
boolean updateMouseCursorPosition,
int buttonCount,
boolean mouseButtonDown,
Object... varargs)
- See Also:
CoreGraphicsLibrary.CGError
CGPostScrollWheelEvent
int CGPostScrollWheelEvent(int wheelCount,
int wheel1,
Object... varargs)
- See Also:
CoreGraphicsLibrary.CGError
CGPostKeyboardEvent
int CGPostKeyboardEvent(short keyChar,
short virtualKey,
boolean keyDown)
- See Also:
CoreGraphicsLibrary.CGError
CGWarpMouseCursorPosition
int CGWarpMouseCursorPosition(CGPoint.ByValue newCursorPosition)
- See Also:
CoreGraphicsLibrary.CGError
CGInhibitLocalEvents
int CGInhibitLocalEvents(boolean doInhibit)
- See Also:
CoreGraphicsLibrary.CGError
CGSetLocalEventsSuppressionInterval
int CGSetLocalEventsSuppressionInterval(double seconds)
- See Also:
CoreGraphicsLibrary.CGError
CGEnableEventStateCombining
int CGEnableEventStateCombining(boolean doCombineState)
- See Also:
CoreGraphicsLibrary.CGError
CGSetLocalEventsFilterDuringSuppressionState
int CGSetLocalEventsFilterDuringSuppressionState(int filter,
int state)
- See Also:
CoreGraphicsLibrary.CGError
CGAssociateMouseAndMouseCursorPosition
int CGAssociateMouseAndMouseCursorPosition(boolean connected)
- See Also:
CoreGraphicsLibrary.CGError
CGWindowServerCFMachPort
CoreFoundationLibrary.__CFMachPort CGWindowServerCFMachPort()
- Some classes of applications need to detect when the window server process dies, or
is not running. The easiest way to do this is to use a CFMachPortRef.
* If the CoreGraphics window server is not running, this function returns NULL.
If the server is running, a CFMachPortRef is returned.
* A program can register a callback function to use a CFMachPortRef to determine
when the CoreGraphics window server exits:
* static void handleWindowServerDeath( CFMachPortRef port, void *info )
{
printf( "Window Server port death detected!\n" );
CFRelease( port );
exit( 1 );
}
static void watchForServerDeath()
{
CFMachPortRef port;
* port = CGWindowServerCFMachPort();
CFMachPortSetInvalidationCallBack( port, handleWindowServerDeath );
}
* Note that when the window server exits, there may be a few seconds during which
no window server is running, until the operating system starts a new
window server/loginwindow pair of processes. This function will return NULL
until a new window server is running.
* Multiple calls to this function may return multiple CFMachPortRefs, each referring
to the same Mach port. Multiple callbacks registered on multiple CFMachPortRefs
obtained in this way may fire in a nondetermanistic manner.
* Your program will need to run a CFRunLoop for the port death
callback to function. A program which does not use a CFRunLoop may use
CFMachPortIsValid(CFMachPortRef port) periodically to check if the port is valid.
Original signature : CFMachPortRef CGWindowServerCFMachPort()
CGEventSourceGetTypeID
NativeLong CGEventSourceGetTypeID()
- Return the CFTypeID for CGEventSourceRefs.
Original signature : CFTypeID CGEventSourceGetTypeID()
CGEventSourceCreate
CoreGraphicsLibrary.__CGEventSource CGEventSourceCreate(int sourceState)
- Create a new CGEventSource
* The event source contains accumulated state related to event
generation and event posting, allowing for customized event
generation and processing.
* The CGEventSourceStateID refers to a global event state table.
These tables contain accumulated information on modifier flag state,
keyboard key state, mouse button state, and related internal parameters
placed in effect by posting events with associated sources.
* Two pre-existing tables are defined.
* The kCGEventSourceStateCombinedSessionState table reflects the combined state
of all event sources posting to this user login session. Mouse button,
keyboard state, and modifier flag state (derived from keyboard state)
are logically ORed together in this state table.
* The kCGEventSourceStateHIDSystemState table reflects the combined state
of all hardware event sources posting from the HID system. Mouse button,
keyboard state, and modifier flag state (derived from keyboard state)
for the hardware devices are logically ORed together in this state table.
* A program, or application posting from within a login session should use
the kCGEventSourceStateCombinedSessionState.
* A user space device driver interpreting hardware state and generating events
should use the kCGEventSourceStateHIDSystemState.
* Very specialized applications such as remote control programs may want to
generate and track event source state independent of other processes.
These programs should use the kCGEventSourceStatePrivate value in creating
their event source. An independent state table and unique CGEventSourceStateID
are created to track the event source's state. The independent sate table is owned
by the creating event source and released with it.
* If the CGEventSourceStateID from another CGEventSourceRef
is released while being used in a second CGEventSourceRef, the second source
will behave as if all keys and buttons on input devices are up in generating
new events from this source.
* Default behavior without an event source, that is, passing NULL to
CGEvent creation functions, is identical to using an unmodified
CGEventSource created with the kCGEventSourceStateCombinedSystemState
source state ID, if running within a login session, or using
kCGEventSourceStateHIDSystemState if running outside of a login session,
as in a daemon or user space device driver.
* Returns NULL if the specified event source is not a valid CGEventSourceStateID,
or is a private event source owned by another process,
or is not a member of the following enumeration.
* The returned object should be released with CFRelease when no longer needed.
Original signature : CGEventSourceRef CGEventSourceCreate(CGEventSourceStateID)
- Parameters:
sourceState
- @see CGEventSourceStateID
CGEventSourceGetKeyboardType
int CGEventSourceGetKeyboardType(CoreGraphicsLibrary.__CGEventSource source)
- Set and get the keyboard type to be used with this source
The value will be used with UCKeyTranslate() to drive keyboard translation
Original signature : CGEventSourceKeyboardType CGEventSourceGetKeyboardType(CGEventSourceRef)
CGEventSourceSetKeyboardType
void CGEventSourceSetKeyboardType(CoreGraphicsLibrary.__CGEventSource source,
int keyboardType)
CGEventSourceSetPixelsPerLine
void CGEventSourceSetPixelsPerLine(CoreGraphicsLibrary.__CGEventSource source,
double pixelsPerLine)
- Set and get the scale used to interpret between scrollwheel events that
scroll by line and by pixel.
* Every scrollwheel event can be interpreted to be scrolling by pixel or by line.
The scale between the two is about 10 pixels per line by default. The scale can be
altered by setting a custom value for the event source
Original signature : void CGEventSourceSetPixelsPerLine(CGEventSourceRef, double)
CGEventSourceGetPixelsPerLine
double CGEventSourceGetPixelsPerLine(CoreGraphicsLibrary.__CGEventSource source)
CGEventSourceGetSourceStateID
int CGEventSourceGetSourceStateID(CoreGraphicsLibrary.__CGEventSource source)
- See Also:
CoreGraphicsLibrary.CGEventSourceStateID
CGEventSourceButtonState
boolean CGEventSourceButtonState(int sourceState,
int button)
- The state of an event source may be queried for specialized event processing
purposes.
Original signature : bool CGEventSourceButtonState(CGEventSourceStateID, CGMouseButton)
- Parameters:
sourceState
- @see CGEventSourceStateID
button
- @see CGMouseButton
CGEventSourceKeyState
boolean CGEventSourceKeyState(int sourceState,
short key)
- Original signature :
bool CGEventSourceKeyState(CGEventSourceStateID, CGKeyCode)
- Parameters:
sourceState
- @see CGEventSourceStateID
CGEventSourceFlagsState
long CGEventSourceFlagsState(int sourceState)
- Original signature :
CGEventFlags CGEventSourceFlagsState(CGEventSourceStateID)
- Parameters:
sourceState
- @see CGEventSourceStateID
CGEventSourceSecondsSinceLastEventType
double CGEventSourceSecondsSinceLastEventType(int source,
int eventType)
- Original signature :
CFTimeInterval CGEventSourceSecondsSinceLastEventType(CGEventSourceStateID, CGEventType)
- Parameters:
source
- @see CGEventSourceStateID
eventType
- @see CGEventType
CGEventSourceCounterForEventType
int CGEventSourceCounterForEventType(int source,
int evType)
- Returns a count of events of different types seen since the window server started.
* Note that modifier keys produce kCGEventFlagsChanged events, not kCGEventKeyDown
events, and do so both on press and release.
* Please note that some keys on the keyboard are not implemented as keys,
but instead are USB button devices. We account for the ones we can see as
kCGEventKeyDown events. Where we don't get a different event for key-up, we
record both a key down and a key up.
* There is no guarantee that the number of key down and key up events will match
when all keyboard keys are up, due to the inconsistent nature of the USB button device keys.
* Key autorepeat events are not counted.
* Synthetic events posted into the system may also produce assymetric 'down' and 'up' event counts.
* Again, a program or application posting from within a login session should use
the kCGEventSourceStateCombinedSessionState.
* A user space device driver interpreting hardware state and generating events
should use the kCGEventSourceStateHIDSystemState.
Original signature : uint32_t CGEventSourceCounterForEventType(CGEventSourceStateID, CGEventType)
- Parameters:
source
- @see CGEventSourceStateID
evType
- @see CGEventType
CGEventSourceSetUserData
void CGEventSourceSetUserData(CoreGraphicsLibrary.__CGEventSource source,
long userData)
- Each event carries a payload of 64 bits of user specified data.
The values may be individually set per event using the
CGEventSetIntegerValueField() API, or may be set for all events
created by this event source using this API.
This mechanism is more convenient for uses such as vendor hardware IDs.
Original signature : void CGEventSourceSetUserData(CGEventSourceRef, int64_t)
CGEventSourceGetUserData
long CGEventSourceGetUserData(CoreGraphicsLibrary.__CGEventSource source)
CGEventSourceSetLocalEventsFilterDuringSuppressionState
void CGEventSourceSetLocalEventsFilterDuringSuppressionState(CoreGraphicsLibrary.__CGEventSource source,
int filter,
int state)
- Original signature :
void CGEventSourceSetLocalEventsFilterDuringSuppressionState(CGEventSourceRef, CGEventFilterMask, CGEventSuppressionState)
- Parameters:
filter
- @see CGEventFilterMask
state
- @see CGEventSuppressionState
CGEventSourceGetLocalEventsFilterDuringSuppressionState
int CGEventSourceGetLocalEventsFilterDuringSuppressionState(CoreGraphicsLibrary.__CGEventSource source,
int state)
- See Also:
CoreGraphicsLibrary.CGEventFilterMask
CGEventSourceSetLocalEventsSuppressionInterval
void CGEventSourceSetLocalEventsSuppressionInterval(CoreGraphicsLibrary.__CGEventSource source,
double seconds)
- Set the period of time in seconds that specified local hardware events (keyboard or mouse)
may suppressed after posting a CGEventRef created with this source, if the event
source is set to apply the kCGEventSuppressionStateSuppressionInterval.
* Defaults to 0.25 second.
Original signature : void CGEventSourceSetLocalEventsSuppressionInterval(CGEventSourceRef, CFTimeInterval)
CGEventSourceGetLocalEventsSuppressionInterval
double CGEventSourceGetLocalEventsSuppressionInterval(CoreGraphicsLibrary.__CGEventSource source)
CGEventGetTypeID
NativeLong CGEventGetTypeID()
- Return the CFTypeID for CGEventRefs.
Original signature : CFTypeID CGEventGetTypeID()
CGEventCreate
CoreGraphicsLibrary.__CGEvent CGEventCreate(CoreGraphicsLibrary.__CGEventSource source)
- Create a NULL event to be filled in. 'source' may be NULL.
Original signature : CGEventRef CGEventCreate(CGEventSourceRef)
CGEventCreateMouseEvent
CoreGraphicsLibrary.__CGEvent CGEventCreateMouseEvent(CoreGraphicsLibrary.__CGEventSource source,
int mouseType,
CGPoint.ByValue mouseCursorPosition,
int mouseButton)
- Create mouse events.
* The event source may be taken from another event, or may be NULL.
mouseType should be one of the mouse event types.
mouseCursorPosition should be the global coordinates the mouse is at for the event.
For kCGEventOtherMouseDown, kCGEventOtherMouseDragged, and
kCGEventOtherMouseUp events, the mouseButton parameter should
indicate which button is changing state.
The current implemementation of the event system supports a maximum of thirty-two buttons.
Mouse button 0 is the primary button on the mouse. Mouse button 1 is the secondary
mouse button (right). Mouse button 2 is the center button, and the remaining
buttons would be in USB device order.
Original signature : CGEventRef CGEventCreateMouseEvent(CGEventSourceRef, CGEventType, CGPoint, CGMouseButton)
- Parameters:
mouseType
- @see CGEventType
mouseButton
- @see CGMouseButton
CGEventCreateKeyboardEvent
CoreGraphicsLibrary.__CGEvent CGEventCreateKeyboardEvent(CoreGraphicsLibrary.__CGEventSource source,
short virtualKey,
boolean keyDown)
- Create keyboard events.
* The event source may be taken from another event, or may be NULL.
Based on the virtual key code values entered,
the appropriate key down, key up, or flags changed events are generated.
* All keystrokes needed to generate a character must be entered, including
SHIFT, CONTROL, OPTION, and COMMAND keys. For example, to produce a 'Z',
the SHIFT key must be down, the 'z' key must go down, and then the SHIFT
and 'z' key must be released:
CGEventCreateKeyboardEvent( source, (CGKeyCode)56, true ); // shift down
CGEventCreateKeyboardEvent( source, (CGKeyCode)6, true ); // 'z' down
CGEventCreateKeyboardEvent( source, (CGKeyCode)6, false ); // 'z' up
CGEventCreateKeyboardEvent( source, (CGKeyCode)56, false ); // 'shift up
Original signature : CGEventRef CGEventCreateKeyboardEvent(CGEventSourceRef, CGKeyCode, bool)
CGEventCreateScrollWheelEvent
CoreGraphicsLibrary.__CGEvent CGEventCreateScrollWheelEvent(CoreGraphicsLibrary.__CGEventSource source,
int units,
int wheelCount,
int wheel1,
Object... varargs)
- Original signature :
CGEventRef CGEventCreateScrollWheelEvent(CGEventSourceRef, CGScrollEventUnit, CGWheelCount, int32_t, null)
- Parameters:
units
- @see CGScrollEventUnit
CGEventCreateCopy
CoreGraphicsLibrary.__CGEvent CGEventCreateCopy(CoreGraphicsLibrary.__CGEvent event)
CGEventCreateSourceFromEvent
CoreGraphicsLibrary.__CGEventSource CGEventCreateSourceFromEvent(CoreGraphicsLibrary.__CGEvent event)
- These functions provide access to the event source for an event.
Event filters may use these to generate events that are compatible
with an event being filtered.
* Note that CGEventCreateSourceFromEvent may return NULL if the event
was generated with a private CGEventSourceStateID owned by another
process. Such events should be filtered based on the public state.
Original signature : CGEventSourceRef CGEventCreateSourceFromEvent(CGEventRef)
CGEventSetSource
void CGEventSetSource(CoreGraphicsLibrary.__CGEvent event,
CoreGraphicsLibrary.__CGEventSource source)
CGEventGetType
int CGEventGetType(CoreGraphicsLibrary.__CGEvent event)
- See Also:
CoreGraphicsLibrary.CGEventType
CGEventSetType
void CGEventSetType(CoreGraphicsLibrary.__CGEvent event,
int type)
- Original signature :
void CGEventSetType(CGEventRef, CGEventType)
- Parameters:
type
- @see CGEventType
CGEventGetTimestamp
long CGEventGetTimestamp(CoreGraphicsLibrary.__CGEvent event)
CGEventSetTimestamp
void CGEventSetTimestamp(CoreGraphicsLibrary.__CGEvent event,
long timestamp)
CGEventGetLocation
CGPoint.ByValue CGEventGetLocation(CoreGraphicsLibrary.__CGEvent event)
CGEventGetUnflippedLocation
CGPoint.ByValue CGEventGetUnflippedLocation(CoreGraphicsLibrary.__CGEvent event)
CGEventSetLocation
void CGEventSetLocation(CoreGraphicsLibrary.__CGEvent event,
CGPoint.ByValue location)
CGEventGetFlags
long CGEventGetFlags(CoreGraphicsLibrary.__CGEvent event)
CGEventSetFlags
void CGEventSetFlags(CoreGraphicsLibrary.__CGEvent event,
long flags)
CGEventKeyboardGetUnicodeString
@Deprecated
void CGEventKeyboardGetUnicodeString(CoreGraphicsLibrary.__CGEvent event,
NativeLong maxStringLength,
NativeLongByReference actualStringLength,
ShortByReference unicodeString)
- Deprecated. use the safer method
CGEventKeyboardGetUnicodeString(org.rococoa.cocoa.coregraphics.CoreGraphicsLibrary.__CGEvent, com.sun.jna.NativeLong, com.sun.jna.ptr.NativeLongByReference, java.nio.ShortBuffer)
instead
- Access to UniChar data in keyboard events.
* There are no runtime errors associated with these functions.
Use on non-keyboard events leaves the event unchanged.
Note that many frameworks use a fixed length representation
of a CGEvent, and so are limited to a maximum string length
of 20 Unicode characters. The CGEventRef itself is limited to 65535
characters.
* Calling CGEventKeyboardGetUnicodeString() with a NULL unicodeString
or zero maxStringLength will still return the actual count of
UniCode characters in the event data.
Original signature : void CGEventKeyboardGetUnicodeString(CGEventRef, UniCharCount, UniCharCount*, UniChar[])
CGEventKeyboardGetUnicodeString
void CGEventKeyboardGetUnicodeString(CoreGraphicsLibrary.__CGEvent event,
NativeLong maxStringLength,
NativeLongByReference actualStringLength,
ShortBuffer unicodeString)
- Access to UniChar data in keyboard events.
* There are no runtime errors associated with these functions.
Use on non-keyboard events leaves the event unchanged.
Note that many frameworks use a fixed length representation
of a CGEvent, and so are limited to a maximum string length
of 20 Unicode characters. The CGEventRef itself is limited to 65535
characters.
* Calling CGEventKeyboardGetUnicodeString() with a NULL unicodeString
or zero maxStringLength will still return the actual count of
UniCode characters in the event data.
Original signature : void CGEventKeyboardGetUnicodeString(CGEventRef, UniCharCount, UniCharCount*, UniChar[])
CGEventKeyboardSetUnicodeString
@Deprecated
void CGEventKeyboardSetUnicodeString(CoreGraphicsLibrary.__CGEvent event,
NativeLong stringLength,
ShortByReference unicodeString)
- Deprecated. use the safer method
CGEventKeyboardSetUnicodeString(org.rococoa.cocoa.coregraphics.CoreGraphicsLibrary.__CGEvent, com.sun.jna.NativeLong, java.nio.ShortBuffer)
instead
- Original signature :
void CGEventKeyboardSetUnicodeString(CGEventRef, UniCharCount, const UniChar[])
CGEventKeyboardSetUnicodeString
void CGEventKeyboardSetUnicodeString(CoreGraphicsLibrary.__CGEvent event,
NativeLong stringLength,
ShortBuffer unicodeString)
CGEventGetIntegerValueField
long CGEventGetIntegerValueField(CoreGraphicsLibrary.__CGEvent event,
int field)
- Original signature :
int64_t CGEventGetIntegerValueField(CGEventRef, CGEventField)
- Parameters:
field
- @see CGEventField
CGEventGetDoubleValueField
double CGEventGetDoubleValueField(CoreGraphicsLibrary.__CGEvent event,
int field)
- Original signature :
double CGEventGetDoubleValueField(CGEventRef, CGEventField)
- Parameters:
field
- @see CGEventField
CGEventSetIntegerValueField
void CGEventSetIntegerValueField(CoreGraphicsLibrary.__CGEvent event,
int field,
long value)
- Before using the Set functions, the event type must be set
properly by using the appropriate type creation function or by calling
CGEventSetType().
* If this is to be a mouse event generated by a tablet, call
CGEventSetIntegerValueField(event, kCGMouseEventSubtype) with a value of
kCGEventMouseSubtypeTabletPoint or kCGEventMouseSubtypeTabletProximity
before setting other parameters.
* The correct type and subtype must be set so that the internal
event-specific data structures may be properly filled in.
Original signature : void CGEventSetIntegerValueField(CGEventRef, CGEventField, int64_t)
- Parameters:
field
- @see CGEventField
CGEventSetDoubleValueField
void CGEventSetDoubleValueField(CoreGraphicsLibrary.__CGEvent event,
int field,
double value)
- Original signature :
void CGEventSetDoubleValueField(CGEventRef, CGEventField, double)
- Parameters:
field
- @see CGEventField
CGEventTapCreate
CoreFoundationLibrary.__CFMachPort CGEventTapCreate(int tap,
int place,
int options,
long eventsOfInterest,
CoreGraphicsLibrary.CGEventTapCallBack callback,
Pointer refcon)
- Return the a CFMachPortRef for the event tap.
Original signature : CFMachPortRef CGEventTapCreate(CGEventTapLocation, CGEventTapPlacement, CGEventTapOptions, CGEventMask, CGEventTapCallBack, void*)
- Parameters:
tap
- @see CGEventTapLocation
place
- @see CGEventTapPlacement
options
- @see CGEventTapOptions
CGEventTapCreateForPSN
CoreFoundationLibrary.__CFMachPort CGEventTapCreateForPSN(Pointer processSerialNumber,
int place,
int options,
long eventsOfInterest,
CoreGraphicsLibrary.CGEventTapCallBack callback,
Pointer refcon)
- Return the a CFMachPortRef for an event tap for the specified process.
Original signature : CFMachPortRef CGEventTapCreateForPSN(void*, CGEventTapPlacement, CGEventTapOptions, CGEventMask, CGEventTapCallBack, void*)
- Parameters:
processSerialNumber
- Temp type, til def moves to CoreServices
Temp type, til def moves to CoreServices
place
- @see CGEventTapPlacement
options
- @see CGEventTapOptions
CGEventTapEnable
void CGEventTapEnable(CoreFoundationLibrary.__CFMachPort myTap,
boolean enable)
- Enable or disable an event tap.
* The taps are normally enabled when created.
If a tap becomes unresponsive, or a user requests taps be disabled,
then an appropriate kCGEventTapDisabled... event is passed to the
registered CGEventTapCallBack function.
* Event taps may be re-enabled by calling this function.
Original signature : void CGEventTapEnable(CFMachPortRef, bool)
CGEventTapIsEnabled
boolean CGEventTapIsEnabled(CoreFoundationLibrary.__CFMachPort myTap)
CGEventTapPostEvent
void CGEventTapPostEvent(CoreGraphicsLibrary.__CGEventTapProxy proxy,
CoreGraphicsLibrary.__CGEvent event)
- Post an event from the event tap into the event stream.
Original signature : void CGEventTapPostEvent(CGEventTapProxy, CGEventRef)
CGEventPost
void CGEventPost(int tap,
CoreGraphicsLibrary.__CGEvent event)
- Post an event into the event stream.
Original signature : void CGEventPost(CGEventTapLocation, CGEventRef)
- Parameters:
tap
- @see CGEventTapLocation
CGEventPostToPSN
void CGEventPostToPSN(Pointer processSerialNumber,
CoreGraphicsLibrary.__CGEvent event)
- Post an event into the event stream for a specific application.
Original signature : void CGEventPostToPSN(void*, CGEventRef)
- Parameters:
processSerialNumber
- Temp type, til def moves to CoreServices
Temp type, til def moves to CoreServices
CGGetEventTapList
@Deprecated
int CGGetEventTapList(int maxNumberOfTaps,
Pointer tapList,
IntByReference eventTapCount)
- Deprecated. use the safer method
CGGetEventTapList(int, com.sun.jna.Pointer, java.nio.IntBuffer)
instead
- Mechanism used to list event taps.
An array length (maxNumberOfTaps) and array of CGEventTapInformation structures
are passed in.
Up to maxNumberOfTaps elements of the array are filled in with event tap information.
The actual number of elements filled in is returned in eventTapCount.
* The call resets the accumulated minUsecLatency and maxUsecLatency fields. Values
reported in these fields reflect the min and max values seen since the preceding call,
or the instantiation of the tap.
* If the CGEventTapInformation array is NULL, maxNumberOfTaps is ignored, and *eventTapCount
is filled in with the number of event taps that are currently installed.
Original signature : CGError CGGetEventTapList(CGTableCount, CGEventTapInformation[], CGTableCount*)
CGGetEventTapList
int CGGetEventTapList(int maxNumberOfTaps,
Pointer tapList,
IntBuffer eventTapCount)
- See Also:
CoreGraphicsLibrary.CGError
CGGLContextCreate
CoreGraphicsLibrary.CGContext CGGLContextCreate(Pointer glContext,
CGSize.ByValue size,
CoreGraphicsLibrary.CGColorSpace colorspace)
CGGLContextUpdateViewportSize
void CGGLContextUpdateViewportSize(CoreGraphicsLibrary.CGContext c,
CGSize.ByValue size)
CGLayerCreateWithContext
CoreGraphicsLibrary.CGLayer CGLayerCreateWithContext(CoreGraphicsLibrary.CGContext context,
CGSize.ByValue size,
HIServicesLibrary.__CFDictionary auxiliaryInfo)
CGLayerRetain
CoreGraphicsLibrary.CGLayer CGLayerRetain(CoreGraphicsLibrary.CGLayer layer)
CGLayerRelease
void CGLayerRelease(CoreGraphicsLibrary.CGLayer layer)
CGLayerGetSize
CGSize.ByValue CGLayerGetSize(CoreGraphicsLibrary.CGLayer layer)
CGLayerGetContext
CoreGraphicsLibrary.CGContext CGLayerGetContext(CoreGraphicsLibrary.CGLayer layer)
CGContextDrawLayerInRect
void CGContextDrawLayerInRect(CoreGraphicsLibrary.CGContext context,
CGRect.ByValue rect,
CoreGraphicsLibrary.CGLayer layer)
CGContextDrawLayerAtPoint
void CGContextDrawLayerAtPoint(CoreGraphicsLibrary.CGContext context,
CGPoint.ByValue point,
CoreGraphicsLibrary.CGLayer layer)
CGLayerGetTypeID
NativeLong CGLayerGetTypeID()
CGPDFContentStreamCreateWithPage
CoreGraphicsLibrary.CGPDFContentStream CGPDFContentStreamCreateWithPage(CoreGraphicsLibrary.CGPDFPage page)
CGPDFContentStreamCreateWithStream
CoreGraphicsLibrary.CGPDFContentStream CGPDFContentStreamCreateWithStream(CoreGraphicsLibrary.CGPDFStream stream,
CoreGraphicsLibrary.CGPDFDictionary streamResources,
CoreGraphicsLibrary.CGPDFContentStream parent)
CGPDFContentStreamRetain
CoreGraphicsLibrary.CGPDFContentStream CGPDFContentStreamRetain(CoreGraphicsLibrary.CGPDFContentStream cs)
CGPDFContentStreamRelease
void CGPDFContentStreamRelease(CoreGraphicsLibrary.CGPDFContentStream cs)
CGPDFContentStreamGetStreams
HIServicesLibrary.__CFArray CGPDFContentStreamGetStreams(CoreGraphicsLibrary.CGPDFContentStream cs)
CGPDFContentStreamGetResource
@Deprecated
CoreGraphicsLibrary.CGPDFObject CGPDFContentStreamGetResource(CoreGraphicsLibrary.CGPDFContentStream cs,
ByteByReference category,
ByteByReference name)
- Deprecated. use the safer method
CGPDFContentStreamGetResource(org.rococoa.cocoa.coregraphics.CoreGraphicsLibrary.CGPDFContentStream, java.lang.String, java.lang.String)
instead
- Original signature :
CGPDFObjectRef CGPDFContentStreamGetResource(CGPDFContentStreamRef, const char*, const char*)
CGPDFContentStreamGetResource
CoreGraphicsLibrary.CGPDFObject CGPDFContentStreamGetResource(CoreGraphicsLibrary.CGPDFContentStream cs,
String category,
String name)
CGPDFContextCreate
CoreGraphicsLibrary.CGContext CGPDFContextCreate(ImageIOLibrary.CGDataConsumer consumer,
CGRect mediaBox,
HIServicesLibrary.__CFDictionary auxiliaryInfo)
CGPDFContextCreateWithURL
CoreGraphicsLibrary.CGContext CGPDFContextCreateWithURL(AudioUnitLibrary.__CFURL url,
CGRect mediaBox,
HIServicesLibrary.__CFDictionary auxiliaryInfo)
CGPDFContextClose
void CGPDFContextClose(CoreGraphicsLibrary.CGContext context)
CGPDFContextBeginPage
void CGPDFContextBeginPage(CoreGraphicsLibrary.CGContext context,
HIServicesLibrary.__CFDictionary pageInfo)
CGPDFContextEndPage
void CGPDFContextEndPage(CoreGraphicsLibrary.CGContext context)
CGPDFContextSetURLForRect
void CGPDFContextSetURLForRect(CoreGraphicsLibrary.CGContext context,
AudioUnitLibrary.__CFURL url,
CGRect.ByValue rect)
CGPDFScannerCreate
CoreGraphicsLibrary.CGPDFScanner CGPDFScannerCreate(CoreGraphicsLibrary.CGPDFContentStream cs,
CoreGraphicsLibrary.CGPDFOperatorTable table,
Pointer info)
CGPDFScannerRetain
CoreGraphicsLibrary.CGPDFScanner CGPDFScannerRetain(CoreGraphicsLibrary.CGPDFScanner scanner)
CGPDFScannerRelease
void CGPDFScannerRelease(CoreGraphicsLibrary.CGPDFScanner scanner)
CGPDFScannerScan
boolean CGPDFScannerScan(CoreGraphicsLibrary.CGPDFScanner scanner)
CGPDFScannerGetContentStream
CoreGraphicsLibrary.CGPDFContentStream CGPDFScannerGetContentStream(CoreGraphicsLibrary.CGPDFScanner scanner)
CGPDFScannerPopObject
boolean CGPDFScannerPopObject(CoreGraphicsLibrary.CGPDFScanner scanner,
PointerByReference value)
CGPDFScannerPopBoolean
@Deprecated
boolean CGPDFScannerPopBoolean(CoreGraphicsLibrary.CGPDFScanner scanner,
ByteByReference value)
- Deprecated. use the safer method
CGPDFScannerPopBoolean(org.rococoa.cocoa.coregraphics.CoreGraphicsLibrary.CGPDFScanner, java.nio.ByteBuffer)
instead
- Original signature :
bool CGPDFScannerPopBoolean(CGPDFScannerRef, CGPDFBoolean*)
CGPDFScannerPopBoolean
boolean CGPDFScannerPopBoolean(CoreGraphicsLibrary.CGPDFScanner scanner,
ByteBuffer value)
CGPDFScannerPopInteger
@Deprecated
boolean CGPDFScannerPopInteger(CoreGraphicsLibrary.CGPDFScanner scanner,
IntByReference value)
- Deprecated. use the safer method
CGPDFScannerPopInteger(org.rococoa.cocoa.coregraphics.CoreGraphicsLibrary.CGPDFScanner, java.nio.IntBuffer)
instead
- Original signature :
bool CGPDFScannerPopInteger(CGPDFScannerRef, CGPDFInteger*)
CGPDFScannerPopInteger
boolean CGPDFScannerPopInteger(CoreGraphicsLibrary.CGPDFScanner scanner,
IntBuffer value)
CGPDFScannerPopNumber
@Deprecated
boolean CGPDFScannerPopNumber(CoreGraphicsLibrary.CGPDFScanner scanner,
FloatByReference value)
- Deprecated. use the safer method
CGPDFScannerPopNumber(org.rococoa.cocoa.coregraphics.CoreGraphicsLibrary.CGPDFScanner, java.nio.FloatBuffer)
instead
- Original signature :
bool CGPDFScannerPopNumber(CGPDFScannerRef, CGPDFReal*)
CGPDFScannerPopNumber
boolean CGPDFScannerPopNumber(CoreGraphicsLibrary.CGPDFScanner scanner,
FloatBuffer value)
CGPDFScannerPopName
@Deprecated
boolean CGPDFScannerPopName(CoreGraphicsLibrary.CGPDFScanner scanner,
PointerByReference value)
- Deprecated. use the safer method
CGPDFScannerPopName(org.rococoa.cocoa.coregraphics.CoreGraphicsLibrary.CGPDFScanner, java.lang.String[])
instead
- Original signature :
bool CGPDFScannerPopName(CGPDFScannerRef, const char**)
CGPDFScannerPopName
boolean CGPDFScannerPopName(CoreGraphicsLibrary.CGPDFScanner scanner,
String[] value)
CGPDFScannerPopString
boolean CGPDFScannerPopString(CoreGraphicsLibrary.CGPDFScanner scanner,
PointerByReference value)
CGPDFScannerPopArray
boolean CGPDFScannerPopArray(CoreGraphicsLibrary.CGPDFScanner scanner,
PointerByReference value)
CGPDFScannerPopDictionary
boolean CGPDFScannerPopDictionary(CoreGraphicsLibrary.CGPDFScanner scanner,
PointerByReference value)
CGPDFScannerPopStream
boolean CGPDFScannerPopStream(CoreGraphicsLibrary.CGPDFScanner scanner,
PointerByReference value)
CGPDFOperatorTableCreate
CoreGraphicsLibrary.CGPDFOperatorTable CGPDFOperatorTableCreate()
CGPDFOperatorTableRetain
CoreGraphicsLibrary.CGPDFOperatorTable CGPDFOperatorTableRetain(CoreGraphicsLibrary.CGPDFOperatorTable table)
CGPDFOperatorTableRelease
void CGPDFOperatorTableRelease(CoreGraphicsLibrary.CGPDFOperatorTable table)
CGPDFOperatorTableSetCallback
@Deprecated
void CGPDFOperatorTableSetCallback(CoreGraphicsLibrary.CGPDFOperatorTable table,
ByteByReference name,
CoreGraphicsLibrary.CGPDFOperatorCallback callback)
- Deprecated. use the safer method
CGPDFOperatorTableSetCallback(org.rococoa.cocoa.coregraphics.CoreGraphicsLibrary.CGPDFOperatorTable, java.lang.String, org.rococoa.cocoa.coregraphics.CoreGraphicsLibrary.CGPDFOperatorCallback)
instead
- Original signature :
void CGPDFOperatorTableSetCallback(CGPDFOperatorTableRef, const char*, CGPDFOperatorCallback)
CGPDFOperatorTableSetCallback
void CGPDFOperatorTableSetCallback(CoreGraphicsLibrary.CGPDFOperatorTable table,
String name,
CoreGraphicsLibrary.CGPDFOperatorCallback callback)
CGPSConverterCreate
CoreGraphicsLibrary.CGPSConverter CGPSConverterCreate(Pointer info,
CGPSConverterCallbacks callbacks,
HIServicesLibrary.__CFDictionary options)
CGPSConverterConvert
boolean CGPSConverterConvert(CoreGraphicsLibrary.CGPSConverter converter,
ImageIOLibrary.CGDataProvider provider,
ImageIOLibrary.CGDataConsumer consumer,
HIServicesLibrary.__CFDictionary options)
CGPSConverterAbort
boolean CGPSConverterAbort(CoreGraphicsLibrary.CGPSConverter converter)
CGPSConverterIsConverting
boolean CGPSConverterIsConverting(CoreGraphicsLibrary.CGPSConverter converter)
CGPSConverterGetTypeID
NativeLong CGPSConverterGetTypeID()
CGSessionCopyCurrentDictionary
HIServicesLibrary.__CFDictionary CGSessionCopyCurrentDictionary()
- Fetch the current session's dictionary
Returns NULL if the caller is not within a GUI session, as when the caller is a UNIX daemon,
or if a system is configured to not run a Quartz GUI (window server disabled)
Original signature : CFDictionaryRef CGSessionCopyCurrentDictionary()
CGWindowLevelForKey
int CGWindowLevelForKey(int key)
CGWindowListCopyWindowInfo
HIServicesLibrary.__CFArray CGWindowListCopyWindowInfo(int option,
int relativeToWindow)
- CGWindowListCopyWindowInfo
Copy the CFArray of CFDictionaries, with each dictionary containing descriptive information
on a window within the user session.
Returns NULL if called from outside of a GUI security session, or if no window server is running
The returned CFArray may be empty if no windows meet the specified criteria.
Original signature : CFArrayRef CGWindowListCopyWindowInfo(CGWindowListOption, CGWindowID)
CGWindowListCreate
HIServicesLibrary.__CFArray CGWindowListCreate(int option,
int relativeToWindow)
- CGWindowListCreate:
Create a CFArray of CGWindowID values for windows within the user session, using the window
list options and relative window, if needed.
Returns NULL if called from outside of a GUI security session, or if no window server is running
The returned CFArray may be empty if no windows meet the specified criteria.
Original signature : CFArrayRef CGWindowListCreate(CGWindowListOption, CGWindowID)
CGWindowListCreateDescriptionFromArray
HIServicesLibrary.__CFArray CGWindowListCreateDescriptionFromArray(HIServicesLibrary.__CFArray windowArray)
- CGWindowListCreateDescriptionFromArray
Create a CFArray of CFDictionaries, with each dictionary containing descriptive information
on a window ID provided in windowArray if the window exists.
* Note that there is the potential for a race condition if windows are
destroyed between the generation of the CFArray of window IDs and the
use of the array to generate an image. Invalid window IDs in the array
will be ignored.
* The returned CFArray may be empty if no valid windows are found in windowArray.
Returns NULL if called from outside of a GUI security session, or if no window server is running.
Original signature : CFArrayRef CGWindowListCreateDescriptionFromArray(CFArrayRef)
CGWindowListCreateImage
ImageIOLibrary.CGImage CGWindowListCreateImage(CGRect.ByValue screenBounds,
int windowOption,
int windowID,
int imageOption)
CGWindowListCreateImageFromArray
ImageIOLibrary.CGImage CGWindowListCreateImageFromArray(CGRect.ByValue screenBounds,
HIServicesLibrary.__CFArray windowArray,
int imageOption)
- CGWindowListCreateImageFromArray:
* Create a CGImage containing a composite of the specified list of windows.
This function permits an edited list of windows to be used as the image
source.
* Returns a CGImageRef, or NULL if called from outside of a GUI security
session, if no window server is running, or no windows can be read.
* Note that there is the potential for a race condition if windows are
destroyed between the generation of the CFArray of window IDs and the
use of the array to generate an image. Invalid window IDs in the array
will be ignored. If all the specified windows are unreadable or do not exist,
then an empty (0 by 0 pixel, or specified size and transparent black) image will be produced.
* The function takes a rectangle in Quadrant IV screen space, origin at the
upper left of the main display and Y value increasing downward. A rectangle
with a value of CGRectInfinite is interpreted to mean the entire desktop space,
and will be cropped as such. A rectangle with a value of CGRectNull is interpreted
to mean the bounding box for the windows to be used as the image source. An option
flag allows the shadow area of the windows to be included or ignored.
* The windows to be used as the image source are specified as an CFArrayRef windowArray
window IDs. These windows will be composited from first to last as if
ordered from front to back. On-screen ordering is ignored.
* Invalid windows and any window with a CGWindowSharingType of kCGWindowSharingNone will be skipped.
If this results in no windows being available in the selected range, an empty image is returned.
* The imageOption allows the caller to specify if the window shadow should be included
in bounds calculation if CGRectNull is specified for the window bounds.
Original signature : CGImageRef CGWindowListCreateImageFromArray(CGRect, CFArrayRef, CGWindowImageOption)