Up

# Functions

### Authors

Generated by root

### Contents -

1. DPSOperators functions
2. NSAccessibilityConstants functions
3. NSAccessibility functions
4. NSApplication functions
5. NSDataLinkManager functions
6. NSEvent functions
7. NSFont functions
8. NSGraphicsContext functions
9. NSGraphics functions
10. NSInterfaceStyle functions
11. NSKeyValueBinding functions
12. NSPanel functions
13. NSPasteboard functions
14. NSSound functions
15. NSView functions
16. PSOperators functions

# DPSOperators functions

### DPSPrintf

void DPSPrintf(GSCTXT* ctxt, const char* fmt,...);
Availability: OpenStep
Description forthcoming.

### DPSWriteData

void DPSWriteData(GSCTXT* ctxt, const char* buf, unsigned int count);
Availability: OpenStep
Description forthcoming.

### DPSarc

void DPSarc(GSCTXT* ctxt, CGFloat x, CGFloat y, CGFloat r, CGFloat angle1, CGFloat angle2);
Availability: OpenStep
Description forthcoming.

### DPSarcn

void DPSarcn(GSCTXT* ctxt, CGFloat x, CGFloat y, CGFloat r, CGFloat angle1, CGFloat angle2);
Availability: OpenStep
Description forthcoming.

### DPSarct

void DPSarct(GSCTXT* ctxt, CGFloat x1, CGFloat y1, CGFloat x2, CGFloat y2, CGFloat r);
Availability: OpenStep
Description forthcoming.

### DPSashow

void DPSashow(GSCTXT* ctxt, CGFloat x, CGFloat y, const char* s);
Availability: OpenStep
Description forthcoming.

### DPSawidthshow

void DPSawidthshow(GSCTXT* ctxt, CGFloat cx, CGFloat cy, int c, CGFloat ax, CGFloat ay, const char* s);
Availability: OpenStep
Description forthcoming.

### DPScharpath

void DPScharpath(GSCTXT* ctxt, const char* s, int b);
Availability: OpenStep
Description forthcoming.

### DPSclip

void DPSclip(GSCTXT* ctxt);
Availability: OpenStep
Description forthcoming.

### DPSclosepath

void DPSclosepath(GSCTXT* ctxt);
Availability: OpenStep
Description forthcoming.

### DPScomposite

void DPScomposite(GSCTXT* ctxt, CGFloat x, CGFloat y, CGFloat w, CGFloat h, NSInteger gstateNum, CGFloat dx, CGFloat dy, NSCompositingOperation op);
Availability: OpenStep
Description forthcoming.

### DPScompositerect

void DPScompositerect(GSCTXT* ctxt, CGFloat x, CGFloat y, CGFloat w, CGFloat h, NSCompositingOperation op);
Availability: OpenStep
Description forthcoming.

### DPSconcat

void DPSconcat(GSCTXT* ctxt, const CGFloat* m);
Availability: OpenStep
Description forthcoming.

### DPScurrentalpha

void DPScurrentalpha(GSCTXT* ctxt, CGFloat* a);
Availability: OpenStep
Description forthcoming.

### DPScurrentcmykcolor

void DPScurrentcmykcolor(GSCTXT* ctxt, CGFloat* c, CGFloat* m, CGFloat* y, CGFloat* k);
Availability: OpenStep
Description forthcoming.

### DPScurrentflat

void DPScurrentflat(GSCTXT* ctxt, CGFloat* flatness);
Availability: OpenStep
Description forthcoming.

### DPScurrentgray

void DPScurrentgray(GSCTXT* ctxt, CGFloat* gray);
Availability: OpenStep
Description forthcoming.

### DPScurrenthsbcolor

void DPScurrenthsbcolor(GSCTXT* ctxt, CGFloat* h, CGFloat* s, CGFloat* b);
Availability: OpenStep
Description forthcoming.

### DPScurrentlinecap

void DPScurrentlinecap(GSCTXT* ctxt, int* linecap);
Availability: OpenStep
Description forthcoming.

### DPScurrentlinejoin

void DPScurrentlinejoin(GSCTXT* ctxt, int* linejoin);
Availability: OpenStep
Description forthcoming.

### DPScurrentlinewidth

void DPScurrentlinewidth(GSCTXT* ctxt, CGFloat* width);
Availability: OpenStep
Description forthcoming.

### DPScurrentmiterlimit

void DPScurrentmiterlimit(GSCTXT* ctxt, CGFloat* limit);
Availability: OpenStep
Description forthcoming.

### DPScurrentoffset

void DPScurrentoffset(GSCTXT* ctxt, int* x, int* y);
Availability: OpenStep
Description forthcoming.

### DPScurrentpoint

void DPScurrentpoint(GSCTXT* ctxt, CGFloat* x, CGFloat* y);
Availability: OpenStep
Description forthcoming.

### DPScurrentrgbcolor

void DPScurrentrgbcolor(GSCTXT* ctxt, CGFloat* r, CGFloat* g, CGFloat* b);
Availability: OpenStep
Description forthcoming.

### DPScurrentstrokeadjust

void DPScurrentstrokeadjust(GSCTXT* ctxt, int* b);
Availability: OpenStep
Description forthcoming.

### DPScurveto

void DPScurveto(GSCTXT* ctxt, CGFloat x1, CGFloat y1, CGFloat x2, CGFloat y2, CGFloat x3, CGFloat y3);
Availability: OpenStep
Description forthcoming.

### DPSdissolve

void DPSdissolve(GSCTXT* ctxt, CGFloat x, CGFloat y, CGFloat w, CGFloat h, NSInteger gstateNum, CGFloat dx, CGFloat dy, CGFloat delta);
Availability: OpenStep
Description forthcoming.

### DPSeoclip

void DPSeoclip(GSCTXT* ctxt);
Availability: OpenStep
Description forthcoming.

### DPSeofill

void DPSeofill(GSCTXT* ctxt);
Availability: OpenStep
Description forthcoming.

### DPSfill

void DPSfill(GSCTXT* ctxt);
Availability: OpenStep
Description forthcoming.

