Up

Functions

Authors

Generated by root

Contents -

  1. GSDisplayServer functions
  2. GSFusedSilica functions

GSDisplayServer functions

DPSDiscardEvents

void DPSDiscardEvents(GSDisplayServer* ctxt, unsigned int mask, NSEvent* limit);

Description forthcoming.


DPSGetEvent

NSEvent* DPSGetEvent(GSDisplayServer* ctxt, unsigned int mask, NSDate* limit, NSString* mode);

Description forthcoming.


DPSPeekEvent

NSEvent* DPSPeekEvent(GSDisplayServer* ctxt, unsigned int mask, NSDate* limit, NSString* mode);

Description forthcoming.


DPSPostEvent

void DPSPostEvent(GSDisplayServer* ctxt, NSEvent* anEvent, BOOL atStart);

Description forthcoming.


GSCurrentServer

GSDisplayServer* GSCurrentServer();

Returns the current GSDisplayServer


GSServerForWindow

GSDisplayServer* GSServerForWindow(NSWindow* window);

Returns the GSDisplayServer that created the interal representation for window. If the internal representation has not yet been created (for instance, if the window is deferred), it returns the current server


GSFusedSilica functions

CGAffineTransformConcat

CGAffineTransform CGAffineTransformConcat(CGAffineTransform t1, CGAffineTransform t2);

Description forthcoming.


CGAffineTransformInvert

CGAffineTransform CGAffineTransformInvert(CGAffineTransform t);

Description forthcoming.


CGAffineTransformMake

CGAffineTransform CGAffineTransformMake(float a, float b, float c, float d, float tx, float ty);

Description forthcoming.


CGAffineTransformMakeRotation

CGAffineTransform CGAffineTransformMakeRotation(float angle);

Description forthcoming.


CGAffineTransformMakeScale

CGAffineTransform CGAffineTransformMakeScale(float sx, float sy);

Description forthcoming.


CGAffineTransformMakeTranslation

CGAffineTransform CGAffineTransformMakeTranslation(float tx, float ty);

Description forthcoming.


CGAffineTransformRotate

CGAffineTransform CGAffineTransformRotate(CGAffineTransform t, float angle);

Description forthcoming.


CGAffineTransformScale

CGAffineTransform CGAffineTransformScale(CGAffineTransform t, float sx, float sy);

Description forthcoming.


CGAffineTransformTranslate

CGAffineTransform CGAffineTransformTranslate(CGAffineTransform t, float tx, float ty);

Description forthcoming.


CGBitmapContextCreate

CGContextRef CGBitmapContextCreate(void* data, size_t width, size_t height, size_t bitsPerComponent, size_t bytesPerRow, CGColorSpaceRef colorspace, CGImageAlphaInfo alphaInfo);

Description forthcoming.


CGColorSpaceCreateCalibratedGray

CGColorSpaceRef CGColorSpaceCreateCalibratedGray(const float* whitePoint, const float* blackPoint, float gamma);

Description forthcoming.


CGColorSpaceCreateCalibratedRGB

CGColorSpaceRef CGColorSpaceCreateCalibratedRGB(const float* whitePoint, const float* blackPoint, const float* gamma, const float* matrix);

Description forthcoming.


CGColorSpaceCreateDeviceCMYK

CGColorSpaceRef CGColorSpaceCreateDeviceCMYK();

Description forthcoming.


CGColorSpaceCreateDeviceGray

CGColorSpaceRef CGColorSpaceCreateDeviceGray();

Description forthcoming.


CGColorSpaceCreateDeviceRGB

CGColorSpaceRef CGColorSpaceCreateDeviceRGB();

Description forthcoming.


CGColorSpaceCreateICCBased

CGColorSpaceRef CGColorSpaceCreateICCBased(size_t nComponents, const float* range, CGDataProviderRef profile, CGColorSpaceRef alternateSpace);

Description forthcoming.


CGColorSpaceCreateIndexed

CGColorSpaceRef CGColorSpaceCreateIndexed(CGColorSpaceRef baseSpace, size_t lastIndex, const unsigned short int* colorTable);

Description forthcoming.


CGColorSpaceCreateLab

CGColorSpaceRef CGColorSpaceCreateLab(const float* whitePoint, const float* blackPoint, const float* range);

Description forthcoming.


CGColorSpaceGetNumberOfComponents

size_t CGColorSpaceGetNumberOfComponents(CGColorSpaceRef cs);

Description forthcoming.


CGColorSpaceRelease

void CGColorSpaceRelease(CGColorSpaceRef cs);

Description forthcoming.


CGColorSpaceRetain

