core-graphics vocabulary
Factor handbook ยป Vocabulary index


Summary
Binding to macOS Core Graphics library

Metadata
Tags:bindings
Authors:Slava Pestov
Platforms:macos


Words

Tuple classes
ClassSuperclassSlots
CGColorSpaceRelease-destructor alien-destructor
CGContextRelease-destructor alien-destructor


Symbol words
CGImageAlphaInfo


Ordinary words
WordStack effect
&CGColorSpaceRelease( alien -- alien )
&CGContextRelease( alien -- alien )
<CGColor>( color -- CGColor )
<CGColorSpaceRelease-destructor>( alien -- destructor )
<CGContextRelease-destructor>( alien -- destructor )
CGAssociateMouseAndMouseCursorPosition( connected -- CGError )
CGBitmapContextCreate( data width height bitsPerComponent bytesPerRow colorspace bitmapInfo -- CGContextRef )
CGBitmapContextCreateImage( c -- CGImageRef )
CGBitmapContextGetData( c -- void* )
CGColorCreateGenericRGB( red green blue alpha -- CGColorRef )
CGColorSpaceCreateDeviceRGB( -- CGColorSpaceRef )
CGColorSpaceRelease( ref -- )
CGContextDrawImage( c rect image -- )
CGContextFillRect( c rect -- )
CGContextRelease( ref -- )
CGContextSetRGBFillColor( c red green blue alpha -- )
CGContextSetRGBStrokeColor( c red green blue alpha -- )
CGContextSetShouldSmoothFonts( c shouldSmoothFonts -- )
CGContextSetTextPosition( c x y -- )
CGDisplayHideCursor( display -- CGError )
CGDisplayMoveCursorToPoint( display point -- CGError )
CGDisplayShowCursor( display -- CGError )
CGImageDestinationAddImage( idst image properties -- )
CGImageDestinationCreateWithURL( url type count options -- CGImageDestinationRef )
CGImageDestinationFinalize( idst -- bool )
CGImageGetHeight( image -- size_t )
CGImageGetWidth( image -- size_t )
CGLSetParameter( ctx pname params -- CGLError )
CGMainDisplayID( -- CGDirectDisplayID )
CGWarpMouseCursorPosition( newCursorPosition -- CGError )
GetCurrentButtonState( -- uint )
dummy-context( -- context )
kCGBitmapAlphaInfoMask( -- value )
kCGBitmapByteOrder16Big( -- value )
kCGBitmapByteOrder16Host( -- n )
kCGBitmapByteOrder16Little( -- value )
kCGBitmapByteOrder32Big( -- value )
kCGBitmapByteOrder32Host( -- n )
kCGBitmapByteOrder32Little( -- value )
kCGBitmapByteOrderDefault( -- value )
kCGBitmapByteOrderMask( -- value )
kCGBitmapFloatComponents( -- value )
kCGImageAlphaFirst( -- value )
kCGImageAlphaLast( -- value )
kCGImageAlphaNone( -- value )
kCGImageAlphaNoneSkipFirst( -- value )
kCGImageAlphaNoneSkipLast( -- value )
kCGImageAlphaPremultipliedFirst( -- value )
kCGImageAlphaPremultipliedLast( -- value )
kCGLRendererGenericFloatID( -- value )
make-bitmap-image( dim quot -- image )
|CGColorSpaceRelease( alien -- alien )
|CGContextRelease( alien -- alien )


Class predicate words
WordStack effect
CGColorSpaceRelease-destructor?( object -- ? )
CGContextRelease-destructor?( object -- ? )


Files


Metadata files


Children from resource:basis
VocabularySummary
core-graphics.types


Children
VocabularySummary
core-graphics.private