### DPSflattenpath

void DPSflattenpath(GSCTXT* ctxt);
Availability: OpenStep
Description forthcoming.

### DPSgrestore

void DPSgrestore(GSCTXT* ctxt);
Availability: OpenStep
Description forthcoming.

### DPSgsave

void DPSgsave(GSCTXT* ctxt);
Availability: OpenStep
Description forthcoming.

### DPSinitclip

void DPSinitclip(GSCTXT* ctxt);
Availability: OpenStep
Description forthcoming.

### DPSinitgraphics

void DPSinitgraphics(GSCTXT* ctxt);
Availability: OpenStep
Description forthcoming.

### DPSinitmatrix

void DPSinitmatrix(GSCTXT* ctxt);
Availability: OpenStep
Description forthcoming.

### DPSlineto

void DPSlineto(GSCTXT* ctxt, CGFloat x, CGFloat y);
Availability: OpenStep
Description forthcoming.

### DPSmoveto

void DPSmoveto(GSCTXT* ctxt, CGFloat x, CGFloat y);
Availability: OpenStep
Description forthcoming.

### DPSnewpath

void DPSnewpath(GSCTXT* ctxt);
Availability: OpenStep
Description forthcoming.

### DPSpathbbox

void DPSpathbbox(GSCTXT* ctxt, CGFloat* llx, CGFloat* lly, CGFloat* urx, CGFloat* ury);
Availability: OpenStep
Description forthcoming.

### DPSrcurveto

void DPSrcurveto(GSCTXT* ctxt, CGFloat x1, CGFloat y1, CGFloat x2, CGFloat y2, CGFloat x3, CGFloat y3);
Availability: OpenStep
Description forthcoming.

### DPSrectclip

void DPSrectclip(GSCTXT* ctxt, CGFloat x, CGFloat y, CGFloat w, CGFloat h);
Availability: OpenStep
Description forthcoming.

### DPSrectfill

void DPSrectfill(GSCTXT* ctxt, CGFloat x, CGFloat y, CGFloat w, CGFloat h);
Availability: OpenStep
Description forthcoming.

### DPSrectstroke

void DPSrectstroke(GSCTXT* ctxt, CGFloat x, CGFloat y, CGFloat w, CGFloat h);
Availability: OpenStep
Description forthcoming.

### DPSreversepath

void DPSreversepath(GSCTXT* ctxt);
Availability: OpenStep
Description forthcoming.

### DPSrlineto

void DPSrlineto(GSCTXT* ctxt, CGFloat x, CGFloat y);
Availability: OpenStep
Description forthcoming.

### DPSrmoveto

void DPSrmoveto(GSCTXT* ctxt, CGFloat x, CGFloat y);
Availability: OpenStep
Description forthcoming.

### DPSrotate

void DPSrotate(GSCTXT* ctxt, CGFloat angle);
Availability: OpenStep
Description forthcoming.

### DPSscale

void DPSscale(GSCTXT* ctxt, CGFloat x, CGFloat y);
Availability: OpenStep
Description forthcoming.

### DPSsetalpha

void DPSsetalpha(GSCTXT* ctxt, CGFloat a);
Availability: OpenStep
Description forthcoming.

### DPSsetcmykcolor

void DPSsetcmykcolor(GSCTXT* ctxt, CGFloat c, CGFloat m, CGFloat y, CGFloat k);
Availability: OpenStep
Description forthcoming.

### DPSsetdash

void DPSsetdash(GSCTXT* ctxt, const CGFloat* pat, NSInteger size, CGFloat offset);
Availability: OpenStep
Description forthcoming.

### DPSsetflat

void DPSsetflat(GSCTXT* ctxt, CGFloat flatness);
Availability: OpenStep
Description forthcoming.

### DPSsetgray

void DPSsetgray(GSCTXT* ctxt, CGFloat gray);
Availability: OpenStep
Description forthcoming.

### DPSsetgstate

void DPSsetgstate(GSCTXT* ctxt, NSInteger gst);
Availability: OpenStep
Description forthcoming.

### DPSsethalftonephase

void DPSsethalftonephase(GSCTXT* ctxt, CGFloat x, CGFloat y);
Availability: OpenStep
Description forthcoming.

### DPSsethsbcolor

void DPSsethsbcolor(GSCTXT* ctxt, CGFloat h, CGFloat s, CGFloat b);
Availability: OpenStep
Description forthcoming.

### DPSsetlinecap

void DPSsetlinecap(GSCTXT* ctxt, int linecap);
Availability: OpenStep
Description forthcoming.

### DPSsetlinejoin

void DPSsetlinejoin(GSCTXT* ctxt, int linejoin);
Availability: OpenStep
Description forthcoming.

### DPSsetlinewidth

void DPSsetlinewidth(GSCTXT* ctxt, CGFloat width);
Availability: OpenStep
Description forthcoming.

### DPSsetmiterlimit

void DPSsetmiterlimit(GSCTXT* ctxt, CGFloat limit);
Availability: OpenStep
Description forthcoming.

### DPSsetoffset

void DPSsetoffset(GSCTXT* ctxt, short int x, short int y);
Availability: OpenStep
Description forthcoming.

### DPSsetrgbcolor

void DPSsetrgbcolor(GSCTXT* ctxt, CGFloat r, CGFloat g, CGFloat b);
Availability: OpenStep
Description forthcoming.

### DPSsetstrokeadjust

void DPSsetstrokeadjust(GSCTXT* ctxt, int b);
Availability: OpenStep
Description forthcoming.

### DPSshfill

void DPSshfill(GSCTXT* ctxt, NSDictionary* shaderDictionary);
Availability: OpenStep
Description forthcoming.

### DPSshow

void DPSshow(GSCTXT* ctxt, const char* s);
Availability: OpenStep
Description forthcoming.

### DPSstroke

void DPSstroke(GSCTXT* ctxt);
Availability: OpenStep
Description forthcoming.

### DPStranslate