CGColorSpaceRef CGColorSpaceRetain(CGColorSpaceRef cs);

Description forthcoming.


CGContextAddArc

void CGContextAddArc(CGContextRef ctx, float x, float y, float radius, float startAngle, float endAngle, int clockwise);

Description forthcoming.


CGContextAddArcToPoint

void CGContextAddArcToPoint(CGContextRef ctx, float x1, float y1, float x2, float y2, float radius);

Description forthcoming.


CGContextAddCurveToPoint

void CGContextAddCurveToPoint(CGContextRef ctx, float cp1x, float cp1y, float cp2x, float cp2y, float x, float y);

Description forthcoming.


CGContextAddLineToPoint

void CGContextAddLineToPoint(CGContextRef ctx, float x, float y);

Description forthcoming.


CGContextAddLines

void CGContextAddLines(CGContextRef ctx, const CGPoint* points, size_t count);

Description forthcoming.


CGContextAddQuadCurveToPoint

void CGContextAddQuadCurveToPoint(CGContextRef ctx, float cpx, float cpy, float x, float y);

Description forthcoming.


CGContextAddRect

void CGContextAddRect(CGContextRef ctx, CGRect rect);

Description forthcoming.


CGContextAddRects

void CGContextAddRects(CGContextRef ctx, const CGRect* rects, size_t count);

Description forthcoming.


CGContextBeginPage

void CGContextBeginPage(CGContextRef ctx, const CGRect* mediaBox);

Description forthcoming.


CGContextBeginPath

void CGContextBeginPath(CGContextRef ctx);

Description forthcoming.


CGContextClearRect

void CGContextClearRect(CGContextRef c, CGRect rect);

Description forthcoming.


CGContextClip

void CGContextClip(CGContextRef ctx);

Description forthcoming.


CGContextClipToRect

void CGContextClipToRect(CGContextRef ctx, CGRect rect);

Description forthcoming.


CGContextClipToRects

void CGContextClipToRects(CGContextRef ctx, const CGRect* rects, size_t count);

Description forthcoming.


CGContextClosePath

void CGContextClosePath(CGContextRef ctx);

Description forthcoming.


CGContextConcatCTM

void CGContextConcatCTM(CGContextRef ctx, CGAffineTransform transform);

Description forthcoming.


CGContextDrawImage

void CGContextDrawImage(CGContextRef ctx, CGRect rect, CGImageRef image);

Description forthcoming.


CGContextDrawPDFDocument

void CGContextDrawPDFDocument(CGContextRef ctx, CGRect rect, CGPDFDocumentRef document, int page);

Description forthcoming.


CGContextDrawPath

void CGContextDrawPath(CGContextRef ctx, CGPathDrawingMode mode);

Description forthcoming.


CGContextEOClip

void CGContextEOClip(CGContextRef ctx);

Description forthcoming.


CGContextEOFillPath

void CGContextEOFillPath(CGContextRef ctx);

Description forthcoming.


CGContextEndPage

void CGContextEndPage(CGContextRef ctx);

Description forthcoming.


CGContextFillPath

void CGContextFillPath(CGContextRef ctx);

Description forthcoming.


CGContextFillRect

void CGContextFillRect(CGContextRef ctx, CGRect rect);

Description forthcoming.


CGContextFillRects

void CGContextFillRects(CGContextRef ctx, const CGRect* rects, size_t count);

Description forthcoming.


CGContextFlush

void CGContextFlush(CGContextRef ctx);

Description forthcoming.


CGContextGetCTM

CGAffineTransform CGContextGetCTM(CGContextRef ctx);

Description forthcoming.


CGContextGetPathBoundingBox

CGRect CGContextGetPathBoundingBox(CGContextRef ctx);

Description forthcoming.


CGContextGetPathCurrentPoint

CGPoint CGContextGetPathCurrentPoint(CGContextRef ctx);

Description forthcoming.


CGContextGetTextMatrix

CGAffineTransform CGContextGetTextMatrix(CGContextRef ctx);

Description forthcoming.


CGContextGetTextPosition

CGPoint CGContextGetTextPosition(CGContextRef ctx);

Description forthcoming.


CGContextIsPathEmpty

int CGContextIsPathEmpty(CGContextRef ctx);

Description forthcoming.


CGContextMoveToPoint

void CGContextMoveToPoint(CGContextRef ctx, float x, float y);

Description forthcoming.


CGContextRelease

void CGContextRelease(CGContextRef ctx);

Description forthcoming.


CGContextRestoreGState

void CGContextRestoreGState(CGContextRef ctx);

Description forthcoming.


CGContextRetain

CGContextRef CGContextRetain(CGContextRef ctx);

Description forthcoming.


CGContextRotateCTM

void CGContextRotateCTM(CGContextRef ctx, float angle);

Description forthcoming.


CGContextSaveGState

void CGContextSaveGState(CGContextRef ctx);

Description forthcoming.


CGContextScaleCTM

void CGContextScaleCTM(CGContextRef ctx, float sx, float sy);

Description forthcoming.


CGContextSelectFont

void CGContextSelectFont(CGContextRef ctx, const char* name, float size, CGTextEncoding textEncoding);

Description forthcoming.


CGContextSetAlpha

void CGContextSetAlpha(CGContextRef ctx, float alpha);

Description forthcoming.


CGContextSetCMYKFillColor

void CGContextSetCMYKFillColor(CGContextRef ctx, float c, float m, float y, float k, float alpha);

Description forthcoming.


CGContextSetCMYKStrokeColor

void CGContextSetCMYKStrokeColor(CGContextRef ctx, float c, float m, float y, float k, float alpha);

Description forthcoming.


CGContextSetCharacterSpacing

void CGContextSetCharacterSpacing(CGContextRef ctx, float spacing);

Description forthcoming.


CGContextSetFillColor

void CGContextSetFillColor(CGContextRef ctx, const float* value);

Description forthcoming.


CGContextSetFillColorSpace

void CGContextSetFillColorSpace(CGContextRef ctx, CGColorSpaceRef colorspace);

Description forthcoming.


CGContextSetFlatness

void CGContextSetFlatness(CGContextRef ctx, float flatness);

Description forthcoming.


CGContextSetFont

void CGContextSetFont(CGContextRef ctx, CGFontRef font);

Description forthcoming.


CGContextSetFontSize

void CGContextSetFontSize(CGContextRef ctx, float size);

Description forthcoming.


CGContextSetGrayFillColor

void CGContextSetGrayFillColor(CGContextRef ctx, float gray, float alpha);

Description forthcoming.


CGContextSetGrayStrokeColor

void CGContextSetGrayStrokeColor(CGContextRef ctx, float gray, float alpha);

Description forthcoming.


CGContextSetLineCap

void CGContextSetLineCap(CGContextRef ctx, CGLineCap cap);

Description forthcoming.


CGContextSetLineDash

void CGContextSetLineDash(CGContextRef ctx, float phase, const float* lengths, size_t count);

Description forthcoming.


CGContextSetLineJoin

void CGContextSetLineJoin(CGContextRef ctx, CGLineJoin join);

Description forthcoming.


CGContextSetLineWidth

void CGContextSetLineWidth(CGContextRef ctx, float width);

Description forthcoming.


CGContextSetMiterLimit

void CGContextSetMiterLimit(CGContextRef ctx, float limit);

Description forthcoming.


CGContextSetRGBFillColor

void CGContextSetRGBFillColor(CGContextRef ctx, float r, float g, float b, float alpha);

Description forthcoming.


CGContextSetRGBStrokeColor

void CGContextSetRGBStrokeColor(CGContextRef ctx, float r, float g, float b, float alpha);

Description forthcoming.


CGContextSetRenderingIntent

void CGContextSetRenderingIntent(CGContextRef c, CGColorRenderingIntent intent);

Description forthcoming.


CGContextSetShouldAntialias

void CGContextSetShouldAntialias(CGContextRef ctx, int shouldAntialias);

Description forthcoming.


CGContextSetStrokeColor

void CGContextSetStrokeColor(CGContextRef ctx, const float* value);

Description forthcoming.


CGContextSetStrokeColorSpace

void CGContextSetStrokeColorSpace(CGContextRef ctx, CGColorSpaceRef colorspace);

Description forthcoming.


CGContextSetTextDrawingMode

void CGContextSetTextDrawingMode(CGContextRef ctx, CGTextDrawingMode mode);

Description forthcoming.


CGContextSetTextMatrix

void CGContextSetTextMatrix(CGContextRef ctx, CGAffineTransform transform);

Description forthcoming.


CGContextSetTextPosition

void CGContextSetTextPosition(CGContextRef ctx, float x, float y);

Description forthcoming.


CGContextShowGlyphs

void CGContextShowGlyphs(CGContextRef ctx, const CGGlyph* g, size_t count);

Description forthcoming.


CGContextShowGlyphsAtPoint

void CGContextShowGlyphsAtPoint(CGContextRef ctx, float x, float y, const CGGlyph* g, size_t count);

Description forthcoming.


CGContextShowText

void CGContextShowText(CGContextRef ctx, const char* cstring, size_t length);

Description forthcoming.


CGContextShowTextAtPoint