void DPStranslate(GSCTXT* ctxt, CGFloat x, CGFloat y);
Availability: OpenStep
Description forthcoming.

### DPSwidthshow

void DPSwidthshow(GSCTXT* ctxt, CGFloat x, CGFloat y, int c, const char* s);
Availability: OpenStep
Description forthcoming.

### DPSxshow

void DPSxshow(GSCTXT* ctxt, const char* s, const CGFloat* numarray, int size);
Availability: OpenStep
Description forthcoming.

### DPSxyshow

void DPSxyshow(GSCTXT* ctxt, const char* s, const CGFloat* numarray, int size);
Availability: OpenStep
Description forthcoming.

### DPSyshow

void DPSyshow(GSCTXT* ctxt, const char* s, const CGFloat* numarray, int size);
Availability: OpenStep
Description forthcoming.

### GSConcatCTM

void GSConcatCTM(GSCTXT* ctxt, NSAffineTransform* ctm);
Availability: OpenStep
Description forthcoming.

### GSCurrentCTM

NSAffineTransform* GSCurrentCTM(GSCTXT* ctxt);
Availability: OpenStep
Description forthcoming.

### GSCurrentDevice

void GSCurrentDevice(GSCTXT* ctxt, void** device, int* x, int* y);
Availability: OpenStep
Description forthcoming.

### GSDefineGState

NSInteger GSDefineGState(GSCTXT* ctxt);
Availability: OpenStep
Description forthcoming.

### GSDrawImage

void GSDrawImage(GSCTXT* ctxt, NSRect rect, void* imageref);
Availability: OpenStep
Description forthcoming.

### GSGetTextCTM

NSAffineTransform* GSGetTextCTM(GSCTXT* ctxt);
Availability: OpenStep
Description forthcoming.

### GSGetTextPosition

NSPoint GSGetTextPosition(GSCTXT* ctxt);
Availability: OpenStep
Description forthcoming.

### GSRectClipList

void GSRectClipList(GSCTXT* ctxt, const NSRect* rects, int count);
Availability: OpenStep
Description forthcoming.

### GSRectFillList

void GSRectFillList(GSCTXT* ctxt, const NSRect* rects, int count);
Availability: OpenStep
Description forthcoming.

### GSReplaceGState

void GSReplaceGState(GSCTXT* ctxt, NSInteger gst);
Availability: OpenStep
Description forthcoming.

### GSSendBezierPath

void GSSendBezierPath(GSCTXT* ctxt, NSBezierPath* path);
Availability: OpenStep
Description forthcoming.

### GSSetCTM

void GSSetCTM(GSCTXT* ctxt, NSAffineTransform* ctm);
Availability: OpenStep
Description forthcoming.

### GSSetCharacterSpacing

void GSSetCharacterSpacing(GSCTXT* ctxt, CGFloat extra);
Availability: OpenStep
Description forthcoming.

### GSSetDevice

void GSSetDevice(GSCTXT* ctxt, void* device, int x, int y);
Availability: OpenStep
Description forthcoming.

### GSSetFillColor

void GSSetFillColor(GSCTXT* ctxt, CGFloat* values);
Availability: OpenStep
Description forthcoming.

### GSSetFillColorspace

void GSSetFillColorspace(GSCTXT* ctxt, NSDictionary* dict);
Availability: OpenStep
Description forthcoming.

### GSSetFont

void GSSetFont(GSCTXT* ctxt, NSFont* font);
Availability: OpenStep
Description forthcoming.

### GSSetFontSize

void GSSetFontSize(GSCTXT* ctxt, CGFloat size);
Availability: OpenStep
Description forthcoming.

### GSSetStrokeColor

void GSSetStrokeColor(GSCTXT* ctxt, CGFloat* values);
Availability: OpenStep
Description forthcoming.

### GSSetStrokeColorspace

void GSSetStrokeColorspace(GSCTXT* ctxt, NSDictionary* dict);
Availability: OpenStep
Description forthcoming.

### GSSetTextCTM

void GSSetTextCTM(GSCTXT* ctxt, NSAffineTransform* ctm);
Availability: OpenStep
Description forthcoming.

### GSSetTextDrawingMode

void GSSetTextDrawingMode(GSCTXT* ctxt, GSTextDrawingMode mode);
Availability: OpenStep
Description forthcoming.

### GSSetTextPosition

void GSSetTextPosition(GSCTXT* ctxt, NSPoint loc);
Availability: OpenStep
Description forthcoming.

### GSShowGlyphs

void GSShowGlyphs(GSCTXT* ctxt, const NSGlyph* glyphs, size_t length);
Availability: OpenStep
Description forthcoming.

### GSShowGlyphsWithAdvances

void GSShowGlyphsWithAdvances(GSCTXT* ctxt, const NSGlyph* glyphs, const NSSize* advances, size_t length);
Availability: OpenStep
Description forthcoming.

### GSShowText

void GSShowText(GSCTXT* ctxt, const char* string, size_t length);
Availability: OpenStep
Description forthcoming.

### GSUndefineGState

void GSUndefineGState(GSCTXT* ctxt, NSInteger gst);
Availability: OpenStep
Description forthcoming.

# NSAccessibilityConstants functions

### NSAccessibilityPostNotificationWithUserInfo

void NSAccessibilityPostNotificationWithUserInfo(id element, NSString* notification, NSDictionary* userInfo);
Availability: OpenStep
Description forthcoming.

# NSAccessibility functions

### NSAccessibilityActionDescription

NSString* NSAccessibilityActionDescription(NSString* action);
Availability: OpenStep
Description forthcoming.

### NSAccessibilityPostNotification

void NSAccessibilityPostNotification(id element, NSString* notification);
Availability: OpenStep
Description forthcoming.

### NSAccessibilityRoleDescription

NSString* NSAccessibilityRoleDescription(NSString* role, NSString* subrole);
Availability: OpenStep
Description forthcoming.

### NSAccessibilityRoleDescriptionForUIElement

NSString* NSAccessibilityRoleDescriptionForUIElement(id element);
Availability: OpenStep
Description forthcoming.

### NSAccessibilityUnignoredAncestor

id NSAccessibilityUnignoredAncestor(id element);
Availability: OpenStep
Description forthcoming.

### NSAccessibilityUnignoredChildren

NSArray* NSAccessibilityUnignoredChildren(NSArray* originalChildren);
Availability: OpenStep
Description forthcoming.

### NSAccessibilityUnignoredChildrenForOnlyChild

NSArray* NSAccessibilityUnignoredChildrenForOnlyChild(id originalChild);
Availability: OpenStep
Description forthcoming.

### NSAccessibilityUnignoredDescendant

id NSAccessibilityUnignoredDescendant(id element);
Availability: OpenStep
Description forthcoming.

# NSApplication functions

### GSContactApplication

id GSContactApplication(NSString* appName, NSString* port, NSDate* expire);
Availability: Not in OpenStep/MacOS-X

Establishes an NSConnection to the application listening at port (by convention usually the application name), launching appName if necessary. Returns the proxy to the remote application, or `nil` on failure.

The value of port specifies the name of the distributed objects service to which the connection is to be made. If this is `nil` it will be inferred from appName... by convention, applications use their own name (minus any path or extension) for this.

If appName is `nil` or cannot be launched, this attempts to locate any application in a standard location whose name matches port and launch that application.

The value of expire provides a timeout in case the application cannot be contacted promptly. If it is omitted, a thirty second timeout is used.

### NSApplicationMain

int NSApplicationMain(int argc, const char** argv);
Availability: OpenStep
Description forthcoming.

### NSPerformService

BOOL NSPerformService(NSString* serviceItem, NSPasteboard* pboard);
Availability: OpenStep

Given the name of a serviceItem, and some data in a pasteboard this function sends the data to the service provider (launching another application if necessary) and retrieves the result of the service in the pastebaord.

Returns `YES` on success, `NO` otherwise.

### NSRegisterServicesProvider

void NSRegisterServicesProvider(id provider, NSString* name);
Availability: OpenStep
Registers a services providing object using the specified port name.
Applications should not need to use this, as they can use the [NSApplication -setServicesProvider:] method instead. The NSApplication method will use the name of the application rather than an other port name.

### NSSetShowsServicesMenuItem

int NSSetShowsServicesMenuItem(NSString* name, BOOL enabled);
Availability: OpenStep

Controls whether the item name should be included in the services menu.

If enabled is `YES` then the services menu for each application will include the named item, if enabled is `NO` then the service will not be shown in application services menus.

Returns 0 if the setting is successfuly changed. Non-zero otherwise.

### NSShowSystemInfoPanel

void NSShowSystemInfoPanel(NSDictionary* options);
Availability: OpenStep
Description forthcoming.

### NSShowsServicesMenuItem

BOOL NSShowsServicesMenuItem(NSString* name);
Availability: OpenStep
Returns a flag indicating whether the named service is supposed to be displayed in application services menus.

### NSUnRegisterServicesProvider

void NSUnRegisterServicesProvider(NSString* name);
Availability: OpenStep
Description forthcoming.

### NSUpdateDynamicServices

void NSUpdateDynamicServices();
Availability: OpenStep
A services providing application may use this to update the list of services it provides.
In order to update the services advertised, the application must create a .service bundle and place it in `~/Library/Services` before invoking this function.

# NSDataLinkManager functions

### NSFrameLinkRect

void NSFrameLinkRect(NSRect aRect, BOOL isDestination);
Availability: OpenStep
Description forthcoming.

### NSLinkFrameThickness

float NSLinkFrameThickness();
Availability: OpenStep
Description forthcoming.

# NSEvent functions

### NSEventMaskFromType

NSEventMask NSEventMaskFromType(NSEventType type);
Availability: OpenStep
Description forthcoming.

# NSFont functions

### NSConvertGlyphsToPackedGlyphs

int NSConvertGlyphsToPackedGlyphs(NSGlyph* glBuf, int count, NSMultibyteGlyphPacking packing, char* packedGlyphs);
Availability: MacOS-X 10.0.0
Description forthcoming.

# NSGraphicsContext functions

### GSCurrentContext

NSGraphicsContext* GSCurrentContext();
Availability: OpenStep
Description forthcoming.

# NSGraphics functions

### GSAllWindows

NSArray* GSAllWindows();
Availability: Not in OpenStep/MacOS-X
Description forthcoming.

### GSOrderedWindows

NSArray* GSOrderedWindows();
Availability: Not in OpenStep/MacOS-X
Description forthcoming.

### GSWSetViewIsFlipped

void GSWSetViewIsFlipped(NSGraphicsContext* ctxt, BOOL flipped);
Availability: OpenStep
Description forthcoming.

### GSWViewIsFlipped

BOOL GSWViewIsFlipped(NSGraphicsContext* ctxt);
Availability: OpenStep
Description forthcoming.

### GSWindowWithNumber

NSWindow* GSWindowWithNumber(NSInteger num);
Availability: Not in OpenStep/MacOS-X
Description forthcoming.

### NSAvailableWindowDepths

const NSWindowDepth* NSAvailableWindowDepths();
Availability: OpenStep
Description forthcoming.

### NSBeep

void NSBeep();
Availability: OpenStep
Description forthcoming.

### NSBestDepth

NSWindowDepth NSBestDepth(NSString* colorSpace, NSInteger bitsPerSample, NSInteger bitsPerPixel, BOOL planar, BOOL* exactMatch);
Availability: OpenStep
Description forthcoming.

### NSBitsPerPixelFromDepth

NSInteger NSBitsPerPixelFromDepth(NSWindowDepth depth);
Availability: OpenStep
Description forthcoming.

### NSBitsPerSampleFromDepth

NSInteger NSBitsPerSampleFromDepth(NSWindowDepth depth);
Availability: OpenStep
Description forthcoming.

### NSColorSpaceFromDepth

NSString* NSColorSpaceFromDepth(NSWindowDepth depth);
Availability: OpenStep
Description forthcoming.

### NSConvertGlobalToWindowNumber