void CGContextShowTextAtPoint(CGContextRef ctx, float x, float y, const char* cstring, size_t length);

Description forthcoming.


CGContextStrokePath

void CGContextStrokePath(CGContextRef ctx);

Description forthcoming.


CGContextStrokeRect

void CGContextStrokeRect(CGContextRef ctx, CGRect rect);

Description forthcoming.


CGContextStrokeRectWithWidth

void CGContextStrokeRectWithWidth(CGContextRef ctx, CGRect rect, float width);

Description forthcoming.


CGContextSynchronize

void CGContextSynchronize(CGContextRef ctx);

Description forthcoming.


CGContextTranslateCTM

void CGContextTranslateCTM(CGContextRef ctx, float tx, float ty);

Description forthcoming.


CGDataConsumerCreate

CGDataConsumerRef CGDataConsumerCreate(void* info, const CGDataConsumerCallbacks* callbacks);

Description forthcoming.


CGDataConsumerRelease

void CGDataConsumerRelease(CGDataConsumerRef consumer);

Description forthcoming.


CGDataConsumerRetain

CGDataConsumerRef CGDataConsumerRetain(CGDataConsumerRef consumer);

Description forthcoming.


CGDataProviderCreate

CGDataProviderRef CGDataProviderCreate(void* info, const CGDataProviderCallbacks* callbacks);

Description forthcoming.


CGDataProviderCreateDirectAccess

CGDataProviderRef CGDataProviderCreateDirectAccess(void* info, size_t size, const CGDataProviderDirectAccessCallbacks* callbacks);

Description forthcoming.


CGDataProviderCreateWithData

CGDataProviderRef CGDataProviderCreateWithData(void* info, const void* data, size_t size, int releaseData);

Description forthcoming.


CGDataProviderRelease

void CGDataProviderRelease(CGDataProviderRef provider);

Description forthcoming.


CGDataProviderRetain

CGDataProviderRef CGDataProviderRetain(CGDataProviderRef provider);

Description forthcoming.


CGFontCreateWithPlatformFont

CGFontRef CGFontCreateWithPlatformFont(void* platformFontReference);

Description forthcoming.


CGFontRelease

void CGFontRelease(CGFontRef font);

Description forthcoming.


CGFontRetain

CGFontRef CGFontRetain(CGFontRef font);

Description forthcoming.


CGImageCreate

CGImageRef CGImageCreate(size_t width, size_t height, size_t bitsPerComponent, size_t bitsPerPixel, size_t bytesPerRow, CGColorSpaceRef colorspace, CGImageAlphaInfo alphaInfo, CGDataProviderRef provider, const float* decode, int shouldInterpolate, CGColorRenderingIntent intent);

Description forthcoming.


CGImageGetAlphaInfo

CGImageAlphaInfo CGImageGetAlphaInfo(CGImageRef image);

Description forthcoming.


CGImageGetBitsPerComponent

size_t CGImageGetBitsPerComponent(CGImageRef image);

Description forthcoming.


CGImageGetBitsPerPixel

size_t CGImageGetBitsPerPixel(CGImageRef image);

Description forthcoming.


CGImageGetBytesPerRow

size_t CGImageGetBytesPerRow(CGImageRef image);

Description forthcoming.


CGImageGetColorSpace

CGColorSpaceRef CGImageGetColorSpace(CGImageRef image);

Description forthcoming.


CGImageGetDataProvider

CGDataProviderRef CGImageGetDataProvider(CGImageRef image);

Description forthcoming.


CGImageGetDecode

const float* CGImageGetDecode(CGImageRef image);

Description forthcoming.


CGImageGetHeight

size_t CGImageGetHeight(CGImageRef image);

Description forthcoming.


CGImageGetRenderingIntent

CGColorRenderingIntent CGImageGetRenderingIntent(CGImageRef image);

Description forthcoming.


CGImageGetShouldInterpolate

int CGImageGetShouldInterpolate(CGImageRef image);

Description forthcoming.


CGImageGetWidth

size_t CGImageGetWidth(CGImageRef image);

Description forthcoming.


CGImageIsMask

int CGImageIsMask(CGImageRef image);

Description forthcoming.


CGImageMaskCreate

CGImageRef CGImageMaskCreate(size_t width, size_t height, size_t bitsPerComponent, size_t bitsPerPixel, size_t bytesPerRow, CGDataProviderRef provider, const float* decode, int shouldInterpolate);

Description forthcoming.


CGImageRelease

void CGImageRelease(CGImageRef image);

Description forthcoming.


CGImageRetain

CGImageRef CGImageRetain(CGImageRef image);

Description forthcoming.


CGPDFDocumentCreateWithProvider