void NSConvertGlobalToWindowNumber(int globalNum, unsigned int* winNum);
Availability: MacOS-X 10.0.0
Description forthcoming.

### NSConvertWindowNumberToGlobal

void NSConvertWindowNumberToGlobal(int winNum, unsigned int* globalNum);
Availability: MacOS-X 10.0.0
Description forthcoming.

### NSCopyBitmapFromGState

void NSCopyBitmapFromGState(int srcGstate, NSRect srcRect, NSRect destRect);
Availability: OpenStep
Description forthcoming.

### NSCopyBits

void NSCopyBits(NSInteger srcGstate, NSRect srcRect, NSPoint destPoint);
Availability: OpenStep
Description forthcoming.

### NSCountWindows

void NSCountWindows(NSInteger* count);
Availability: OpenStep
Description forthcoming.

### NSCountWindowsForContext

void NSCountWindowsForContext(NSInteger context, NSInteger* count);
Availability: MacOS-X 10.0.0
Description forthcoming.

### NSDottedFrameRect

void NSDottedFrameRect(NSRect aRect);
Availability: OpenStep
Draws a rectangle along the inside of aRect. The rectangle will be black, dotted (using 1 point dashes), and will have a line width of 1 point.

### NSDrawBezel

void NSDrawBezel(const NSRect aRect, const NSRect clipRect);
Availability: OpenStep
Description forthcoming.

### NSDrawBitmap

void NSDrawBitmap(NSRect rect, NSInteger pixelsWide, NSInteger pixelsHigh, NSInteger bitsPerSample, NSInteger samplesPerPixel, NSInteger bitsPerPixel, NSInteger bytesPerRow, BOOL isPlanar, BOOL hasAlpha, NSString* colorSpaceName, const unsigned char* const[] data);
Availability: OpenStep
Description forthcoming.

### NSDrawButton

void NSDrawButton(const NSRect aRect, const NSRect clipRect);
Availability: OpenStep
Description forthcoming.

### NSDrawColorTiledRects

NSRect NSDrawColorTiledRects(NSRect boundsRect, NSRect clipRect, const NSRectEdge* sides, NSColor** colors, NSInteger count);
Availability: MacOS-X 10.0.0
Description forthcoming.

### NSDrawDarkBezel

void NSDrawDarkBezel(NSRect aRect, NSRect clipRect);
Availability: MacOS-X 10.0.0
Description forthcoming.

### NSDrawFramePhoto

void NSDrawFramePhoto(const NSRect aRect, const NSRect clipRect);
Availability: OpenStep
Description forthcoming.

### NSDrawGrayBezel

void NSDrawGrayBezel(const NSRect aRect, const NSRect clipRect);
Availability: OpenStep
Description forthcoming.

### NSDrawGroove

void NSDrawGroove(const NSRect aRect, const NSRect clipRect);
Availability: OpenStep
Description forthcoming.

### NSDrawLightBezel

void NSDrawLightBezel(NSRect aRect, NSRect clipRect);
Availability: MacOS-X 10.0.0
Description forthcoming.

### NSDrawNinePartImage

void NSDrawNinePartImage(NSRect aRect, NSImage* topLeft, NSImage* topMiddle, NSImage* topRight, NSImage* centerLeft, NSImage* centerMiddle, NSImage* centerRight, NSImage* bottomLeft, NSImage* bottomMiddle, NSImage* bottomRight, NSCompositingOperation op, CGFloat fraction, BOOL flipped);
Availability: OpenStep
Description forthcoming.

### NSDrawThreePartImage

void NSDrawThreePartImage(NSRect aRect, NSImage* start, NSImage* middle, NSImage* end, BOOL isVertical, NSCompositingOperation op, CGFloat fraction, BOOL flipped);
Availability: OpenStep
Description forthcoming.

### NSDrawTiledRects

NSRect NSDrawTiledRects(NSRect aRect, const NSRect clipRect, const NSRectEdge* sides, const CGFloat* grays, NSInteger count);
Availability: OpenStep
Draws a set of edges of aRect. The sides array should contain count edges, and grays the corresponding color. Edges are drawn in the order given in the array, and subsequent edges are drawn inside previous edges (thus, they will never overlap).

### NSDrawWhiteBezel

void NSDrawWhiteBezel(const NSRect aRect, const NSRect clipRect);
Availability: OpenStep
Description forthcoming.

### NSDrawWindowBackground

void NSDrawWindowBackground(NSRect aRect);
Availability: MacOS-X 10.0.0
Description forthcoming.

### NSEraseRect

void NSEraseRect(NSRect aRect);
Availability: OpenStep
Description forthcoming.

### NSFrameRect

void NSFrameRect(const NSRect aRect);
Availability: OpenStep

Draws a rectangle using the current color along the inside of aRect. NSFrameRectWithWidth uses the frameWidth as the line width, while NSFrameRect always uses 1 point wide lines. The functions do not change the line width of the current graphics context.

'Inside' here means that no part of the stroked rectangle will extend outside the given rectangle.

### NSFrameRectWithWidth

void NSFrameRectWithWidth(const NSRect aRect, CGFloat frameWidth);
Availability: OpenStep
Description forthcoming.

### NSFrameRectWithWidthUsingOperation

void NSFrameRectWithWidthUsingOperation(const NSRect aRect, CGFloat frameWidth, NSCompositingOperation op);
Availability: OpenStep
Description forthcoming.

### NSGetWindowServerMemory

int NSGetWindowServerMemory(int context, int* virtualMemory, int* windowBackingMemory, NSString** windowDumpStream);
Availability: MacOS-X 10.0.0
Description forthcoming.

### NSHighlightRect

void NSHighlightRect(NSRect aRect);
Availability: OpenStep
Description forthcoming.

### NSNumberOfColorComponents

NSInteger NSNumberOfColorComponents(NSString* colorSpaceName);
Availability: OpenStep
Description forthcoming.

### NSPlanarFromDepth

BOOL NSPlanarFromDepth(NSWindowDepth depth);
Availability: OpenStep
Description forthcoming.

### NSReadPixel

NSColor* NSReadPixel(NSPoint location);
Availability: OpenStep
Description forthcoming.

### NSRectClip

void NSRectClip(NSRect aRect);
Availability: OpenStep
Description forthcoming.

### NSRectClipList

void NSRectClipList(const NSRect* rects, NSInteger count);
Availability: OpenStep
Description forthcoming.

### NSRectFill

void NSRectFill(NSRect aRect);
Availability: OpenStep
Description forthcoming.

### NSRectFillList

void NSRectFillList(const NSRect* rects, NSInteger count);
Availability: OpenStep
Description forthcoming.

### NSRectFillListUsingOperation

void NSRectFillListUsingOperation(const NSRect* rects, NSInteger count, NSCompositingOperation op);
Availability: MacOS-X 10.0.0
Description forthcoming.

### NSRectFillListWithColors

void NSRectFillListWithColors(const NSRect* rects, NSColor** colors, NSInteger count);
Availability: MacOS-X 10.0.0
Description forthcoming.

### NSRectFillListWithColorsUsingOperation

void NSRectFillListWithColorsUsingOperation(const NSRect* rects, NSColor** colors, NSInteger num, NSCompositingOperation op);
Availability: MacOS-X 10.0.0
Description forthcoming.

### NSRectFillListWithGrays

void NSRectFillListWithGrays(const NSRect* rects, const CGFloat* grays, NSInteger count);
Availability: OpenStep
Description forthcoming.

### NSRectFillUsingOperation

void NSRectFillUsingOperation(NSRect aRect, NSCompositingOperation op);
Availability: MacOS-X 10.0.0
Description forthcoming.

### NSSetFocusRingStyle

void NSSetFocusRingStyle(NSFocusRingPlacement placement);
Availability: MacOS-X 10.1.0
Description forthcoming.

### NSWindowList

void NSWindowList(NSInteger size, NSInteger[] list);
Availability: OpenStep
Description forthcoming.

### NSWindowListForContext

void NSWindowListForContext(NSInteger context, NSInteger size, NSInteger** list);
Availability: MacOS-X 10.0.0
Description forthcoming.

# NSInterfaceStyle functions

### NSInterfaceStyleForKey

NSInterfaceStyle NSInterfaceStyleForKey(NSString* key, NSResponder* responder);
Availability: MacOS-X 10.0.0

Returns the interface style the responder should use, which affects how a UI element (such as a button or menu) is displayed. If the responder has an interface style set, the key is ignored and the responder's interface style is returned. Otherwise the style associated with the key is returned (if set), otherwise the default style is returned. In no case will the style `NSNoInterfaceStyle` be returned.

Styles can be set using the user defaults system. Currently available styles are

- NSNextStepInterfaceStyle
- NSMacintoshInterfaceStyle
- NSWindows95InterfaceStyle
- GSWindowMakerInterfaceStyle

You can set a default style for all UI elements using the `NSInterfaceStyleDefault` key:

       defaults write NSGlobalDomain NSInterfaceStyleDefault GSWindowMakerInterfaceStyle

# NSKeyValueBinding functions

### NSIsControllerMarker

BOOL NSIsControllerMarker(id object);
Availability: MacOS-X 10.4.0
Description forthcoming.

# NSPanel functions

### GSRunExceptionPanel

NSInteger GSRunExceptionPanel(NSString* title, NSException* exception, NSString* defaultButton, NSString* alternateButton, NSString* otherButton);
Availability: MacOS-X 10.0.0
Description forthcoming.

### NSBeginAlertSheet

void NSBeginAlertSheet(NSString* title, NSString* defaultButton, NSString* alternateButton, NSString* otherButton, NSWindow* docWindow, id modalDelegate, SEL willEndSelector, SEL didEndSelector, void* contextInfo, NSString* msg,...);
Availability: MacOS-X 10.0.0
Description forthcoming.

### NSBeginCriticalAlertSheet

void NSBeginCriticalAlertSheet(NSString* title, NSString* defaultButton, NSString* alternateButton, NSString* otherButton, NSWindow* docWindow, id modalDelegate, SEL willEndSelector, SEL didEndSelector, void* contextInfo, NSString* msg,...);
Availability: MacOS-X 10.0.0
Description forthcoming.

### NSBeginInformationalAlertSheet

void NSBeginInformationalAlertSheet(NSString* title, NSString* defaultButton, NSString* alternateButton, NSString* otherButton, NSWindow* docWindow, id modalDelegate, SEL willEndSelector, SEL didEndSelector, void* contextInfo, NSString* msg,...);
Availability: MacOS-X 10.0.0
Description forthcoming.

### NSGetAlertPanel

id NSGetAlertPanel(NSString* title, NSString* msg, NSString* defaultButton, NSString* alternateButton, NSString* otherButton,...);
Availability: OpenStep
Description forthcoming.

### NSGetCriticalAlertPanel

id NSGetCriticalAlertPanel(NSString* title, NSString* msg, NSString* defaultButton, NSString* alternateButton, NSString* otherButton,...);
Availability: MacOS-X 10.0.0
Description forthcoming.

### NSGetInformationalAlertPanel

id NSGetInformationalAlertPanel(NSString* title, NSString* msg, NSString* defaultButton, NSString* alternateButton, NSString* otherButton,...);
Availability: MacOS-X 10.0.0
Description forthcoming.

### NSReleaseAlertPanel

void NSReleaseAlertPanel(id panel);
Availability: OpenStep
Description forthcoming.

### NSRunAlertPanel

NSInteger NSRunAlertPanel(NSString* title, NSString* msg, NSString* defaultButton, NSString* alternateButton, NSString* otherButton,...);
Availability: OpenStep
Description forthcoming.

### NSRunCriticalAlertPanel

NSInteger NSRunCriticalAlertPanel(NSString* title, NSString* msg, NSString* defaultButton, NSString* alternateButton, NSString* otherButton,...);
Availability: MacOS-X 10.0.0
Description forthcoming.

### NSRunInformationalAlertPanel