CGPDFDocumentRef CGPDFDocumentCreateWithProvider(CGDataProviderRef provider);

Description forthcoming.


CGPDFDocumentGetArtBox

CGRect CGPDFDocumentGetArtBox(CGPDFDocumentRef document, int page);

Description forthcoming.


CGPDFDocumentGetBleedBox

CGRect CGPDFDocumentGetBleedBox(CGPDFDocumentRef document, int page);

Description forthcoming.


CGPDFDocumentGetCropBox

CGRect CGPDFDocumentGetCropBox(CGPDFDocumentRef document, int page);

Description forthcoming.


CGPDFDocumentGetMediaBox

CGRect CGPDFDocumentGetMediaBox(CGPDFDocumentRef document, int page);

Description forthcoming.


CGPDFDocumentGetNumberOfPages

int CGPDFDocumentGetNumberOfPages(CGPDFDocumentRef document);

Description forthcoming.


CGPDFDocumentGetRotationAngle

int CGPDFDocumentGetRotationAngle(CGPDFDocumentRef document, int page);

Description forthcoming.


CGPDFDocumentGetTrimBox

CGRect CGPDFDocumentGetTrimBox(CGPDFDocumentRef document, int page);

Description forthcoming.


CGPDFDocumentRelease

void CGPDFDocumentRelease(CGPDFDocumentRef document);

Description forthcoming.


CGPDFDocumentRetain

CGPDFDocumentRef CGPDFDocumentRetain(CGPDFDocumentRef document);

Description forthcoming.


CGPointApplyAffineTransform

CGPoint CGPointApplyAffineTransform(CGPoint point, CGAffineTransform t);

Description forthcoming.


CGPointEqualToPoint

int CGPointEqualToPoint(CGPoint point1, CGPoint point2);

Description forthcoming.


CGPointMake

CGPoint CGPointMake(float x, float y);

Description forthcoming.


CGRectContainsPoint

int CGRectContainsPoint(CGRect rect, CGPoint point);

Description forthcoming.


CGRectContainsRect

int CGRectContainsRect(CGRect rect1, CGRect rect2);

Description forthcoming.


CGRectDivide

void CGRectDivide(CGRect rect, CGRect* slice, CGRect* remainder, float amount, CGRectEdge edge);

Description forthcoming.


CGRectEqualToRect

int CGRectEqualToRect(CGRect rect1, CGRect rect2);

Description forthcoming.


CGRectGetHeight

float CGRectGetHeight(CGRect rect);

Description forthcoming.


CGRectGetMaxX

float CGRectGetMaxX(CGRect rect);

Description forthcoming.


CGRectGetMaxY

float CGRectGetMaxY(CGRect rect);

Description forthcoming.


CGRectGetMidX

float CGRectGetMidX(CGRect rect);

Description forthcoming.


CGRectGetMidY

float CGRectGetMidY(CGRect rect);

Description forthcoming.


CGRectGetMinX

float CGRectGetMinX(CGRect rect);

Description forthcoming.


CGRectGetMinY

float CGRectGetMinY(CGRect rect);

Description forthcoming.


CGRectGetWidth

float CGRectGetWidth(CGRect rect);

Description forthcoming.


CGRectInset

CGRect CGRectInset(CGRect rect, float dx, float dy);

Description forthcoming.


CGRectIntegral

CGRect CGRectIntegral(CGRect rect);

Description forthcoming.


CGRectIntersection

CGRect CGRectIntersection(CGRect r1, CGRect r2);

Description forthcoming.


CGRectIntersectsRect

int CGRectIntersectsRect(CGRect rect1, CGRect rect2);

Description forthcoming.


CGRectIsEmpty

int CGRectIsEmpty(CGRect rect);

Description forthcoming.


CGRectIsNull

int CGRectIsNull(CGRect rect);

Description forthcoming.


CGRectMake

CGRect CGRectMake(float x, float y, float width, float height);

Description forthcoming.


CGRectOffset

CGRect CGRectOffset(CGRect rect, float dx, float dy);

Description forthcoming.


CGRectStandardize

CGRect CGRectStandardize(CGRect rect);

Description forthcoming.


CGRectUnion

CGRect CGRectUnion(CGRect r1, CGRect r2);

Description forthcoming.


CGSizeApplyAffineTransform

CGSize CGSizeApplyAffineTransform(CGSize size, CGAffineTransform t);

Description forthcoming.


CGSizeEqualToSize

int CGSizeEqualToSize(CGSize size1, CGSize size2);

Description forthcoming.


CGSizeMake

CGSize CGSizeMake(float width, float height);

Description forthcoming.



Up