NSInteger NSRunInformationalAlertPanel(NSString* title, NSString* msg, NSString* defaultButton, NSString* alternateButton, NSString* otherButton,...);
Availability: MacOS-X 10.0.0
Description forthcoming.

### NSRunLocalizedAlertPanel

NSInteger NSRunLocalizedAlertPanel(NSString* table, NSString* title, NSString* msg, NSString* defaultButton, NSString* alternateButton, NSString* otherButton,...);
Availability: Not in OpenStep/MacOS-X
Description forthcoming.

# NSPasteboard functions

### NSCreateFileContentsPboardType

NSString* NSCreateFileContentsPboardType(NSString* fileType);
Availability: OpenStep

Returns a standardised pasteboard type for file contents, formed from the supplied file extension.

Data written to a pasteboard with a file contents type should be written using the [NSPasteboard -writeFileContents:] or [NSPasteboard -writeFileWrapper:] method. Similarly, the data should be read using the [NSPasteboard -readFileContentsType:toFile:] or [NSPasteboard -readFileWrapper] method.

### NSCreateFilenamePboardType

NSString* NSCreateFilenamePboardType(NSString* fileType);
Availability: OpenStep

Returns a standardised pasteboard type for file names, formed from the supplied file extension.

Data written to a pasteboard with a file names type should be a single name written using [NSPasteboard -setString:forType:] or an array of strings written using [NSPasteboard -setPropertyList:forType:] .
Similarly, the data should be read using the [NSPasteboard -stringForType:] or [NSPasteboard -propertyListForType:] method.

See also the NSGetFileType() and NSGetFileTypes() functions.

### NSGetFileType

NSString* NSGetFileType(NSString* pboardType);
Availability: OpenStep
Returns the file type (fileType extension) corresponding to the pasteboard type given.
This is a counterpart to the NSCreateFilenamePboardType() function.

### NSGetFileTypes

NSArray* NSGetFileTypes(NSArray* pboardTypes);
Availability: OpenStep
Returns the file types (filename extensions) corresponding to the pasteboard types given.

# NSSound functions

### PlaybackDeviceIdentifiers

NSArray* PlaybackDeviceIdentifiers();
Availability: OpenStep
Function used to retrieve all available playback devices.

This function is the only way to retrieve possible playback device identifiers understood by [NSSound -setPlaybackDeviceIdentifier:].

# NSView functions

### GSGetDragTypes

NSArray* GSGetDragTypes(NSView* aView);
Availability: OpenStep
Description forthcoming.

# PSOperators functions

### PSPrintf

void PSPrintf(const char* fmt, va_list args);
Availability: OpenStep
Description forthcoming.

### PSWait

void PSWait();
Availability: OpenStep
Description forthcoming.

### PSWriteData

void PSWriteData(const char* buf, unsigned int count);
Availability: OpenStep
Description forthcoming.

### PSarc

void PSarc(CGFloat x, CGFloat y, CGFloat r, CGFloat angle1, CGFloat angle2);
Availability: OpenStep
Description forthcoming.

### PSarcn

void PSarcn(CGFloat x, CGFloat y, CGFloat r, CGFloat angle1, CGFloat angle2);
Availability: OpenStep
Description forthcoming.

### PSarct

void PSarct(CGFloat x1, CGFloat y1, CGFloat x2, CGFloat y2, CGFloat r);
Availability: OpenStep
Description forthcoming.

### PSashow

void PSashow(CGFloat x, CGFloat y, const char* s);
Availability: OpenStep
Description forthcoming.

### PSawidthshow

void PSawidthshow(CGFloat cx, CGFloat cy, int c, CGFloat ax, CGFloat ay, const char* s);
Availability: OpenStep
Description forthcoming.

### PScharpath

void PScharpath(const char* s, int b);
Availability: OpenStep
Description forthcoming.

### PSclip

void PSclip();
Availability: OpenStep
Description forthcoming.

### PSclosepath

void PSclosepath();
Availability: OpenStep
Description forthcoming.

### PScomposite

void PScomposite(CGFloat x, CGFloat y, CGFloat w, CGFloat h, NSInteger gstateNum, CGFloat dx, CGFloat dy, NSCompositingOperation op);
Availability: OpenStep
Description forthcoming.

### PScompositerect

void PScompositerect(CGFloat x, CGFloat y, CGFloat w, CGFloat h, NSCompositingOperation op);
Availability: OpenStep
Description forthcoming.

### PSconcat

void PSconcat(const CGFloat* m);
Availability: OpenStep
Description forthcoming.

### PScurrentalpha

void PScurrentalpha(CGFloat* a);
Availability: OpenStep
Description forthcoming.

### PScurrentcmykcolor

void PScurrentcmykcolor(CGFloat* c, CGFloat* m, CGFloat* y, CGFloat* k);
Availability: OpenStep
Description forthcoming.

### PScurrentflat

void PScurrentflat(CGFloat* flatness);
Availability: OpenStep
Description forthcoming.

### PScurrentgray

void PScurrentgray(CGFloat* gray);
Availability: OpenStep
Description forthcoming.

### PScurrenthsbcolor

void PScurrenthsbcolor(CGFloat* h, CGFloat* s, CGFloat* b);
Availability: OpenStep
Description forthcoming.

### PScurrentlinecap

void PScurrentlinecap(int* linecap);
Availability: OpenStep
Description forthcoming.

### PScurrentlinejoin

void PScurrentlinejoin(int* linejoin);
Availability: OpenStep
Description forthcoming.

### PScurrentlinewidth

void PScurrentlinewidth(CGFloat* width);
Availability: OpenStep
Description forthcoming.

### PScurrentmiterlimit

void PScurrentmiterlimit(CGFloat* limit);
Availability: OpenStep
Description forthcoming.

### PScurrentpoint

void PScurrentpoint(CGFloat* x, CGFloat* y);
Availability: OpenStep
Description forthcoming.

### PScurrentrgbcolor

void PScurrentrgbcolor(CGFloat* r, CGFloat* g, CGFloat* b);
Availability: OpenStep
Description forthcoming.

### PScurrentstrokeadjust

void PScurrentstrokeadjust(int* b);
Availability: OpenStep
Description forthcoming.

### PScurveto

void PScurveto(CGFloat x1, CGFloat y1, CGFloat x2, CGFloat y2, CGFloat x3, CGFloat y3);
Availability: OpenStep
Description forthcoming.

### PSdissolve

void PSdissolve(CGFloat x, CGFloat y, CGFloat w, CGFloat h, NSInteger gstateNum, CGFloat dx, CGFloat dy, CGFloat delta);
Availability: OpenStep
Description forthcoming.

### PSeoclip

void PSeoclip();
Availability: OpenStep
Description forthcoming.

### PSeofill

void PSeofill();
Availability: OpenStep
Description forthcoming.

### PSfill

void PSfill();
Availability: OpenStep
Description forthcoming.

### PSflattenpath

void PSflattenpath();
Availability: OpenStep
Description forthcoming.

### PSgrestore

void PSgrestore();
Availability: OpenStep
Description forthcoming.

### PSgsave

void PSgsave();
Availability: OpenStep
Description forthcoming.

### PSinitclip

void PSinitclip();
Availability: OpenStep
Description forthcoming.

### PSinitgraphics

void PSinitgraphics();
Availability: OpenStep
Description forthcoming.

### PSinitmatrix

void PSinitmatrix();
Availability: OpenStep
Description forthcoming.

### PSlineto

void PSlineto(CGFloat x, CGFloat y);
Availability: OpenStep
Description forthcoming.

### PSmoveto

void PSmoveto(CGFloat x, CGFloat y);
Availability: OpenStep
Description forthcoming.

### PSnewpath

void PSnewpath();
Availability: OpenStep
Description forthcoming.

### PSpathbbox

void PSpathbbox(CGFloat* llx, CGFloat* lly, CGFloat* urx, CGFloat* ury);
Availability: OpenStep
Description forthcoming.

### PSrcurveto

void PSrcurveto(CGFloat x1, CGFloat y1, CGFloat x2, CGFloat y2, CGFloat x3, CGFloat y3);
Availability: OpenStep
Description forthcoming.

### PSrectclip

void PSrectclip(CGFloat x, CGFloat y, CGFloat w, CGFloat h);
Availability: OpenStep
Description forthcoming.

### PSrectfill

void PSrectfill(CGFloat x, CGFloat y, CGFloat w, CGFloat h);
Availability: OpenStep
Description forthcoming.

### PSrectstroke

void PSrectstroke(CGFloat x, CGFloat y, CGFloat w, CGFloat h);
Availability: OpenStep
Description forthcoming.

### PSreversepath

void PSreversepath();
Availability: OpenStep
Description forthcoming.

### PSrlineto

void PSrlineto(CGFloat x, CGFloat y);
Availability: OpenStep
Description forthcoming.

### PSrmoveto

void PSrmoveto(CGFloat x, CGFloat y);
Availability: OpenStep
Description forthcoming.

### PSrotate

void PSrotate(CGFloat angle);
Availability: OpenStep
Description forthcoming.

### PSscale

void PSscale(CGFloat x, CGFloat y);
Availability: OpenStep
Description forthcoming.

### PSsetalpha

void PSsetalpha(CGFloat a);
Availability: OpenStep
Description forthcoming.

### PSsetcmykcolor

void PSsetcmykcolor(CGFloat c, CGFloat m, CGFloat y, CGFloat k);
Availability: OpenStep
Description forthcoming.

### PSsetdash

void PSsetdash(const CGFloat* pat, NSInteger size, CGFloat offset);
Availability: OpenStep
Description forthcoming.

### PSsetflat

void PSsetflat(CGFloat flatness);
Availability: OpenStep
Description forthcoming.

### PSsetgray

void PSsetgray(CGFloat gray);
Availability: OpenStep
Description forthcoming.

### PSsetgstate

void PSsetgstate(NSInteger gst);
Availability: OpenStep
Description forthcoming.

### PSsethalftonephase

void PSsethalftonephase(CGFloat x, CGFloat y);
Availability: OpenStep
Description forthcoming.

### PSsethsbcolor

void PSsethsbcolor(CGFloat h, CGFloat s, CGFloat b);
Availability: OpenStep
Description forthcoming.

### PSsetlinecap

void PSsetlinecap(int linecap);
Availability: OpenStep
Description forthcoming.

### PSsetlinejoin

void PSsetlinejoin(int linejoin);
Availability: OpenStep
Description forthcoming.

### PSsetlinewidth

void PSsetlinewidth(CGFloat width);
Availability: OpenStep
Description forthcoming.

### PSsetmiterlimit

void PSsetmiterlimit(CGFloat limit);
Availability: OpenStep
Description forthcoming.

### PSsetrgbcolor

void PSsetrgbcolor(CGFloat r, CGFloat g, CGFloat b);
Availability: OpenStep
Description forthcoming.

### PSsetstrokeadjust

void PSsetstrokeadjust(int b);
Availability: OpenStep
Description forthcoming.

### PSshfill

void PSshfill(NSDictionary* shaderDictionary);
Availability: OpenStep
Description forthcoming.

### PSshow

void PSshow(const char* s);
Availability: OpenStep
Description forthcoming.

### PSstroke

void PSstroke();
Availability: OpenStep
Description forthcoming.

### PStranslate

void PStranslate(CGFloat x, CGFloat y);
Availability: OpenStep
Description forthcoming.

### PSwidthshow

void PSwidthshow(CGFloat x, CGFloat y, int c, const char* s);
Availability: OpenStep
Description forthcoming.

### PSxshow

void PSxshow(const char* s, const CGFloat* numarray, int size);
Availability: OpenStep
Description forthcoming.

### PSxyshow

void PSxyshow(const char* s, const CGFloat* numarray, int size);
Availability: OpenStep
Description forthcoming.

### PSyshow

void PSyshow(const char* s, const CGFloat* numarray, int size);
Availability: OpenStep
Description forthcoming.

Up