diff --git a/ChangeLog b/ChangeLog index a6d910a15..1c968d3ef 100644 --- a/ChangeLog +++ b/ChangeLog @@ -6,6 +6,37 @@ * Source/NSTextView.m Made [updateRuler] save against missing rulers. +2002-04-02 Adam Fedor + + * Documentation/gsdoc/DefaultsSummary.gsdoc: Update. + * Documentation/gsdoc/Gui.gsdoc: Idem. + * Headers/gnustep/gui/NSAffineTransform.h: Tidy for autogsdoc. + * Headers/gnustep/gui/NSButtonCell.h: Idem. + * Headers/gnustep/gui/NSCell.h: Idem. + * Headers/gnustep/gui/NSClipView.h: Idem. + * Headers/gnustep/gui/NSFont.h: Idem. + * Headers/gnustep/gui/NSFontManager.h: Idem. + * Headers/gnustep/gui/NSOutlineView.h: Idem. + * Headers/gnustep/gui/NSRulerView.h: Idem. + * Headers/gnustep/gui/NSSavePanel.h: Idem. + * Source/GSHbox.m: Idem. + * Source/GSVbox.m: Idem. + * Source/NSCachedImageRep.m: Idem. + * Source/NSCell.m: Idem. + * Source/NSClipView.m: Idem. + * Source/NSDocument.m: Idem. + * Source/NSFont.m: Idem. + * Source/NSFontManager.m: Idem. + * Source/NSFontPanel.m: Idem. + * Source/NSFormCell.m: Idem. + * Source/NSGraphicsContext.m: Idem. + * Source/NSHelpManager.m: Idem. + * Source/NSImage.m: Idem. + * Source/NSPanel.m: Idem. + * Source/NSRulerView.m: Idem. + * Source/NSStepperCell.m: Idem. + * Source/NSText.m: Idem. + 2002-04-02 Adam Fedor * Source/NSGraphicsContext.m (-GSDefineGState): Document new diff --git a/Documentation/gsdoc/DefaultsSummary.gsdoc b/Documentation/gsdoc/DefaultsSummary.gsdoc index e0a41363f..eba439a78 100644 --- a/Documentation/gsdoc/DefaultsSummary.gsdoc +++ b/Documentation/gsdoc/DefaultsSummary.gsdoc @@ -29,8 +29,9 @@

A string containing the name of the backend bundle to use for display specific GUI handling. The default is - "libgnustep-xgps". Currently the only other choice is - "libgnustep-xdps". + "libgnustep-back". Custom backends can be created during compilation + of the libraries. Any other choice for a name is thus system + specific.

GSBrowserCellFontify @@ -185,7 +186,7 @@
Backend Defaults

- Below is a list of defaults used to control the xlib-based + Below is a list of defaults used to control the x11-based backend. These defaults generally control system specific display and user interaction options which may not be available on all systems. diff --git a/Documentation/gsdoc/DefaultsSummary.html b/Documentation/gsdoc/DefaultsSummary.html index cd55cd460..251fb96b7 100644 --- a/Documentation/gsdoc/DefaultsSummary.html +++ b/Documentation/gsdoc/DefaultsSummary.html @@ -29,8 +29,9 @@ A string containing the name of the backend bundle to use for display specific GUI handling. The default is - "libgnustep-xgps". Currently the only other choice is - "libgnustep-xdps". + "libgnustep-back". Custom backends can be created during compilation + of the libraries. Any other choice for a name is thus system + specific.

@@ -207,10 +208,10 @@ -

XGPS Backend Defaults

+

Backend Defaults

- Below is a list of defaults used to control the gnustep-xgps + Below is a list of defaults used to control the x11-based backend. These defaults generally control system specific display and user interaction options which may not be available on all systems. @@ -240,14 +241,14 @@

-
GSBorderedBorderlessWindows +
GSAppOwnsMiniwindow

- A boolean value which defaults to NO. Some Window - Managers and/or X servers put a border around windows that are - supposed to be borderless. Set this to YES if you - have odd problems of menus/windows moving when you click on them. + A boolean value which defaults to YES. Some window + managers control the miniaturized versions of windows themselves. + Set this default to NO to let the window manager + have it's way, otherwise, GNUstep will create a miniwindow.

diff --git a/Documentation/gsdoc/GNUmakefile b/Documentation/gsdoc/GNUmakefile index 4ccd1cef1..24c8d2518 100644 --- a/Documentation/gsdoc/GNUmakefile +++ b/Documentation/gsdoc/GNUmakefile @@ -36,13 +36,11 @@ Gui_GSDOC_FILES = Gui.gsdoc \ DefaultsSummary.gsdoc \ NSBundleAdditions.gsdoc \ NSCoderAdditions.gsdoc \ - NSMenuItem.gsdoc \ NSMutableAttributedStringAdditions.gsdoc \ NSMutableParagraphStyle.gsdoc \ NSPICTImageRep.gsdoc \ NSSecureTextFieldCell.gsdoc \ NSStringAdditions.gsdoc \ - NSTableColumn.gsdoc \ NSTextAttachment.gsdoc \ NSTextAttachmentCell.gsdoc \ NSTextTab.gsdoc @@ -94,6 +92,7 @@ Gui_AUTOGSDOC_FILES = \ NSLayoutManager.gsdoc \ NSMatrix.gsdoc \ NSMenu.gsdoc \ + NSMenuItem.gsdoc \ NSMenuItemCell.gsdoc \ NSMenuView.gsdoc \ NSOpenPanel.gsdoc \ @@ -123,6 +122,7 @@ Gui_AUTOGSDOC_FILES = \ NSSplitView.gsdoc \ NSTabView.gsdoc \ NSTabViewItem.gsdoc \ + NSTableColumn.gsdoc \ NSTableHeaderCell.gsdoc \ NSTableHeaderView.gsdoc \ NSTableView.gsdoc \ diff --git a/Documentation/gsdoc/GSDisplayServer.gsdoc b/Documentation/gsdoc/GSDisplayServer.gsdoc new file mode 100644 index 000000000..31ee91fab --- /dev/null +++ b/Documentation/gsdoc/GSDisplayServer.gsdoc @@ -0,0 +1,853 @@ + + + + + GSDisplayServer + + + fedor@gnu.org + + + Abstract display server class. + 2002 Free Software Foundation, Inc. + + + + + GSDisplayServer +

+ This is an abstract class which provides a framework for a + device independant window server. A window server + handles the very basic control of the computer display + and input. This includes basic window creation and + handling, event handling, cursors, and providing + miscellaneous information about the display. +

+

+ Typically a backend library will provide a concrete + subclass which implements the device specific methods + described below. +

+

+ In almost all cases, you should not call these methods + directly in an application. You should use the + equivalent methods available elsewhere in the + library (e.g. NSWindow, NSScreen, etc). +

+ + AppKit/GSDisplayServer.h + + + + addDragTypes: + types + toWindow: + win + + Convienience method that calls + + -addDragTypes:toWindow: + + using the server that controls win. + + + + + + + dragTypesForWindow: + win + + Convienience method that calls + + -dragTypesForWindow: + + using the server that controls win. + + + + + + + removeDragTypes: + types + fromWindow: + win + + Convienience method that calls + + -removeDragTypes:fromWindow: + + using the server that controls win. + + + + + + + serverWithAttributes: + attributes + +

+ Create a window server with attributes, + which contains key/value pairs which describe the + specifics of how the window server is to be + initialized. Typically these values are + specific to the concrete implementation. + Currently there are no standard set of + attributes defined for GSDisplayServer. +

+

+ In almost all applications one would only create a + single instance of a window server. Although it is + possible, it is unlikely that you would need + more than one window server (and you would have to + be very careful how you handled window creation and + events in this case). +

+
+ + + +
+ + setCurrentServer: + server + + Sets the current server that will be + handling windows, events, etc. This method must be + called after a window server is created + in order to make it available to the rest of the GUI + library + + + + + + + setDefaultServerClass: + aClass + + Set the concrete subclass that will provide the device + dependant implementation. + + + + + + + addDragTypes: + types + toWindow: + win + + Add (increment count by 1) each drag type to those + registered for the window. If this results in a + change to the types registered in the + counted set, return YES, otherwise + return NO. Subclasses should override + this method, call 'super' and take appropriate action + if the method returns 'YES'. + + + + + + + attributes + + Return information used to create the server + + + + + + + availableDepthsForScreen: + screen + + Returns a null terminated list of possible window + depths for screen. + + + + + + + boundsForScreen: + screen + + Retuns the bounds, in pixels, for the indicated + screen of the display. + + + + + + + closeServer + + Causes the server to disconnect from the display. If + the receiver is the current server, it removes itself + and sets the current server to nil. + Sending any more messages to the receiver after + this is likely to cause severe problems and probably + crash the application. + + + + + + + dragInfo + + Returns an instance of a class which implements the + NSDraggingInfo protocol. + + + + + + + dragTypesForWindow: + win + + Returns the drag types set for the window + win. + + + + + + + initWithAttributes: + attributes + + Initializes the server. This typically causes + the receiver to connect to the display (e.g. + XOpenDisplay() on an X-Windows server). + + + + + + + removeDragTypes: + types + fromWindow: + win + + Remove (decrement count by 1) each drag type from + those registered for the window. If this results in a + change to the types registered in the + counted set, return YES, otherwise + return NO. If given 'nil' as the array + of types, remove ALL. Subclasses should + override this method, call 'super' and take + appropriate action if the method returns 'YES'. + + + + + + + resolutionForScreen: + screen + + Retuns the resolution, in points, for the indicated + screen of the display. + + + + + + + screenList + + Returns an array of NSNumbers, where each number + describes a screen that is available on this + display. + + + + + + + serverDevice + + Returns a display dependant pointer that describes + the internal connection to the display. On X-Windows, + for example, this is a pointer to the + Display variable. + + + + + + + slideImage: + image + from: + from + to: + to + + Description forthcoming. + + + + + + + windowDepthForScreen: + screen + + Returns the default depth of windows that are + created on screen. + + + + + + + windowDevice: + win + + Returns a display dependant pointer that describes + the internal window representation for win. + On X-Windows, for example, this is a pointer to the + Window variable. + + + + + + + + +
+
+ + + Software documentation for the + GSDisplayServer(EventOps) category + + + AppKit/GSDisplayServer.h + + Description forthcoming. + + + discardEventsMatchingMask: + mask + beforeEvent: + limit + + Description forthcoming. + + + + + + + getEventMatchingMask: + mask + beforeDate: + limit + inMode: + mode + dequeue: + flag + + Description forthcoming. + + + + + + + postEvent: + anEvent + atStart: + flag + + Description forthcoming. + + + + + + + + + + + + + Software documentation for the + GSDisplayServer(WindowOps) category + + + AppKit/GSDisplayServer.h + + Description forthcoming. + + + _setWindowOwnedByServer: + win + + Tells the receiver that it owns the window described + by win. Concrete subclasses must call this + function when creating a window. Do not call this + method in any other case, particularly for a window + that has already been created + + + + + + + appOwnsMiniwindow + + Returns YES if the application should + create the miniwindow counterpart to the full size + window and own it. Some display systems handle the + miniwindow themselves. In this case the backend + subclass should override this method to return + NO. + + + + + + + capturemouse: + win + + Grabs the pointer device so that all future mouse + events will be directed only to the window + win. If successful, the return value is + YES and this message must be balanced + by a + + -releasemouse + + message. + + + + + + + docedited: + edited + : + win + + Sets the document edited flag for the + window + + + + + + + findwindow: + loc + : + op + : + otherWin + : + floc + : + winFound + + Description forthcoming. + + + + + + + flushwindowrect: + rect + : + win + + Causes buffered graphics to be flushed to the screen + + + + + + + hidecursor + + Hides the cursor + + + + + + + imagecursor: + hotp + : + w + : + h + : + colors + : + image + : + cid + + Create a cursor from an image. Returns a + pointer to the internal device representation that + can be used later to make this cursor the current one + + + + + + + miniwindow: + win + + Miniaturizes the window + + + + + + + mouselocation + + Returns the current mouse location + + + + + + + movewindow: + loc + : + win + + Moves the bottom left cornder of the window to + loc + + + + + + + orderwindow: + op + : + otherWin + : + win + + Causes the window to be ordered onto or off the + screen depending on the value of op. The + window is ordered relative to otherWin. + + + + + + + placewindow: + frame + : + win + + Moves and resizes the window on the screen as + described by frame. + + + + + + + releasemouse + + Release a previous captured mouse from + + -capturemouse: + + + + + + + + setcursorcolor: + fg + : + bg + : + cid + + Set the cursor given by the cid + representation as being the current cursor. + The cursor has a foreground color fg and a + background color bg. To keep the + default color for the cursor, pass nil + for fg and bg. + + + + + + + setinputfocus: + win + + Forces focus to the window so that all key events + are sent to this window + + + + + + + setinputstate: + state + : + win + + Sets the input state for the window given + by the GSWindowInputState constant. Instructs the window + manager that the specified window is 'key', 'main', + or just a normal window. + + + + + + + setmaxsize: + size + : + win + + Set the maximum size of the window + + + + + + + setminsize: + size + : + win + + Set the minimum size of the window + + + + + + + setresizeincrements: + size + : + win + + Set the resize incremenet of the window + + + + + + + setwindowlevel: + level + : + win + + Set the level of the window as in [NSWindow + -setLevel] + + + + + + + showcursor + + Show a previously hidden cursor + + + + + + + standardcursor: + style + : + cid + + Create a standard cursor (such as an arror or + IBeam). Returns a pointer to the internal device + representation that can be used later to + make this cursor the current one + + + + + + + styleoffsets: + l + : + r + : + t + : + b + : + style + + Returns the dimensions of the window that are + inside the window frame but are controlled by the + window manager. For instance, t gives the + height of the title bar for the window + + + + + + + stylewindow: + style + : + win + + Sets the style of the window. See [NSWindow + -styleMask] for a description of the available + styles + + + + + + + termwindow: + win + + Destroys the representation of the window and + frees and memory associated with it. + + + + + + + titlewindow: + window_title + : + win + + Sets the window title + + + + + + + window: + frame + : + type + : + style + + Creates a window whose location and size is + described by frame and whose backing + store is described by type. This window is + not mapped to the screen by this call + + + + + + + windowbacking: + type + + Changes window's the backing store to + type + + + + + + + windowbounds: + win + + Retuns the frame of the window on the screen + + + + + + + windowdepth: + win + + Returns the depth of the window + + + + + + + windowdevice: + win + + Sets the window drawable for the current + NSGraphicsContext, typically by calling + [NSGraphicsContext + -DPSsetgcdrawable::::], although + depending on the concrete implmentation, more + information than this may need to be exchanged. + + + + + + + windowlevel: + win + + Returns the window level as in [NSWindow -level] + + + + + + + windowlist + + Returns the list of windows that the server + controls + + + + + + + + + + + +
diff --git a/Documentation/gsdoc/GSDisplayServer.html b/Documentation/gsdoc/GSDisplayServer.html new file mode 100644 index 000000000..5a6ea3766 --- /dev/null +++ b/Documentation/gsdoc/GSDisplayServer.html @@ -0,0 +1,842 @@ + + + GSDisplayServer + + + Up +
+

GSDisplayServer

+

Authors

+
+
Adam Fedor( + fedor@gnu.org + )
+
+
+
+
+ Abstract display server class. +
+

Copyright: (C) 2002 Free Software Foundation, Inc.

+
+
+

Contents -

+
    +
  1. + GSDisplayServer +
  2. +
  3. + Software documentation for the + GSDisplayServer(EventOps) category +
  4. +
  5. + Software documentation for the + GSDisplayServer(WindowOps) category +
  6. +
+
+
+

GSDisplayServer

+

+ + This is an abstract class which provides a framework for a + device independant window server. A window server + handles the very basic control of the computer display + and input. This includes basic window creation and + handling, event handling, cursors, and providing + miscellaneous information about the display. +

+

+ + Typically a backend library will provide a concrete + subclass which implements the device specific methods + described below. +

+

+ + In almost all cases, you should not call these methods + directly in an application. You should use the + equivalent methods available elsewhere in the + library (e.g. NSWindow, NSScreen, etc). +

+

GSDisplayServer : NSObject

+
+
+
Declared in:
+
AppKit/GSDisplayServer.h
+
+
+
+ Standards: +
    +
  • NotOpenStep
  • +
  • NotMacOS-X
  • +
  • GNUstep
  • +
+
+

+ + +

+ Method summary + +
+

addDragTypes:toWindow:

+ + (BOOL) addDragTypes: (NSArray*)types toWindow: (NSWindow*)win;
+

+ + Convienience method that calls + + -addDragTypes:toWindow: + + + using the server that controls win. + +

+
+

dragTypesForWindow:

+ + (NSCountedSet*) dragTypesForWindow: (NSWindow*)win;
+

+ + Convienience method that calls + + -dragTypesForWindow: + + + using the server that controls win. + +

+
+

removeDragTypes:fromWindow:

+ + (BOOL) removeDragTypes: (NSArray*)types fromWindow: (NSWindow*)win;
+

+ + Convienience method that calls + + -removeDragTypes:fromWindow: + + + using the server that controls win. + +

+
+

serverWithAttributes:

+ + (GSDisplayServer*) serverWithAttributes: (NSDictionary*)attributes;
+

+ + +

+

+ + Create a window server with attributes, + which contains key/value pairs which describe the + specifics of how the window server is to be + initialized. Typically these values are + specific to the concrete implementation. + Currently there are no standard set of + attributes defined for GSDisplayServer. +

+

+ + +

+

+ + In almost all applications one would only create a + single instance of a window server. Although it is + possible, it is unlikely that you would need + more than one window server (and you would have to + be very careful how you handled window creation and + events in this case). +

+

+ + +

+
+

setCurrentServer:

+ + (void) setCurrentServer: (GSDisplayServer*)server;
+

+ + Sets the current server that will be + handling windows, events, etc. This method must be + called after a window server is created + in order to make it available to the rest of the GUI + library + +

+
+

setDefaultServerClass:

+ + (void) setDefaultServerClass: (Class)aClass;
+

+ + Set the concrete subclass that will provide the device + dependant implementation. + +

+
+

addDragTypes:toWindow:

+ - (BOOL) addDragTypes: (NSArray*)types toWindow: (NSWindow*)win;
+

+ + Add (increment count by 1) each drag type to those + registered for the window. If this results in a + change to the types registered in the + counted set, return YES, otherwise + return NO. Subclasses should override + this method, call 'super' and take appropriate action + if the method returns 'YES'. + +

+
+

attributes

+ - (NSDictionary*) attributes;
+

+ + Return information used to create the server + +

+
+

availableDepthsForScreen:

+ - (const NSWindowDepth*) availableDepthsForScreen: (int)screen;
+

+ + Returns a null terminated list of possible window + depths for screen. + +

+
+

boundsForScreen:

+ - (NSRect) boundsForScreen: (int)screen;
+

+ + Retuns the bounds, in pixels, for the indicated + screen of the display. + +

+
+

closeServer

+ - (void) closeServer;
+

+ + Causes the server to disconnect from the display. If + the receiver is the current server, it removes itself + and sets the current server to nil. + Sending any more messages to the receiver after + this is likely to cause severe problems and probably + crash the application. + +

+
+

dragInfo

+ - (id) dragInfo;
+

+ + Returns an instance of a class which implements the + NSDraggingInfo protocol. + +

+
+

dragTypesForWindow:

+ - (NSCountedSet*) dragTypesForWindow: (NSWindow*)win;
+

+ + Returns the drag types set for the window + win. + +

+
+

initWithAttributes:

+ - (id) initWithAttributes: (NSDictionary*)attributes;
+This is a designated initialiser for the class.
+

+ + Initializes the server. This typically causes + the receiver to connect to the display (e.g. + XOpenDisplay() on an X-Windows server). + +

+
+

removeDragTypes:fromWindow:

+ - (BOOL) removeDragTypes: (NSArray*)types fromWindow: (NSWindow*)win;
+

+ + Remove (decrement count by 1) each drag type from + those registered for the window. If this results in a + change to the types registered in the + counted set, return YES, otherwise + return NO. If given 'nil' as the array + of types, remove ALL. Subclasses should + override this method, call 'super' and take + appropriate action if the method returns 'YES'. + +

+
+

resolutionForScreen:

+ - (NSSize) resolutionForScreen: (int)screen;
+

+ + Retuns the resolution, in points, for the indicated + screen of the display. + +

+
+

screenList

+ - (NSArray*) screenList;
+

+ + Returns an array of NSNumbers, where each number + describes a screen that is available on this + display. + +

+
+

serverDevice

+ - (void*) serverDevice;
+

+ + Returns a display dependant pointer that describes + the internal connection to the display. On X-Windows, + for example, this is a pointer to the + Display variable. + +

+
+

slideImage:from:to:

+ - (BOOL) slideImage: (NSImage*)image from: (NSPoint)from to: (NSPoint)to;
+

+ + Description forthcoming. + +

+
+

windowDepthForScreen:

+ - (NSWindowDepth) windowDepthForScreen: (int)screen;
+

+ + Returns the default depth of windows that are + created on screen. + +

+
+

windowDevice:

+ - (void*) windowDevice: (int)win;
+

+ + Returns a display dependant pointer that describes + the internal window representation for win. + On X-Windows, for example, this is a pointer to the + Window variable. + +

+
+

+ Software documentation for the + GSDisplayServer(EventOps) category +

+

GSDisplayServer(EventOps)

+
+
+
Declared in:
+
AppKit/GSDisplayServer.h
+
+
+
+ Standards: +
    +
  • NotOpenStep
  • +
  • NotMacOS-X
  • +
  • GNUstep
  • +
+
+

+ + Description forthcoming. + +

+ Method summary + +
+

discardEventsMatchingMask:beforeEvent:

+ - (void) discardEventsMatchingMask: (unsigned)mask beforeEvent: (NSEvent*)limit;
+

+ + Description forthcoming. + +

+
+

getEventMatchingMask:beforeDate:inMode:dequeue:

+ - (NSEvent*) getEventMatchingMask: (unsigned)mask beforeDate: (NSDate*)limit inMode: (NSString*)mode dequeue: (BOOL)flag;
+

+ + Description forthcoming. + +

+
+

postEvent:atStart:

+ - (void) postEvent: (NSEvent*)anEvent atStart: (BOOL)flag;
+

+ + Description forthcoming. + +

+
+

+ Software documentation for the + GSDisplayServer(WindowOps) category +

+

GSDisplayServer(WindowOps)

+
+
+
Declared in:
+
AppKit/GSDisplayServer.h
+
+
+
+ Standards: +
    +
  • NotOpenStep
  • +
  • NotMacOS-X
  • +
  • GNUstep
  • +
+
+

+ + Description forthcoming. + +

+ Method summary + +
+

_setWindowOwnedByServer:

+ - (void) _setWindowOwnedByServer: (int)win;
+

+ + Tells the receiver that it owns the window described + by win. Concrete subclasses must call this + function when creating a window. Do not call this + method in any other case, particularly for a window + that has already been created + +

+
+

appOwnsMiniwindow

+ - (BOOL) appOwnsMiniwindow;
+

+ + Returns YES if the application should + create the miniwindow counterpart to the full size + window and own it. Some display systems handle the + miniwindow themselves. In this case the backend + subclass should override this method to return + NO. + +

+
+

capturemouse:

+ - (BOOL) capturemouse: (int)win;
+

+ + Grabs the pointer device so that all future mouse + events will be directed only to the window + win. If successful, the return value is + YES and this message must be balanced + by a + + -releasemouse + + + message. + +

+
+

docedited::

+ - (void) docedited: (int)edited : (int)win;
+

+ + Sets the document edited flag for the + window + +

+
+

findwindow:::::

+ - (BOOL) findwindow: (NSPoint)loc : (int)op : (int)otherWin : (NSPoint*)floc : (int*)winFound;
+

+ + Description forthcoming. + +

+
+

flushwindowrect::

+ - (void) flushwindowrect: (NSRect)rect : (int)win;
+

+ + Causes buffered graphics to be flushed to the screen + +

+
+

hidecursor

+ - (void) hidecursor;
+

+ + Hides the cursor + +

+
+

imagecursor::::::

+ - (void) imagecursor: (NSPoint)hotp : (int)w : (int)h : (int)colors : (const char*)image : (void**)cid;
+

+ + Create a cursor from an image. Returns a + pointer to the internal device representation that + can be used later to make this cursor the current one + +

+
+

miniwindow:

+ - (void) miniwindow: (int)win;
+

+ + Miniaturizes the window + +

+
+

mouselocation

+ - (NSPoint) mouselocation;
+

+ + Returns the current mouse location + +

+
+

movewindow::

+ - (void) movewindow: (NSPoint)loc : (int)win;
+

+ + Moves the bottom left cornder of the window to + loc + +

+
+

orderwindow:::

+ - (void) orderwindow: (int)op : (int)otherWin : (int)win;
+

+ + Causes the window to be ordered onto or off the + screen depending on the value of op. The + window is ordered relative to otherWin. + +

+
+

placewindow::

+ - (void) placewindow: (NSRect)frame : (int)win;
+

+ + Moves and resizes the window on the screen as + described by frame. + +

+
+

releasemouse

+ - (void) releasemouse;
+

+ + Release a previous captured mouse from + + -capturemouse: + + + +

+
+

setcursorcolor:::

+ - (void) setcursorcolor: (NSColor*)fg : (NSColor*)bg : (void*)cid;
+

+ + Set the cursor given by the cid + representation as being the current cursor. + The cursor has a foreground color fg and a + background color bg. To keep the + default color for the cursor, pass nil + for fg and bg. + +

+
+

setinputfocus:

+ - (void) setinputfocus: (int)win;
+

+ + Forces focus to the window so that all key events + are sent to this window + +

+
+

setinputstate::

+ - (void) setinputstate: (int)state : (int)win;
+

+ + Sets the input state for the window given + by the GSWindowInputState constant. Instructs the window + manager that the specified window is 'key', 'main', + or just a normal window. + +

+
+

setmaxsize::

+ - (void) setmaxsize: (NSSize)size : (int)win;
+

+ + Set the maximum size of the window + +

+
+

setminsize::

+ - (void) setminsize: (NSSize)size : (int)win;
+

+ + Set the minimum size of the window + +

+
+

setresizeincrements::

+ - (void) setresizeincrements: (NSSize)size : (int)win;
+

+ + Set the resize incremenet of the window + +

+
+

setwindowlevel::

+ - (void) setwindowlevel: (int)level : (int)win;
+

+ + Set the level of the window as in [NSWindow + -setLevel] + +

+
+

showcursor

+ - (void) showcursor;
+

+ + Show a previously hidden cursor + +

+
+

standardcursor::

+ - (void) standardcursor: (int)style : (void**)cid;
+

+ + Create a standard cursor (such as an arror or + IBeam). Returns a pointer to the internal device + representation that can be used later to + make this cursor the current one + +

+
+

styleoffsets:::::

+ - (void) styleoffsets: (float*)l : (float*)r : (float*)t : (float*)b : (int)style;
+

+ + Returns the dimensions of the window that are + inside the window frame but are controlled by the + window manager. For instance, t gives the + height of the title bar for the window + +

+
+

stylewindow::

+ - (void) stylewindow: (int)style : (int)win;
+

+ + Sets the style of the window. See [NSWindow + -styleMask] for a description of the available + styles + +

+
+

termwindow:

+ - (void) termwindow: (int)win;
+

+ + Destroys the representation of the window and + frees and memory associated with it. + +

+
+

titlewindow::

+ - (void) titlewindow: (NSString*)window_title : (int)win;
+

+ + Sets the window title + +

+
+

window:::

+ - (int) window: (NSRect)frame : (NSBackingStoreType)type : (unsigned int)style;
+

+ + Creates a window whose location and size is + described by frame and whose backing + store is described by type. This window is + not mapped to the screen by this call + +

+
+

windowbacking:

+ - (void) windowbacking: (NSBackingStoreType)type;
+

+ + Changes window's the backing store to + type + +

+
+

windowbounds:

+ - (NSRect) windowbounds: (int)win;
+

+ + Retuns the frame of the window on the screen + +

+
+

windowdepth:

+ - (int) windowdepth: (int)win;
+

+ + Returns the depth of the window + +

+
+

windowdevice:

+ - (void) windowdevice: (int)win;
+

+ + Sets the window drawable for the current + NSGraphicsContext, typically by calling + [NSGraphicsContext + -DPSsetgcdrawable::::], although + depending on the concrete implmentation, more + information than this may need to be exchanged. + +

+
+

windowlevel:

+ - (int) windowlevel: (int)win;
+

+ + Returns the window level as in [NSWindow -level] + +

+
+

windowlist

+ - (NSArray*) windowlist;
+

+ + Returns the list of windows that the server + controls + +

+
+
+ Up + + diff --git a/Documentation/gsdoc/GSVbox.gsdoc b/Documentation/gsdoc/GSVbox.gsdoc new file mode 100644 index 000000000..be95035b4 --- /dev/null +++ b/Documentation/gsdoc/GSVbox.gsdoc @@ -0,0 +1,126 @@ + + + + + GSVbox + + + n.pero@mi.flashnet.it + + + The GSVbox class (a GNU extension) + 1999 Free Software Foundation, Inc. + + + + + + Software documentation for the GSVbox class + + + AppKit/GSVbox.h + + Description forthcoming. + + + addSeparator + + Description forthcoming. + + + + + + + addSeparatorWithMinYMargin: + aMargin + + Description forthcoming. + + + + + + + addView: + aView + + Description forthcoming. + + + + + + + addView: + aView + enablingYResizing: + aFlag + + Description forthcoming. + + + + + + + addView: + aView + enablingYResizing: + aFlag + withMinYMargin: + aMargin + + Description forthcoming. + + + + + + + addView: + aView + withMinYMargin: + aMargin + + Description forthcoming. + + + + + + + init + + Description forthcoming. + + + + + + + numberOfViews + + Description forthcoming. + + + + + + + setDefaultMinYMargin: + aMargin + + Description forthcoming. + + + + + + + + + + + + diff --git a/Documentation/gsdoc/GSVbox.html b/Documentation/gsdoc/GSVbox.html new file mode 100644 index 000000000..2316bcbb2 --- /dev/null +++ b/Documentation/gsdoc/GSVbox.html @@ -0,0 +1,151 @@ + + + GSVbox + + + Up +
+

GSVbox

+

Authors

+
+
Nicola Pero( + n.pero@mi.flashnet.it + )
+
+
+
+
+ The GSVbox class (a GNU extension) +
+

Copyright: (C) 1999 Free Software Foundation, Inc.

+
+
+

Contents -

+
    +
  1. + Software documentation for the GSVbox class +
  2. +
+
+
+

+ Software documentation for the GSVbox class +

+

GSVbox : GSTable

+
+
+
Declared in:
+
AppKit/GSVbox.h
+
+
+
+ Standards: +
    +
  • GNUstep
  • +
  • MacOS-X
  • +
  • OpenStep
  • +
+
+

+ + Description forthcoming. + +

+ Method summary + +
+

addSeparator

+ - (void) addSeparator;
+ Standards: GNUstep, MacOS-X, OpenStep
+

+ + Description forthcoming. + +

+
+

addSeparatorWithMinYMargin:

+ - (void) addSeparatorWithMinYMargin: (float)aMargin;
+ Standards: GNUstep, MacOS-X, OpenStep
+

+ + Description forthcoming. + +

+
+

addView:

+ - (void) addView: (NSView*)aView;
+ Standards: GNUstep, MacOS-X, OpenStep
+

+ + Description forthcoming. + +

+
+

addView:enablingYResizing:

+ - (void) addView: (NSView*)aView enablingYResizing: (BOOL)aFlag;
+ Standards: GNUstep, MacOS-X, OpenStep
+

+ + Description forthcoming. + +

+
+

addView:enablingYResizing:withMinYMargin:

+ - (void) addView: (NSView*)aView enablingYResizing: (BOOL)aFlag withMinYMargin: (float)aMargin;
+ Standards: GNUstep, MacOS-X, OpenStep
+

+ + Description forthcoming. + +

+
+

addView:withMinYMargin:

+ - (void) addView: (NSView*)aView withMinYMargin: (float)aMargin;
+ Standards: GNUstep, MacOS-X, OpenStep
+

+ + Description forthcoming. + +

+
+

init

+ - (id) init;
+ Standards: GNUstep, MacOS-X, OpenStep
+

+ + Description forthcoming. + +

+
+

numberOfViews

+ - (int) numberOfViews;
+ Standards: GNUstep, MacOS-X, OpenStep
+

+ + Description forthcoming. + +

+
+

setDefaultMinYMargin:

+ - (void) setDefaultMinYMargin: (float)aMargin;
+ Standards: GNUstep, MacOS-X, OpenStep
+

+ + Description forthcoming. + +

+
+
+ Up + + diff --git a/Documentation/gsdoc/Gui.gsdoc b/Documentation/gsdoc/Gui.gsdoc index 8e7b67e88..9483ab870 100644 --- a/Documentation/gsdoc/Gui.gsdoc +++ b/Documentation/gsdoc/Gui.gsdoc @@ -1,5 +1,5 @@ - + Gui @@ -126,10 +126,18 @@ NSWorkspace

- There is also documentation on various GUI functions. + Documentation on non-OpenStep, non-MacOSX, and private classes +

+ + GSDisplayServer + GSHbox + GSTable + GSVbox + +

+ Miscellaneous documentation

- DPSOperators Available User Defaults diff --git a/Documentation/gsdoc/Gui.html b/Documentation/gsdoc/Gui.html index 9cf2116b2..8cb09ce5b 100644 --- a/Documentation/gsdoc/Gui.html +++ b/Documentation/gsdoc/Gui.html @@ -127,10 +127,19 @@

- There is also documentation on various GUI functions. + Documentation on non-OpenStep, non-MacOSX, and private classes +

+ +

+ + Miscellaneous documentation

diff --git a/Documentation/gsdoc/NSGraphicsContext.gsdoc b/Documentation/gsdoc/NSGraphicsContext.gsdoc index 188d46bf6..76af14b21 100644 --- a/Documentation/gsdoc/NSGraphicsContext.gsdoc +++ b/Documentation/gsdoc/NSGraphicsContext.gsdoc @@ -19,18 +19,63 @@ - - Software documentation for the NSGraphicsContext class - + NSGraphicsContext +

+ This is an abstract class which provides a framework for a + device independant drawing. +

+

+ In addition, this class provides methods to perform the + actual drawing. As a convenience, you can also access + these through various function interfaces. One is a + Display Postscript interface using PS and DPS + opeterations. Another is a Quartz interface (not + yet written). +

AppKit/NSGraphicsContext.h - Description forthcoming. + + + Description forthcoming. + + + + + Description forthcoming. + + + + + Description forthcoming. + + + + + Description forthcoming. + + + + + Description forthcoming. + + + + + Description forthcoming. + + + + + Description forthcoming. + + currentContext - Description forthcoming. + Returns the current context. Also see the + convienience function GSCurrentContext() @@ -39,7 +84,8 @@ currentContextDrawingToScreen - Description forthcoming. + Returns YES if the current context is + a display context @@ -49,7 +95,12 @@ graphicsContextWithAttributes: attributes - Description forthcoming. +

+ Create a graphics context with + attributes, which contains key/value + pairs which describe the specifics of how the + context is to be initialized. +

@@ -59,7 +110,8 @@ graphicsContextWithWindow: aWindow - Description forthcoming. + Create graphics context with attributes speficied by + aWindow's device description. @@ -87,7 +139,8 @@ setCurrentContext: context - Description forthcoming. + Set the current context that will handle + drawing. @@ -103,15 +156,6 @@
- - waitAllContexts - - Description forthcoming. - - - - - attributes @@ -121,15 +165,6 @@
- - flush - - Description forthcoming. - - - - - flushGraphics @@ -139,6 +174,15 @@ + + focusStack + + Description forthcoming. + + + + + graphicsPort @@ -148,6 +192,15 @@ + + imageInterpolation + + Description forthcoming. + + + + + isDrawingToScreen @@ -176,7 +229,37 @@ - wait + setFocusStack: + stack + + Description forthcoming. + + + + + + + setImageInterpolation: + interpolation + + Description forthcoming. + + + + + + + setShouldAntialias: + antialias + + Description forthcoming. + + + + + + + shouldAntialias Description forthcoming. @@ -199,16 +282,6 @@ Description forthcoming. - - defaultContextWithInfo: - info - - Description forthcoming. - - - - - setDefaultContextClass: defaultContextClass @@ -219,65 +292,9 @@ - - _addDragTypes: - types - toWindow: - win - - Description forthcoming. - - - - - - - _dragInfo - - Description forthcoming. - - - - - - - _dragTypesForWindow: - win - - Description forthcoming. - - - - - - - _removeDragTypes: - types - fromWindow: - win - - Description forthcoming. - - - - - - - _slideImage: - image - from: - from - to: - to - - Description forthcoming. - - - - - - destroyContext + contextDevice: + num Description forthcoming. @@ -316,15 +333,6 @@ - - mutableData - - Description forthcoming. - - - - - resetUsedFonts @@ -381,44 +389,6 @@ Description forthcoming. - - initializeBackend - - Description forthcoming. - - - - - - - GSAvailableDepthsForScreen: - screen - - Description forthcoming. - - - - - - - GSResolutionForScreen: - screen - - Description forthcoming. - - - - - - - GSWDefineAsUserObj - - Description forthcoming. - - - - - GSWSetViewIsFlipped: flipped @@ -438,16 +408,6 @@ - - GSWindowDepthForScreen: - screen - - Description forthcoming. - - - - - NSBeep @@ -457,44 +417,6 @@ - - NSCopyBitmapFromGState: - srcGstate - : - srcRect - : - destRect - - Description forthcoming. - - - - - - - NSCopyBits: - srcGstate - : - srcRect - : - destPoint - - Description forthcoming. - - - - - - - NSDottedFrameRect: - aRect - - Description forthcoming. - - - - - NSDrawBitmap: rect @@ -525,48 +447,6 @@ - - NSEraseRect: - aRect - - Description forthcoming. - - - - - - - NSFrameRect: - aRect - - Description forthcoming. - - - - - - - NSFrameRectWithWidth: - aRect - : - frameWidth - - Description forthcoming. - - - - - - - NSHighlightRect: - aRect - - Description forthcoming. - - - - - NSReadPixel: location @@ -577,76 +457,6 @@ - - NSRectClip: - aRect - - Description forthcoming. - - - - - - - NSRectClipList: - rects - : - count - - Description forthcoming. - - - - - - - NSRectFill: - aRect - - Description forthcoming. - - - - - - - NSRectFillList: - rects - : - count - - Description forthcoming. - - - - - - - NSRectFillListWithGrays: - rects - : - grays - : - count - - Description forthcoming. - - - - - - - NSRectFillUsingOperation: - aRect - : - op - - Description forthcoming. - - - - - @@ -662,64 +472,6 @@ Description forthcoming. - - DPSDiscardEventsMatchingMask: - mask - beforeEvent: - limit - - Description forthcoming. - - - - - - - DPSFontDirectory - - Description forthcoming. - - - - - - - DPSGetEventMatchingMask: - mask - beforeDate: - limit - inMode: - mode - dequeue: - flag - - Description forthcoming. - - - - - - - DPSISOLatin1Encoding - - Description forthcoming. - - - - - - - DPSPostEvent: - anEvent - atStart: - flag - - Description forthcoming. - - - - - DPSPrintf: fmt @@ -732,24 +484,6 @@ - - DPSSharedFontDirectory - - Description forthcoming. - - - - - - - DPSStandardEncoding - - Description forthcoming. - - - - - DPSWriteData: buf @@ -762,15 +496,6 @@ - - DPSalphaimage - - Description forthcoming. - - - - - DPSarc: x @@ -825,32 +550,6 @@ - - DPSarcto: - x1 - : - y1 - : - x2 - : - y2 - : - r - : - xt1 - : - yt1 - : - xt2 - : - yt2 - - Description forthcoming. - - - - - DPSashow: x @@ -885,26 +584,6 @@ - - DPScapturegstate: - gst - - Description forthcoming. - - - - - - - DPScapturemouse: - win - - Description forthcoming. - - - - - DPScharpath: s @@ -917,24 +596,6 @@ - - DPSclear - - Description forthcoming. - - - - - - - DPScleartomark - - Description forthcoming. - - - - - DPSclip @@ -944,15 +605,6 @@ - - DPSclippath - - Description forthcoming. - - - - - DPSclosepath @@ -962,15 +614,6 @@ - - DPScolorimage - - Description forthcoming. - - - - - DPScomposite: x @@ -1023,92 +666,11 @@ - - DPSconcatmatrix - - Description forthcoming. - - - - - - - DPScopy: - n - - Description forthcoming. - - - - - - - DPScopypage - - Description forthcoming. - - - - - - - DPScount: - n - - Description forthcoming. - - - - - - - DPScountscreenlist: - context - : - count - - Description forthcoming. - - - - - - - DPScounttomark: - n - - Description forthcoming. - - - - - - - DPScountwindowlist: - context - : - count - - Description forthcoming. - - - - - DPScurrentalpha: a - Description forthcoming. - - - - - - - DPScurrentcacheparams - - Description forthcoming. + Returns the current alpha component @@ -1124,36 +686,8 @@ : k - Description forthcoming. - - - - - - - DPScurrentdash - - Description forthcoming. - - - - - - - DPScurrentdefaultdepthlimit: - limit - - Description forthcoming. - - - - - - - DPScurrentdrawingfunction: - function - - Description forthcoming. + Returns the current color according to the CMYK + color model @@ -1169,15 +703,6 @@ - - DPScurrentfont - - Description forthcoming. - - - - - DPScurrentgcdrawable: gc @@ -1194,29 +719,14 @@ - - DPScurrentgcdrawablecolor: - gc - : - draw - : - x - : - y - : - colorInfo - - Description forthcoming. - - - - - DPScurrentgray: gray - Description forthcoming. + Returns the gray-level equivalent in the current + color space. The value may depend on the current + color space and may be 0 if the current color space + has no notion of a gray value @@ -1226,28 +736,10 @@ DPScurrentgstate: gst - Description forthcoming. - - - - - - - DPScurrenthalftone - - Description forthcoming. - - - - - - - DPScurrenthalftonephase: - x - : - y - - Description forthcoming. + Depcreciated. Same as + + -GSReplaceGState: + @@ -1261,7 +753,8 @@ : b - Description forthcoming. + Returns the current color according to the HSB + color model. @@ -1297,15 +790,6 @@ - - DPScurrentmatrix - - Description forthcoming. - - - - - DPScurrentmiterlimit: limit @@ -1328,18 +812,6 @@ - - DPScurrentowner: - win - : - owner - - Description forthcoming. - - - - - DPScurrentpoint: x @@ -1360,26 +832,8 @@ : b - Description forthcoming. - - - - - - - DPScurrentscreen - - Description forthcoming. - - - - - - - DPScurrentserverdevice: - serverptr - - Description forthcoming. + Returns the current color according to the RGB + color model @@ -1395,103 +849,6 @@ - - DPScurrenttransfer - - Description forthcoming. - - - - - - - DPScurrentwindow: - num - - Description forthcoming. - - - - - - - DPScurrentwindowalpha: - win - : - alpha - - Description forthcoming. - - - - - - - DPScurrentwindowbounds: - num - : - x - : - y - : - w - : - h - - Description forthcoming. - - - - - - - DPScurrentwindowdepth: - win - : - depth - - Description forthcoming. - - - - - - - DPScurrentwindowdepthlimit: - win - : - limit - - Description forthcoming. - - - - - - - DPScurrentwindowdevice: - win - : - windowptr - - Description forthcoming. - - - - - - - DPScurrentwindowlevel: - win - : - level - - Description forthcoming. - - - - - DPScurveto: x1 @@ -1512,33 +869,6 @@ - - DPSdefaultmatrix - - Description forthcoming. - - - - - - - DPSdefinefont - - Description forthcoming. - - - - - - - DPSdefineuserobject - - Description forthcoming. - - - - - DPSdissolve: x @@ -1563,43 +893,6 @@ - - DPSdocedited: - edited - : - window - - Description forthcoming. - - - - - - - DPSdtransform: - x1 - : - y1 - : - x2 - : - y2 - - Description forthcoming. - - - - - - - DPSdup - - Description forthcoming. - - - - - DPSeoclip @@ -1618,52 +911,6 @@ - - DPSeoviewclip - - Description forthcoming. - - - - - - - DPSerasepage - - Description forthcoming. - - - - - - - DPSexch - - Description forthcoming. - - - - - - - DPSexecstack - - Description forthcoming. - - - - - - - DPSexecuserobject: - index - - Description forthcoming. - - - - - DPSfill @@ -1673,40 +920,6 @@ - - DPSfindfont: - name - - Description forthcoming. - - - - - - - DPSfindwindow: - x - : - y - : - op - : - otherWin - : - lx - : - ly - : - winFound - : - didFind - - Description forthcoming. - - - - - DPSflattenpath @@ -1716,141 +929,13 @@ - - DPSflush - - Description forthcoming. - - - - - - - DPSflushwindowrect: - x - : - y - : - w - : - h - : - win - - Description forthcoming. - - - - - - - DPSfrontwindow: - num - - Description forthcoming. - - - - - - - DPSget - - Description forthcoming. - - - - - - - DPSgetboolean: - it - - Description forthcoming. - - - - - - - DPSgetchararray: - size - : - s - - Description forthcoming. - - - - - - - DPSgetfloat: - it - - Description forthcoming. - - - - - - - DPSgetfloatarray: - size - : - a - - Description forthcoming. - - - - - - - DPSgetint: - it - - Description forthcoming. - - - - - - - DPSgetintarray: - size - : - a - - Description forthcoming. - - - - - - - DPSgetstring: - s - - Description forthcoming. - - - - - DPSgrestore - Description forthcoming. - - - - - - - DPSgrestoreall - - Description forthcoming. + Pops a previously saved gstate from the gstate stack + and makes it current. Drawing information in the + previously saved gstate becomes the current + information @@ -1859,7 +944,10 @@ DPSgsave - Description forthcoming. + Saves (pushes) a copy of the current gstate + information onto the gstate stack. This saves + drawing information contained in the gstate, such + as the current path, ctm and colors. @@ -1868,91 +956,11 @@ DPSgstate - Description forthcoming. - - - - - - - DPShidecursor - - Description forthcoming. - - - - - - - DPSidentmatrix - - Description forthcoming. - - - - - - - DPSidtransform: - x1 - : - y1 - : - x2 - : - y2 - - Description forthcoming. - - - - - - - DPSimage - - Description forthcoming. - - - - - - - DPSimagecursor: - hotx - : - hoty - : - w - : - h - : - colors - : - image - : - cid - - Description forthcoming. - - - - - - - DPSimagemask - - Description forthcoming. - - - - - - - DPSindex: - i - - Description forthcoming. + Depreciated. Use + + -DPSDefineGState + + to create a gstate it and tag it with a id tag. @@ -1985,50 +993,6 @@ - - DPSinitviewclip - - Description forthcoming. - - - - - - - DPSinvertmatrix - - Description forthcoming. - - - - - - - DPSitransform: - x1 - : - y1 - : - x2 - : - y2 - - Description forthcoming. - - - - - - - DPSkshow: - s - - Description forthcoming. - - - - - DPSlineto: x @@ -2041,55 +1005,6 @@ - - DPSmakefont - - Description forthcoming. - - - - - - - DPSmark - - Description forthcoming. - - - - - - - DPSmatrix - - Description forthcoming. - - - - - - - DPSminiwindow: - num - - Description forthcoming. - - - - - - - DPSmouselocation: - x - : - y - - Description forthcoming. - - - - - DPSmoveto: x @@ -2102,20 +1017,6 @@ - - DPSmovewindow: - x - : - y - : - num - - Description forthcoming. - - - - - DPSnewpath @@ -2125,29 +1026,6 @@ - - DPSnull - - Description forthcoming. - - - - - - - DPSorderwindow: - op - : - otherWin - : - winNum - - Description forthcoming. - - - - - DPSpathbbox: llx @@ -2164,51 +1042,6 @@ - - DPSpathforall - - Description forthcoming. - - - - - - - DPSplacewindow: - x - : - y - : - w - : - h - : - win - - Description forthcoming. - - - - - - - DPSpop - - Description forthcoming. - - - - - - - DPSput - - Description forthcoming. - - - - - DPSrcurveto: x1 @@ -2229,15 +1062,6 @@ - - DPSreadimage - - Description forthcoming. - - - - - DPSrectclip: x @@ -2286,40 +1110,6 @@ - - DPSrectviewclip: - x - : - y - : - w - : - h - - Description forthcoming. - - - - - - - DPSreleasemouse - - Description forthcoming. - - - - - - - DPSrestore - - Description forthcoming. - - - - - DPSreversepath @@ -2353,18 +1143,6 @@ - - DPSroll: - n - : - j - - Description forthcoming. - - - - - DPSrotate: angle @@ -2375,15 +1153,6 @@ - - DPSsave - - Description forthcoming. - - - - - DPSscale: x @@ -2396,151 +1165,14 @@ - - DPSscalefont: - size - - Description forthcoming. - - - - - - - DPSscreenlist: - context - : - count - : - windows - - Description forthcoming. - - - - - - - DPSselectfont: - name - : - scale - - Description forthcoming. - - - - - - - DPSsendboolean: - it - - Description forthcoming. - - - - - - - DPSsendchararray: - s - : - size - - Description forthcoming. - - - - - - - DPSsendfloat: - it - - Description forthcoming. - - - - - - - DPSsendfloatarray: - a - : - size - - Description forthcoming. - - - - - - - DPSsendint: - it - - Description forthcoming. - - - - - - - DPSsendintarray: - a - : - size - - Description forthcoming. - - - - - - - DPSsendstring: - s - - Description forthcoming. - - - - - DPSsetalpha: a - Description forthcoming. - - - - - - - DPSsetautofill: - truth - : - num - - Description forthcoming. - - - - - - - DPSsetbbox: - llx - : - lly - : - urx - : - ury - - Description forthcoming. + Sets the alpha drawing component. For this and other + color setting commands that have no differentiation + between fill and stroke colors, both the fill and + stroke alpha are set. @@ -2556,29 +1188,11 @@ : k - Description forthcoming. - - - - - - - DPSsetcursorcolor: - fr - : - fg - : - fb - : - br - : - bg - : - bb - : - cid - - Description forthcoming. + Sets the current colorspace to Device CMYK and the + current color based on the indicated values. For + this and other color setting commands that have no + differentiation between fill and stroke + colors, both the fill and stroke colors are set. @@ -2598,35 +1212,6 @@ - - DPSsetdefaultdepthlimit: - limit - - Description forthcoming. - - - - - - - DPSsetdrawingfunction: - function - - Description forthcoming. - - - - - - - DPSsetexposurecolor - - Description forthcoming. - - - - - DPSsetflat: flatness @@ -2637,16 +1222,6 @@ - - DPSsetfont: - f - - Description forthcoming. - - - - - DPSsetgcdrawable: gc @@ -2663,29 +1238,12 @@ - - DPSsetgcdrawablecolor: - gc - : - draw - : - x - : - y - : - colorInfo - - Description forthcoming. - - - - - DPSsetgray: gray - Description forthcoming. + Sets the current colorspace to Device Gray and the + current gray value @@ -2695,16 +1253,9 @@ DPSsetgstate: gst - Description forthcoming. - - - - - - - DPSsethalftone - - Description forthcoming. + Makes the gstate indicated by the tag gst + the current gstate. Note that the gstate is copied, so + that changes to either gstate do not affect the other. @@ -2730,29 +1281,8 @@ : b - Description forthcoming. - - - - - - - DPSsetinputfocus: - win - - Description forthcoming. - - - - - - - DPSsetinputstate: - window - : - state - - Description forthcoming. + Sets the current colorspace to Device RGB and the + current color based on the indicated values @@ -2788,43 +1318,6 @@ - - DPSsetmatrix - - Description forthcoming. - - - - - - - DPSsetmaxsize: - width - : - height - : - win - - Description forthcoming. - - - - - - - DPSsetminsize: - width - : - height - : - win - - Description forthcoming. - - - - - DPSsetmiterlimit: limit @@ -2847,48 +1340,6 @@ - - DPSsetowner: - owner - : - win - - Description forthcoming. - - - - - - - DPSsetresizeincrements: - width - : - height - : - win - - Description forthcoming. - - - - - - - DPSsetrgbactual: - r - : - g - : - b - : - success - - Description forthcoming. - - - - - DPSsetrgbcolor: r @@ -2897,28 +1348,8 @@ : b - Description forthcoming. - - - - - - - DPSsetscreen - - Description forthcoming. - - - - - - - DPSsetsendexposed: - truth - : - num - - Description forthcoming. + Sets the current colorspace to Device RGB and the + current color based on the indicated values @@ -2934,51 +1365,6 @@ - - DPSsettransfer - - Description forthcoming. - - - - - - - DPSsetwindowdepthlimit: - limit - : - win - - Description forthcoming. - - - - - - - DPSsetwindowlevel: - level - : - win - - Description forthcoming. - - - - - - - DPSsetwindowtype: - type - : - win - - Description forthcoming. - - - - - DPSshow: s @@ -2989,36 +1375,6 @@ - - DPSshowcursor - - Description forthcoming. - - - - - - - DPSshowpage - - Description forthcoming. - - - - - - - DPSstandardcursor: - style - : - cid - - Description forthcoming. - - - - - DPSstroke @@ -3028,83 +1384,6 @@ - - DPSstrokepath - - Description forthcoming. - - - - - - - DPSstyleoffsets: - l - : - r - : - t - : - b - : - style - - Description forthcoming. - - - - - - - DPSstylewindow: - style - : - num - - Description forthcoming. - - - - - - - DPStermwindow: - num - - Description forthcoming. - - - - - - - DPStitlewindow: - window_title - : - num - - Description forthcoming. - - - - - - - DPStransform: - x1 - : - y1 - : - x2 - : - y2 - - Description forthcoming. - - - - - DPStranslate: x @@ -3117,118 +1396,6 @@ - - DPSueofill: - nums - : - n - : - ops - : - l - - Description forthcoming. - - - - - - - DPSufill: - nums - : - n - : - ops - : - l - - Description forthcoming. - - - - - - - DPSundefinefont: - name - - Description forthcoming. - - - - - - - DPSundefineuserobject: - index - - Description forthcoming. - - - - - - - DPSupdatewindow: - win - - Description forthcoming. - - - - - - - DPSustroke: - nums - : - n - : - ops - : - l - - Description forthcoming. - - - - - - - DPSustrokepath: - nums - : - n - : - ops - : - l - - Description forthcoming. - - - - - - - DPSviewclip - - Description forthcoming. - - - - - - - DPSviewclippath - - Description forthcoming. - - - - - DPSwidthshow: x @@ -3245,60 +1412,6 @@ - - DPSwindow: - x - : - y - : - w - : - h - : - type - : - num - - Description forthcoming. - - - - - - - DPSwindowdevice: - num - - Description forthcoming. - - - - - - - DPSwindowdeviceround: - num - - Description forthcoming. - - - - - - - DPSwindowlist: - context - : - count - : - windows - - Description forthcoming. - - - - - DPSxshow: s @@ -3342,7 +1455,171 @@ - setFont: + GSConcatCTM: + ctm + + Description forthcoming. + + + + + + + GSCurrentCTM + + Description forthcoming. + + + + + + + GSDefineGState + + Creates a copy of the current gstate and associates + it with a tag, which is given in the return value. This + tag can later be used in + + -DPSsetgstate: + + to set the gstate as being current again. + + + + + + + GSDrawImage: + rect + : + imageref + + Description forthcoming. + + + + + + + GSGetTextCTM + + Description forthcoming. + + + + + + + GSGetTextPosition + + Description forthcoming. + + + + + + + GSRectClipList: + rects + : + count + + Description forthcoming. + + + + + + + GSRectFillList: + rects + : + count + + Description forthcoming. + + + + + + + GSReplaceGState: + gst + + Replaces the gstate refered to by the tag + gst with the current gstate. The former + gstate is destroyed. + + + + + + + GSSendBezierPath: + path + + Description forthcoming. + + + + + + + GSSetCTM: + ctm + + Description forthcoming. + + + + + + + GSSetCharacterSpacing: + extra + + Description forthcoming. + + + + + + + GSSetFillColor: + values + + Sets the current color for fill operations. The + values array should have n components, + where n corresponds to the number of color components + required to specify the color in the current + colorspace. + + + + + + + GSSetFillColorspace: + dict + +

+ Sets the colorspace for fill operations based on + values in the supplied dictionary dict. +

+

+ For device colorspaces (GSDeviceGray, GSDeviceRGB, + GSDeviceCMYK), only the name of the + colorspace needs to be set using the + GSColorSpaceName key. +

+

Other colorspaces will be documented later

+
+ + + +
+ + GSSetFont: font Description forthcoming. @@ -3351,6 +1628,113 @@ + + GSSetFontSize: + size + + Description forthcoming. + + + + + + + GSSetStrokeColor: + values + + Sets the current color for fill operations. The + values array should have n components, + where n corresponds to the number of color components + required to specify the color in the current + colorspace. + + + + + + + GSSetStrokeColorspace: + dict + + Sets the colorspace for stroke operations based on the + values in the supplied dictionary. See + + -GSSetFillColorspace: + + for a description of the values that need to be + supplied + + + + + + + GSSetTextCTM: + ctm + + Description forthcoming. + + + + + + + GSSetTextDrawingMode: + mode + + Description forthcoming. + + + + + + + GSSetTextPosition: + loc + + Description forthcoming. + + + + + + + GSShowGlyphs: + glyphs + : + length + + Description forthcoming. + + + + + + + GSShowText: + string + : + length + + Description forthcoming. + + + + + + + GSUndefineGState: + gst + + Disassociates the tag gst with + it's gstate and destroys the gstate object. The tag + will no longer be valid and should not be used to + refer to the gstate again. + + + + + diff --git a/Documentation/gsdoc/NSGraphicsContext.html b/Documentation/gsdoc/NSGraphicsContext.html index d3d7a3f46..8fb3b2cc0 100644 --- a/Documentation/gsdoc/NSGraphicsContext.html +++ b/Documentation/gsdoc/NSGraphicsContext.html @@ -28,7 +28,7 @@

Contents -

  1. - Software documentation for the NSGraphicsContext class + NSGraphicsContext
  2. Software documentation for the @@ -46,9 +46,21 @@

-

- Software documentation for the NSGraphicsContext class -

+

NSGraphicsContext

+

+ + This is an abstract class which provides a framework for a + device independant drawing. +

+

+ + In addition, this class provides methods to perform the + actual drawing. As a convenience, you can also access + these through various function interfaces. One is a + Display Postscript interface using PS and DPS + opeterations. Another is a Quartz interface (not + yet written). +

NSGraphicsContext : NSObject

@@ -66,9 +78,66 @@

- Description forthcoming.

+
+

Instance variables

+

_antialias

+ @public _antialias;
+

+ + Description forthcoming. + +

+
+

_interp

+ @public _interp;
+

+ + Description forthcoming. + +

+
+

context_data

+ @public context_data;
+

+ + Description forthcoming. + +

+
+

context_info

+ @public context_info;
+

+ + Description forthcoming. + +

+
+

focus_stack

+ @public focus_stack;
+

+ + Description forthcoming. + +

+
+

methods

+ @public methods;
+

+ + Description forthcoming. + +

+
+

usedFonts

+ @public usedFonts;
+

+ + Description forthcoming. + +

+
Method summary -
+

currentContext

+ (NSGraphicsContext*) currentContext;
- Standards: NotOpenStep, GNUstep, MacOS-X

- Description forthcoming. + Returns the current context. Also see the + convienience function GSCurrentContext()


currentContextDrawingToScreen

+ (BOOL) currentContextDrawingToScreen;
- Standards: NotOpenStep, GNUstep, MacOS-X

- Description forthcoming. + Returns YES if the current context is + a display context


graphicsContextWithAttributes:

+ (NSGraphicsContext*) graphicsContextWithAttributes: (NSDictionary*)attributes;
- Standards: NotOpenStep, GNUstep, MacOS-X

- Description forthcoming. + +

+

+ + Create a graphics context with + attributes, which contains key/value + pairs which describe the specifics of how the + context is to be initialized. +

+

+


graphicsContextWithWindow:

+ (NSGraphicsContext*) graphicsContextWithWindow: (NSWindow*)aWindow;
- Standards: NotOpenStep, GNUstep, MacOS-X

- Description forthcoming. + Create graphics context with attributes speficied by + aWindow's device description.


restoreGraphicsState

+ (void) restoreGraphicsState;
- Standards: NotOpenStep, GNUstep, MacOS-X

Description forthcoming. @@ -137,7 +331,6 @@


saveGraphicsState

+ (void) saveGraphicsState;
- Standards: NotOpenStep, GNUstep, MacOS-X

Description forthcoming. @@ -146,25 +339,15 @@


setCurrentContext:

+ (void) setCurrentContext: (NSGraphicsContext*)context;
- Standards: NotOpenStep, GNUstep, MacOS-X

- Description forthcoming. + Set the current context that will handle + drawing.


setGraphicsState:

+ (void) setGraphicsState: (int)graphicsState;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

waitAllContexts

- + (void) waitAllContexts;
- Standards: NotOpenStep, GNUstep, MacOS-X

Description forthcoming. @@ -173,16 +356,6 @@


attributes

- (NSDictionary*) attributes;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

flush

- - (void) flush;
- Standards: NotOpenStep, GNUstep, MacOS-X

Description forthcoming. @@ -191,7 +364,14 @@


flushGraphics

- (void) flushGraphics;
- Standards: NotOpenStep, GNUstep, MacOS-X
+

+ + Description forthcoming. + +

+
+

focusStack

+ - (void*) focusStack;

Description forthcoming. @@ -200,7 +380,14 @@


graphicsPort

- (void*) graphicsPort;
- Standards: NotOpenStep, GNUstep, MacOS-X
+

+ + Description forthcoming. + +

+
+

imageInterpolation

+ - (NSImageInterpolation) imageInterpolation;

Description forthcoming. @@ -209,7 +396,6 @@


isDrawingToScreen

- (BOOL) isDrawingToScreen;
- Standards: NotOpenStep, GNUstep, MacOS-X

Description forthcoming. @@ -218,7 +404,6 @@


restoreGraphicsState

- (void) restoreGraphicsState;
- Standards: NotOpenStep, GNUstep, MacOS-X

Description forthcoming. @@ -227,16 +412,38 @@


saveGraphicsState

- (void) saveGraphicsState;
- Standards: NotOpenStep, GNUstep, MacOS-X

Description forthcoming.


-

wait

- - (void) wait;
- Standards: NotOpenStep, GNUstep, MacOS-X
+

setFocusStack:

+ - (void) setFocusStack: (void*)stack;
+

+ + Description forthcoming. + +

+
+

setImageInterpolation:

+ - (void) setImageInterpolation: (NSImageInterpolation)interpolation;
+

+ + Description forthcoming. + +

+
+

setShouldAntialias:

+ - (void) setShouldAntialias: (BOOL)antialias;
+

+ + Description forthcoming. + +

+
+

shouldAntialias

+ - (BOOL) shouldAntialias;

Description forthcoming. @@ -269,162 +476,83 @@

Method summary -
-

defaultContextWithInfo:

- + (NSGraphicsContext*) defaultContextWithInfo: (NSDictionary*)info;
- Standards: NotMacOS-X, NotOpenStep, GNUstep
-

- - Description forthcoming. - -

-
-

setDefaultContextClass:

+
+

setDefaultContextClass:

+ (void) setDefaultContextClass: (Class)defaultContextClass;
- Standards: NotMacOS-X, NotOpenStep, GNUstep

Description forthcoming.


-

_addDragTypes:toWindow:

- - (BOOL) _addDragTypes: (NSArray*)types toWindow: (NSWindow*)win;
- Standards: NotMacOS-X, NotOpenStep, GNUstep
+

contextDevice:

+ - (void) contextDevice: (int)num;

Description forthcoming.


-

_dragInfo

- - (id) _dragInfo;
- Standards: NotMacOS-X, NotOpenStep, GNUstep
-

- - Description forthcoming. - -

-
-

_dragTypesForWindow:

- - (NSCountedSet*) _dragTypesForWindow: (NSWindow*)win;
- Standards: NotMacOS-X, NotOpenStep, GNUstep
-

- - Description forthcoming. - -

-
-

_removeDragTypes:fromWindow:

- - (BOOL) _removeDragTypes: (NSArray*)types fromWindow: (NSWindow*)win;
- Standards: NotMacOS-X, NotOpenStep, GNUstep
-

- - Description forthcoming. - -

-
-

_slideImage:from:to:

- - (BOOL) _slideImage: (NSImage*)image from: (NSPoint)from to: (NSPoint)to;
- Standards: NotMacOS-X, NotOpenStep, GNUstep
-

- - Description forthcoming. - -

-
-

destroyContext

- - (void) destroyContext;
- Standards: NotMacOS-X, NotOpenStep, GNUstep
-

- - Description forthcoming. - -

-
-

focusView

+

focusView

- (NSView*) focusView;
- Standards: NotMacOS-X, NotOpenStep, GNUstep

Description forthcoming.


-

initWithContextInfo:

+

initWithContextInfo:

- (id) initWithContextInfo: (NSDictionary*)info;
- Standards: NotMacOS-X, NotOpenStep, GNUstep

Description forthcoming.


-

lockFocusView:inRect:

+

lockFocusView:inRect:

- (void) lockFocusView: (NSView*)aView inRect: (NSRect)rect;
- Standards: NotMacOS-X, NotOpenStep, GNUstep

Description forthcoming.


-

mutableData

- - (NSMutableData*) mutableData;
- Standards: NotMacOS-X, NotOpenStep, GNUstep
-

- - Description forthcoming. - -

-
-

resetUsedFonts

+

resetUsedFonts

- (void) resetUsedFonts;
- Standards: NotMacOS-X, NotOpenStep, GNUstep

Description forthcoming.


-

unlockFocusView:needsFlush:

+

unlockFocusView:needsFlush:

- (void) unlockFocusView: (NSView*)aView needsFlush: (BOOL)flush;
- Standards: NotMacOS-X, NotOpenStep, GNUstep

Description forthcoming.


-

useFont:

+

useFont:

- (void) useFont: (NSString*)fontName;
- Standards: NotMacOS-X, NotOpenStep, GNUstep

Description forthcoming.


-

usedFonts

+

usedFonts

- (NSSet*) usedFonts;
- Standards: NotMacOS-X, NotOpenStep, GNUstep

Description forthcoming. @@ -458,232 +586,47 @@

Method summary -
-

initializeBackend

- + (void) initializeBackend;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

GSAvailableDepthsForScreen:

- - (const NSWindowDepth*) GSAvailableDepthsForScreen: (int)screen;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

GSResolutionForScreen:

- - (NSSize) GSResolutionForScreen: (int)screen;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

GSWDefineAsUserObj

- - (unsigned int) GSWDefineAsUserObj;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

GSWSetViewIsFlipped:

+
+

GSWSetViewIsFlipped:

- (void) GSWSetViewIsFlipped: (BOOL)flipped;
- Standards: NotOpenStep, GNUstep, MacOS-X

Description forthcoming.


-

GSWViewIsFlipped

+

GSWViewIsFlipped

- (BOOL) GSWViewIsFlipped;
- Standards: NotOpenStep, GNUstep, MacOS-X

Description forthcoming.


-

GSWindowDepthForScreen:

- - (NSWindowDepth) GSWindowDepthForScreen: (int)screen;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

NSBeep

+

NSBeep

- (void) NSBeep;
- Standards: NotOpenStep, GNUstep, MacOS-X

Description forthcoming.


-

NSCopyBitmapFromGState:::

- - (void) NSCopyBitmapFromGState: (int)srcGstate : (NSRect)srcRect : (NSRect)destRect;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

NSCopyBits:::

- - (void) NSCopyBits: (int)srcGstate : (NSRect)srcRect : (NSPoint)destPoint;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

NSDottedFrameRect:

- - (void) NSDottedFrameRect: (const NSRect)aRect;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

NSDrawBitmap:::::::::::

+

NSDrawBitmap:::::::::::

- (void) NSDrawBitmap: (NSRect)rect : (int)pixelsWide : (int)pixelsHigh : (int)bitsPerSample : (int)samplesPerPixel : (int)bitsPerPixel : (int)bytesPerRow : (BOOL)isPlanar : (BOOL)hasAlpha : (NSString*)colorSpaceName : (const unsigned char*const[5])data;
- Standards: NotOpenStep, GNUstep, MacOS-X

Description forthcoming.


-

NSEraseRect:

- - (void) NSEraseRect: (NSRect)aRect;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

NSFrameRect:

- - (void) NSFrameRect: (const NSRect)aRect;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

NSFrameRectWithWidth::

- - (void) NSFrameRectWithWidth: (const NSRect)aRect : (float)frameWidth;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

NSHighlightRect:

- - (void) NSHighlightRect: (NSRect)aRect;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

NSReadPixel:

+

NSReadPixel:

- (NSColor*) NSReadPixel: (NSPoint)location;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

NSRectClip:

- - (void) NSRectClip: (NSRect)aRect;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

NSRectClipList::

- - (void) NSRectClipList: (const NSRect*)rects : (int)count;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

NSRectFill:

- - (void) NSRectFill: (NSRect)aRect;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

NSRectFillList::

- - (void) NSRectFillList: (const NSRect*)rects : (int)count;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

NSRectFillListWithGrays:::

- - (void) NSRectFillListWithGrays: (const NSRect*)rects : (const float*)grays : (int)count;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

NSRectFillUsingOperation::

- - (void) NSRectFillUsingOperation: (NSRect)aRect : (NSCompositingOperation)op;
- Standards: NotOpenStep, GNUstep, MacOS-X

Description forthcoming. @@ -716,2286 +659,991 @@

Method summary -
-

DPSDiscardEventsMatchingMask:beforeEvent:

- - (void) DPSDiscardEventsMatchingMask: (unsigned)mask beforeEvent: (NSEvent*)limit;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

DPSFontDirectory

- - (void) DPSFontDirectory;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

DPSGetEventMatchingMask:beforeDate:inMode:dequeue:

- - (NSEvent*) DPSGetEventMatchingMask: (unsigned)mask beforeDate: (NSDate*)limit inMode: (NSString*)mode dequeue: (BOOL)flag;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

DPSISOLatin1Encoding

- - (void) DPSISOLatin1Encoding;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

DPSPostEvent:atStart:

- - (void) DPSPostEvent: (NSEvent*)anEvent atStart: (BOOL)flag;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

DPSPrintf::

+
+

DPSPrintf::

- (void) DPSPrintf: (char*)fmt : (va_list)args;
- Standards: NotOpenStep, GNUstep, MacOS-X

Description forthcoming.


-

DPSSharedFontDirectory

- - (void) DPSSharedFontDirectory;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

DPSStandardEncoding

- - (void) DPSStandardEncoding;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

DPSWriteData::

+

DPSWriteData::

- (void) DPSWriteData: (char*)buf : (unsigned int)count;
- Standards: NotOpenStep, GNUstep, MacOS-X

Description forthcoming.


-

DPSalphaimage

- - (void) DPSalphaimage;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

DPSarc:::::

+

DPSarc:::::

- (void) DPSarc: (float)x : (float)y : (float)r : (float)angle1 : (float)angle2;
- Standards: NotOpenStep, GNUstep, MacOS-X

Description forthcoming.


-

DPSarcn:::::

+

DPSarcn:::::

- (void) DPSarcn: (float)x : (float)y : (float)r : (float)angle1 : (float)angle2;
- Standards: NotOpenStep, GNUstep, MacOS-X

Description forthcoming.


-

DPSarct:::::

+

DPSarct:::::

- (void) DPSarct: (float)x1 : (float)y1 : (float)x2 : (float)y2 : (float)r;
- Standards: NotOpenStep, GNUstep, MacOS-X

Description forthcoming.


-

DPSarcto:::::::::

- - (void) DPSarcto: (float)x1 : (float)y1 : (float)x2 : (float)y2 : (float)r : (float*)xt1 : (float*)yt1 : (float*)xt2 : (float*)yt2;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

DPSashow:::

+

DPSashow:::

- (void) DPSashow: (float)x : (float)y : (const char*)s;
- Standards: NotOpenStep, GNUstep, MacOS-X

Description forthcoming.


-

DPSawidthshow::::::

+

DPSawidthshow::::::

- (void) DPSawidthshow: (float)cx : (float)cy : (int)c : (float)ax : (float)ay : (const char*)s;
- Standards: NotOpenStep, GNUstep, MacOS-X

Description forthcoming.


-

DPScapturegstate:

- - (void) DPScapturegstate: (int*)gst;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

DPScapturemouse:

- - (void) DPScapturemouse: (int)win;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

DPScharpath::

+

DPScharpath::

- (void) DPScharpath: (const char*)s : (int)b;
- Standards: NotOpenStep, GNUstep, MacOS-X

Description forthcoming.


-

DPSclear

- - (void) DPSclear;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

DPScleartomark

- - (void) DPScleartomark;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

DPSclip

+

DPSclip

- (void) DPSclip;
- Standards: NotOpenStep, GNUstep, MacOS-X

Description forthcoming.


-

DPSclippath

- - (void) DPSclippath;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

DPSclosepath

+

DPSclosepath

- (void) DPSclosepath;
- Standards: NotOpenStep, GNUstep, MacOS-X

Description forthcoming.


-

DPScolorimage

- - (void) DPScolorimage;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

DPScomposite::::::::

+

DPScomposite::::::::

- (void) DPScomposite: (float)x : (float)y : (float)w : (float)h : (int)gstateNum : (float)dx : (float)dy : (int)op;
- Standards: NotOpenStep, GNUstep, MacOS-X

Description forthcoming.


-

DPScompositerect:::::

+

DPScompositerect:::::

- (void) DPScompositerect: (float)x : (float)y : (float)w : (float)h : (int)op;
- Standards: NotOpenStep, GNUstep, MacOS-X

Description forthcoming.


-

DPSconcat:

+

DPSconcat:

- (void) DPSconcat: (const float*)m;
- Standards: NotOpenStep, GNUstep, MacOS-X

Description forthcoming.


-

DPSconcatmatrix

- - (void) DPSconcatmatrix;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

DPScopy:

- - (void) DPScopy: (int)n;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

DPScopypage

- - (void) DPScopypage;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

DPScount:

- - (void) DPScount: (int*)n;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

DPScountscreenlist::

- - (void) DPScountscreenlist: (int)context : (int*)count;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

DPScounttomark:

- - (void) DPScounttomark: (int*)n;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

DPScountwindowlist::

- - (void) DPScountwindowlist: (int)context : (int*)count;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

DPScurrentalpha:

+

DPScurrentalpha:

- (void) DPScurrentalpha: (float*)a;
- Standards: NotOpenStep, GNUstep, MacOS-X

- Description forthcoming. + Returns the current alpha component


-

DPScurrentcacheparams

- - (void) DPScurrentcacheparams;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

DPScurrentcmykcolor::::

+

DPScurrentcmykcolor::::

- (void) DPScurrentcmykcolor: (float*)c : (float*)m : (float*)y : (float*)k;
- Standards: NotOpenStep, GNUstep, MacOS-X

- Description forthcoming. + Returns the current color according to the CMYK + color model


-

DPScurrentdash

- - (void) DPScurrentdash;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

DPScurrentdefaultdepthlimit:

- - (void) DPScurrentdefaultdepthlimit: (int*)limit;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

DPScurrentdrawingfunction:

- - (void) DPScurrentdrawingfunction: (int*)function;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

DPScurrentflat:

+

DPScurrentflat:

- (void) DPScurrentflat: (float*)flatness;
- Standards: NotOpenStep, GNUstep, MacOS-X

Description forthcoming.


-

DPScurrentfont

- - (void) DPScurrentfont;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

DPScurrentgcdrawable::::

+

DPScurrentgcdrawable::::

- (void) DPScurrentgcdrawable: (void**)gc : (void**)draw : (int*)x : (int*)y;
- Standards: NotOpenStep, GNUstep, MacOS-X

Description forthcoming.


-

DPScurrentgcdrawablecolor:::::

- - (void) DPScurrentgcdrawablecolor: (void**)gc : (void**)draw : (int*)x : (int*)y : (int*)colorInfo;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

DPScurrentgray:

+

DPScurrentgray:

- (void) DPScurrentgray: (float*)gray;
- Standards: NotOpenStep, GNUstep, MacOS-X

- Description forthcoming. + Returns the gray-level equivalent in the current + color space. The value may depend on the current + color space and may be 0 if the current color space + has no notion of a gray value


-

DPScurrentgstate:

+

DPScurrentgstate:

- (void) DPScurrentgstate: (int)gst;
- Standards: NotOpenStep, GNUstep, MacOS-X

- Description forthcoming. + Depcreciated. Same as + + -GSReplaceGState: + +


-

DPScurrenthalftone

- - (void) DPScurrenthalftone;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

DPScurrenthalftonephase::

- - (void) DPScurrenthalftonephase: (float*)x : (float*)y;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

DPScurrenthsbcolor:::

+

DPScurrenthsbcolor:::

- (void) DPScurrenthsbcolor: (float*)h : (float*)s : (float*)b;
- Standards: NotOpenStep, GNUstep, MacOS-X

- Description forthcoming. + Returns the current color according to the HSB + color model.


-

DPScurrentlinecap:

+

DPScurrentlinecap:

- (void) DPScurrentlinecap: (int*)linecap;
- Standards: NotOpenStep, GNUstep, MacOS-X

Description forthcoming.


-

DPScurrentlinejoin:

+

DPScurrentlinejoin:

- (void) DPScurrentlinejoin: (int*)linejoin;
- Standards: NotOpenStep, GNUstep, MacOS-X

Description forthcoming.


-

DPScurrentlinewidth:

+

DPScurrentlinewidth:

- (void) DPScurrentlinewidth: (float*)width;
- Standards: NotOpenStep, GNUstep, MacOS-X

Description forthcoming.


-

DPScurrentmatrix

- - (void) DPScurrentmatrix;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

DPScurrentmiterlimit:

+

DPScurrentmiterlimit:

- (void) DPScurrentmiterlimit: (float*)limit;
- Standards: NotOpenStep, GNUstep, MacOS-X

Description forthcoming.


-

DPScurrentoffset::

+

DPScurrentoffset::

- (void) DPScurrentoffset: (int*)x : (int*)y;
- Standards: NotOpenStep, GNUstep, MacOS-X

Description forthcoming.


-

DPScurrentowner::

- - (void) DPScurrentowner: (int)win : (int*)owner;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

DPScurrentpoint::

+

DPScurrentpoint::

- (void) DPScurrentpoint: (float*)x : (float*)y;
- Standards: NotOpenStep, GNUstep, MacOS-X

Description forthcoming.


-

DPScurrentrgbcolor:::

+

DPScurrentrgbcolor:::

- (void) DPScurrentrgbcolor: (float*)r : (float*)g : (float*)b;
- Standards: NotOpenStep, GNUstep, MacOS-X

- Description forthcoming. + Returns the current color according to the RGB + color model


-

DPScurrentscreen

- - (void) DPScurrentscreen;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

DPScurrentserverdevice:

- - (void) DPScurrentserverdevice: (void**)serverptr;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

DPScurrentstrokeadjust:

+

DPScurrentstrokeadjust:

- (void) DPScurrentstrokeadjust: (int*)b;
- Standards: NotOpenStep, GNUstep, MacOS-X

Description forthcoming.


-

DPScurrenttransfer

- - (void) DPScurrenttransfer;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

DPScurrentwindow:

- - (void) DPScurrentwindow: (int*)num;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

DPScurrentwindowalpha::

- - (void) DPScurrentwindowalpha: (int)win : (int*)alpha;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

DPScurrentwindowbounds:::::

- - (void) DPScurrentwindowbounds: (int)num : (float*)x : (float*)y : (float*)w : (float*)h;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

DPScurrentwindowdepth::

- - (void) DPScurrentwindowdepth: (int)win : (int*)depth;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

DPScurrentwindowdepthlimit::

- - (void) DPScurrentwindowdepthlimit: (int)win : (int*)limit;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

DPScurrentwindowdevice::

- - (void) DPScurrentwindowdevice: (int)win : (void**)windowptr;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

DPScurrentwindowlevel::

- - (void) DPScurrentwindowlevel: (int)win : (int*)level;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

DPScurveto::::::

+

DPScurveto::::::

- (void) DPScurveto: (float)x1 : (float)y1 : (float)x2 : (float)y2 : (float)x3 : (float)y3;
- Standards: NotOpenStep, GNUstep, MacOS-X

Description forthcoming.


-

DPSdefaultmatrix

- - (void) DPSdefaultmatrix;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

DPSdefinefont

- - (void) DPSdefinefont;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

DPSdefineuserobject

- - (void) DPSdefineuserobject;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

DPSdissolve::::::::

+

DPSdissolve::::::::

- (void) DPSdissolve: (float)x : (float)y : (float)w : (float)h : (int)gstateNum : (float)dx : (float)dy : (float)delta;
- Standards: NotOpenStep, GNUstep, MacOS-X

Description forthcoming.


-

DPSdocedited::

- - (void) DPSdocedited: (int)edited : (int)window;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

DPSdtransform::::

- - (void) DPSdtransform: (float)x1 : (float)y1 : (float*)x2 : (float*)y2;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

DPSdup

- - (void) DPSdup;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

DPSeoclip

+

DPSeoclip

- (void) DPSeoclip;
- Standards: NotOpenStep, GNUstep, MacOS-X

Description forthcoming.


-

DPSeofill

+

DPSeofill

- (void) DPSeofill;
- Standards: NotOpenStep, GNUstep, MacOS-X

Description forthcoming.


-

DPSeoviewclip

- - (void) DPSeoviewclip;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

DPSerasepage

- - (void) DPSerasepage;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

DPSexch

- - (void) DPSexch;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

DPSexecstack

- - (void) DPSexecstack;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

DPSexecuserobject:

- - (void) DPSexecuserobject: (int)index;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

DPSfill

+

DPSfill

- (void) DPSfill;
- Standards: NotOpenStep, GNUstep, MacOS-X

Description forthcoming.


-

DPSfindfont:

- - (void) DPSfindfont: (const char*)name;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

DPSfindwindow::::::::

- - (void) DPSfindwindow: (float)x : (float)y : (int)op : (int)otherWin : (float*)lx : (float*)ly : (int*)winFound : (int*)didFind;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

DPSflattenpath

+

DPSflattenpath

- (void) DPSflattenpath;
- Standards: NotOpenStep, GNUstep, MacOS-X

Description forthcoming.


-

DPSflush

- - (void) DPSflush;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

DPSflushwindowrect:::::

- - (void) DPSflushwindowrect: (float)x : (float)y : (float)w : (float)h : (int)win;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

DPSfrontwindow:

- - (void) DPSfrontwindow: (int*)num;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

DPSget

- - (void) DPSget;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

DPSgetboolean:

- - (void) DPSgetboolean: (int*)it;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

DPSgetchararray::

- - (void) DPSgetchararray: (int)size : (char*)s;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

DPSgetfloat:

- - (void) DPSgetfloat: (float*)it;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

DPSgetfloatarray::

- - (void) DPSgetfloatarray: (int)size : (float*)a;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

DPSgetint:

- - (void) DPSgetint: (int*)it;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

DPSgetintarray::

- - (void) DPSgetintarray: (int)size : (int*)a;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

DPSgetstring:

- - (void) DPSgetstring: (char*)s;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

DPSgrestore

+

DPSgrestore

- (void) DPSgrestore;
- Standards: NotOpenStep, GNUstep, MacOS-X

- Description forthcoming. + Pops a previously saved gstate from the gstate stack + and makes it current. Drawing information in the + previously saved gstate becomes the current + information


-

DPSgrestoreall

- - (void) DPSgrestoreall;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

DPSgsave

+

DPSgsave

- (void) DPSgsave;
- Standards: NotOpenStep, GNUstep, MacOS-X

- Description forthcoming. + Saves (pushes) a copy of the current gstate + information onto the gstate stack. This saves + drawing information contained in the gstate, such + as the current path, ctm and colors.


-

DPSgstate

+

DPSgstate

- (void) DPSgstate;
- Standards: NotOpenStep, GNUstep, MacOS-X

- Description forthcoming. + Depreciated. Use + + -DPSDefineGState + + + to create a gstate it and tag it with a id tag.


-

DPShidecursor

- - (void) DPShidecursor;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

DPSidentmatrix

- - (void) DPSidentmatrix;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

DPSidtransform::::

- - (void) DPSidtransform: (float)x1 : (float)y1 : (float*)x2 : (float*)y2;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

DPSimage

- - (void) DPSimage;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

DPSimagecursor:::::::

- - (void) DPSimagecursor: (float)hotx : (float)hoty : (float)w : (float)h : (int)colors : (const char*)image : (void**)cid;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

DPSimagemask

- - (void) DPSimagemask;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

DPSindex:

- - (void) DPSindex: (int)i;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

DPSinitclip

+

DPSinitclip

- (void) DPSinitclip;
- Standards: NotOpenStep, GNUstep, MacOS-X

Description forthcoming.


-

DPSinitgraphics

+

DPSinitgraphics

- (void) DPSinitgraphics;
- Standards: NotOpenStep, GNUstep, MacOS-X

Description forthcoming.


-

DPSinitmatrix

+

DPSinitmatrix

- (void) DPSinitmatrix;
- Standards: NotOpenStep, GNUstep, MacOS-X

Description forthcoming.


-

DPSinitviewclip

- - (void) DPSinitviewclip;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

DPSinvertmatrix

- - (void) DPSinvertmatrix;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

DPSitransform::::

- - (void) DPSitransform: (float)x1 : (float)y1 : (float*)x2 : (float*)y2;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

DPSkshow:

- - (void) DPSkshow: (const char*)s;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

DPSlineto::

+

DPSlineto::

- (void) DPSlineto: (float)x : (float)y;
- Standards: NotOpenStep, GNUstep, MacOS-X

Description forthcoming.


-

DPSmakefont

- - (void) DPSmakefont;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

DPSmark

- - (void) DPSmark;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

DPSmatrix

- - (void) DPSmatrix;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

DPSminiwindow:

- - (void) DPSminiwindow: (int)num;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

DPSmouselocation::

- - (void) DPSmouselocation: (float*)x : (float*)y;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

DPSmoveto::

+

DPSmoveto::

- (void) DPSmoveto: (float)x : (float)y;
- Standards: NotOpenStep, GNUstep, MacOS-X

Description forthcoming.


-

DPSmovewindow:::

- - (void) DPSmovewindow: (float)x : (float)y : (int)num;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

DPSnewpath

+

DPSnewpath

- (void) DPSnewpath;
- Standards: NotOpenStep, GNUstep, MacOS-X

Description forthcoming.


-

DPSnull

- - (void) DPSnull;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

DPSorderwindow:::

- - (void) DPSorderwindow: (int)op : (int)otherWin : (int)winNum;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

DPSpathbbox::::

+

DPSpathbbox::::

- (void) DPSpathbbox: (float*)llx : (float*)lly : (float*)urx : (float*)ury;
- Standards: NotOpenStep, GNUstep, MacOS-X

Description forthcoming.


-

DPSpathforall

- - (void) DPSpathforall;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

DPSplacewindow:::::

- - (void) DPSplacewindow: (float)x : (float)y : (float)w : (float)h : (int)win;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

DPSpop

- - (void) DPSpop;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

DPSput

- - (void) DPSput;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

DPSrcurveto::::::

+

DPSrcurveto::::::

- (void) DPSrcurveto: (float)x1 : (float)y1 : (float)x2 : (float)y2 : (float)x3 : (float)y3;
- Standards: NotOpenStep, GNUstep, MacOS-X

Description forthcoming.


-

DPSreadimage

- - (void) DPSreadimage;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

DPSrectclip::::

+

DPSrectclip::::

- (void) DPSrectclip: (float)x : (float)y : (float)w : (float)h;
- Standards: NotOpenStep, GNUstep, MacOS-X

Description forthcoming.


-

DPSrectfill::::

+

DPSrectfill::::

- (void) DPSrectfill: (float)x : (float)y : (float)w : (float)h;
- Standards: NotOpenStep, GNUstep, MacOS-X

Description forthcoming.


-

DPSrectstroke::::

+

DPSrectstroke::::

- (void) DPSrectstroke: (float)x : (float)y : (float)w : (float)h;
- Standards: NotOpenStep, GNUstep, MacOS-X

Description forthcoming.


-

DPSrectviewclip::::

- - (void) DPSrectviewclip: (float)x : (float)y : (float)w : (float)h;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

DPSreleasemouse

- - (void) DPSreleasemouse;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

DPSrestore

- - (void) DPSrestore;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

DPSreversepath

+

DPSreversepath

- (void) DPSreversepath;
- Standards: NotOpenStep, GNUstep, MacOS-X

Description forthcoming.


-

DPSrlineto::

+

DPSrlineto::

- (void) DPSrlineto: (float)x : (float)y;
- Standards: NotOpenStep, GNUstep, MacOS-X

Description forthcoming.


-

DPSrmoveto::

+

DPSrmoveto::

- (void) DPSrmoveto: (float)x : (float)y;
- Standards: NotOpenStep, GNUstep, MacOS-X

Description forthcoming.


-

DPSroll::

- - (void) DPSroll: (int)n : (int)j;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

DPSrotate:

+

DPSrotate:

- (void) DPSrotate: (float)angle;
- Standards: NotOpenStep, GNUstep, MacOS-X

Description forthcoming.


-

DPSsave

- - (void) DPSsave;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

DPSscale::

+

DPSscale::

- (void) DPSscale: (float)x : (float)y;
- Standards: NotOpenStep, GNUstep, MacOS-X

Description forthcoming.


-

DPSscalefont:

- - (void) DPSscalefont: (float)size;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

DPSscreenlist:::

- - (void) DPSscreenlist: (int)context : (int)count : (int*)windows;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

DPSselectfont::

- - (void) DPSselectfont: (const char*)name : (float)scale;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

DPSsendboolean:

- - (void) DPSsendboolean: (int)it;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

DPSsendchararray::

- - (void) DPSsendchararray: (const char*)s : (int)size;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

DPSsendfloat:

- - (void) DPSsendfloat: (float)it;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

DPSsendfloatarray::

- - (void) DPSsendfloatarray: (const float*)a : (int)size;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

DPSsendint:

- - (void) DPSsendint: (int)it;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

DPSsendintarray::

- - (void) DPSsendintarray: (const int*)a : (int)size;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

DPSsendstring:

- - (void) DPSsendstring: (const char*)s;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

DPSsetalpha:

+

DPSsetalpha:

- (void) DPSsetalpha: (float)a;
- Standards: NotOpenStep, GNUstep, MacOS-X

- Description forthcoming. + Sets the alpha drawing component. For this and other + color setting commands that have no differentiation + between fill and stroke colors, both the fill and + stroke alpha are set.


-

DPSsetautofill::

- - (void) DPSsetautofill: (int)truth : (int)num;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

DPSsetbbox::::

- - (void) DPSsetbbox: (float)llx : (float)lly : (float)urx : (float)ury;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

DPSsetcmykcolor::::

+

DPSsetcmykcolor::::

- (void) DPSsetcmykcolor: (float)c : (float)m : (float)y : (float)k;
- Standards: NotOpenStep, GNUstep, MacOS-X

- Description forthcoming. + Sets the current colorspace to Device CMYK and the + current color based on the indicated values. For + this and other color setting commands that have no + differentiation between fill and stroke + colors, both the fill and stroke colors are set.


-

DPSsetcursorcolor:::::::

- - (void) DPSsetcursorcolor: (float)fr : (float)fg : (float)fb : (float)br : (float)bg : (float)bb : (void*)cid;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

DPSsetdash:::

+

DPSsetdash:::

- (void) DPSsetdash: (const float*)pat : (int)size : (float)offset;
- Standards: NotOpenStep, GNUstep, MacOS-X

Description forthcoming.


-

DPSsetdefaultdepthlimit:

- - (void) DPSsetdefaultdepthlimit: (int)limit;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

DPSsetdrawingfunction:

- - (void) DPSsetdrawingfunction: (int)function;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

DPSsetexposurecolor

- - (void) DPSsetexposurecolor;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

DPSsetflat:

+

DPSsetflat:

- (void) DPSsetflat: (float)flatness;
- Standards: NotOpenStep, GNUstep, MacOS-X

Description forthcoming.


-

DPSsetfont:

- - (void) DPSsetfont: (int)f;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

DPSsetgcdrawable::::

+

DPSsetgcdrawable::::

- (void) DPSsetgcdrawable: (void*)gc : (void*)draw : (int)x : (int)y;
- Standards: NotOpenStep, GNUstep, MacOS-X

Description forthcoming.


-

DPSsetgcdrawablecolor:::::

- - (void) DPSsetgcdrawablecolor: (void*)gc : (void*)draw : (int)x : (int)y : (const int*)colorInfo;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

DPSsetgray:

+

DPSsetgray:

- (void) DPSsetgray: (float)gray;
- Standards: NotOpenStep, GNUstep, MacOS-X

- Description forthcoming. + Sets the current colorspace to Device Gray and the + current gray value


-

DPSsetgstate:

+

DPSsetgstate:

- (void) DPSsetgstate: (int)gst;
- Standards: NotOpenStep, GNUstep, MacOS-X

- Description forthcoming. + Makes the gstate indicated by the tag gst + the current gstate. Note that the gstate is copied, so + that changes to either gstate do not affect the other.


-

DPSsethalftone

- - (void) DPSsethalftone;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

DPSsethalftonephase::

+

DPSsethalftonephase::

- (void) DPSsethalftonephase: (float)x : (float)y;
- Standards: NotOpenStep, GNUstep, MacOS-X

Description forthcoming.


-

DPSsethsbcolor:::

+

DPSsethsbcolor:::

- (void) DPSsethsbcolor: (float)h : (float)s : (float)b;
- Standards: NotOpenStep, GNUstep, MacOS-X

- Description forthcoming. + Sets the current colorspace to Device RGB and the + current color based on the indicated values


-

DPSsetinputfocus:

- - (void) DPSsetinputfocus: (int)win;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

DPSsetinputstate::

- - (void) DPSsetinputstate: (int)window : (int)state;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

DPSsetlinecap:

+

DPSsetlinecap:

- (void) DPSsetlinecap: (int)linecap;
- Standards: NotOpenStep, GNUstep, MacOS-X

Description forthcoming.


-

DPSsetlinejoin:

+

DPSsetlinejoin:

- (void) DPSsetlinejoin: (int)linejoin;
- Standards: NotOpenStep, GNUstep, MacOS-X

Description forthcoming.


-

DPSsetlinewidth:

+

DPSsetlinewidth:

- (void) DPSsetlinewidth: (float)width;
- Standards: NotOpenStep, GNUstep, MacOS-X

Description forthcoming.


-

DPSsetmatrix

- - (void) DPSsetmatrix;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

DPSsetmaxsize:::

- - (void) DPSsetmaxsize: (float)width : (float)height : (int)win;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

DPSsetminsize:::

- - (void) DPSsetminsize: (float)width : (float)height : (int)win;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

DPSsetmiterlimit:

+

DPSsetmiterlimit:

- (void) DPSsetmiterlimit: (float)limit;
- Standards: NotOpenStep, GNUstep, MacOS-X

Description forthcoming.


-

DPSsetoffset::

+

DPSsetoffset::

- (void) DPSsetoffset: (short int)x : (short int)y;
- Standards: NotOpenStep, GNUstep, MacOS-X

Description forthcoming.


-

DPSsetowner::

- - (void) DPSsetowner: (int)owner : (int)win;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

DPSsetresizeincrements:::

- - (void) DPSsetresizeincrements: (float)width : (float)height : (int)win;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

DPSsetrgbactual::::

- - (void) DPSsetrgbactual: (double)r : (double)g : (double)b : (int*)success;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

DPSsetrgbcolor:::

+

DPSsetrgbcolor:::

- (void) DPSsetrgbcolor: (float)r : (float)g : (float)b;
- Standards: NotOpenStep, GNUstep, MacOS-X

- Description forthcoming. + Sets the current colorspace to Device RGB and the + current color based on the indicated values


-

DPSsetscreen

- - (void) DPSsetscreen;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

DPSsetsendexposed::

- - (void) DPSsetsendexposed: (int)truth : (int)num;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

DPSsetstrokeadjust:

+

DPSsetstrokeadjust:

- (void) DPSsetstrokeadjust: (int)b;
- Standards: NotOpenStep, GNUstep, MacOS-X

Description forthcoming.


-

DPSsettransfer

- - (void) DPSsettransfer;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

DPSsetwindowdepthlimit::

- - (void) DPSsetwindowdepthlimit: (int)limit : (int)win;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

DPSsetwindowlevel::

- - (void) DPSsetwindowlevel: (int)level : (int)win;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

DPSsetwindowtype::

- - (void) DPSsetwindowtype: (int)type : (int)win;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

DPSshow:

+

DPSshow:

- (void) DPSshow: (const char*)s;
- Standards: NotOpenStep, GNUstep, MacOS-X

Description forthcoming.


-

DPSshowcursor

- - (void) DPSshowcursor;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

DPSshowpage

- - (void) DPSshowpage;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

DPSstandardcursor::

- - (void) DPSstandardcursor: (int)style : (void**)cid;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

DPSstroke

+

DPSstroke

- (void) DPSstroke;
- Standards: NotOpenStep, GNUstep, MacOS-X

Description forthcoming.


-

DPSstrokepath

- - (void) DPSstrokepath;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

DPSstyleoffsets:::::

- - (void) DPSstyleoffsets: (float*)l : (float*)r : (float*)t : (float*)b : (int)style;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

DPSstylewindow::

- - (void) DPSstylewindow: (int)style : (int)num;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

DPStermwindow:

- - (void) DPStermwindow: (int)num;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

DPStitlewindow::

- - (void) DPStitlewindow: (const char*)window_title : (int)num;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

DPStransform::::

- - (void) DPStransform: (float)x1 : (float)y1 : (float*)x2 : (float*)y2;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

DPStranslate::

+

DPStranslate::

- (void) DPStranslate: (float)x : (float)y;
- Standards: NotOpenStep, GNUstep, MacOS-X

Description forthcoming.


-

DPSueofill::::

- - (void) DPSueofill: (const char*)nums : (int)n : (const char*)ops : (int)l;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

DPSufill::::

- - (void) DPSufill: (const char*)nums : (int)n : (const char*)ops : (int)l;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

DPSundefinefont:

- - (void) DPSundefinefont: (const char*)name;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

DPSundefineuserobject:

- - (void) DPSundefineuserobject: (int)index;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

DPSupdatewindow:

- - (void) DPSupdatewindow: (int)win;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

DPSustroke::::

- - (void) DPSustroke: (const char*)nums : (int)n : (const char*)ops : (int)l;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

DPSustrokepath::::

- - (void) DPSustrokepath: (const char*)nums : (int)n : (const char*)ops : (int)l;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

DPSviewclip

- - (void) DPSviewclip;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

DPSviewclippath

- - (void) DPSviewclippath;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

DPSwidthshow::::

+

DPSwidthshow::::

- (void) DPSwidthshow: (float)x : (float)y : (int)c : (const char*)s;
- Standards: NotOpenStep, GNUstep, MacOS-X

Description forthcoming.


-

DPSwindow::::::

- - (void) DPSwindow: (float)x : (float)y : (float)w : (float)h : (int)type : (int*)num;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

DPSwindowdevice:

- - (void) DPSwindowdevice: (int)num;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

DPSwindowdeviceround:

- - (void) DPSwindowdeviceround: (int)num;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

DPSwindowlist:::

- - (void) DPSwindowlist: (int)context : (int)count : (int*)windows;
- Standards: NotOpenStep, GNUstep, MacOS-X
-

- - Description forthcoming. - -

-
-

DPSxshow:::

+

DPSxshow:::

- (void) DPSxshow: (const char*)s : (const float*)numarray : (int)size;
- Standards: NotOpenStep, GNUstep, MacOS-X

Description forthcoming.


-

DPSxyshow:::

+

DPSxyshow:::

- (void) DPSxyshow: (const char*)s : (const float*)numarray : (int)size;
- Standards: NotOpenStep, GNUstep, MacOS-X

Description forthcoming.


-

DPSyshow:::

+

DPSyshow:::

- (void) DPSyshow: (const char*)s : (const float*)numarray : (int)size;
- Standards: NotOpenStep, GNUstep, MacOS-X

Description forthcoming.


-

setFont:

- - (void) setFont: (NSFont*)font;
- Standards: NotOpenStep, GNUstep, MacOS-X
+

GSConcatCTM:

+ - (void) GSConcatCTM: (NSAffineTransform*)ctm;

Description forthcoming. +

+
+

GSCurrentCTM

+ - (NSAffineTransform*) GSCurrentCTM;
+

+ + Description forthcoming. + +

+
+

GSDefineGState

+ - (int) GSDefineGState;
+

+ + Creates a copy of the current gstate and associates + it with a tag, which is given in the return value. This + tag can later be used in + + -DPSsetgstate: + + + to set the gstate as being current again. + +

+
+

GSDrawImage::

+ - (void) GSDrawImage: (NSRect)rect : (void*)imageref;
+

+ + Description forthcoming. + +

+
+

GSGetTextCTM

+ - (NSAffineTransform*) GSGetTextCTM;
+

+ + Description forthcoming. + +

+
+

GSGetTextPosition

+ - (NSPoint) GSGetTextPosition;
+

+ + Description forthcoming. + +

+
+

GSRectClipList::

+ - (void) GSRectClipList: (const NSRect*)rects : (int)count;
+

+ + Description forthcoming. + +

+
+

GSRectFillList::

+ - (void) GSRectFillList: (const NSRect*)rects : (int)count;
+

+ + Description forthcoming. + +

+
+

GSReplaceGState:

+ - (void) GSReplaceGState: (int)gst;
+

+ + Replaces the gstate refered to by the tag + gst with the current gstate. The former + gstate is destroyed. + +

+
+

GSSendBezierPath:

+ - (void) GSSendBezierPath: (NSBezierPath*)path;
+

+ + Description forthcoming. + +

+
+

GSSetCTM:

+ - (void) GSSetCTM: (NSAffineTransform*)ctm;
+

+ + Description forthcoming. + +

+
+

GSSetCharacterSpacing:

+ - (void) GSSetCharacterSpacing: (float)extra;
+

+ + Description forthcoming. + +

+
+

GSSetFillColor:

+ - (void) GSSetFillColor: (float*)values;
+

+ + Sets the current color for fill operations. The + values array should have n components, + where n corresponds to the number of color components + required to specify the color in the current + colorspace. + +

+
+

GSSetFillColorspace:

+ - (void) GSSetFillColorspace: (NSDictionary*)dict;
+

+ + +

+

+ + Sets the colorspace for fill operations based on + values in the supplied dictionary dict. +

+

+ + +

+

+ + For device colorspaces (GSDeviceGray, GSDeviceRGB, + GSDeviceCMYK), only the name of the + colorspace needs to be set using the + GSColorSpaceName key. +

+

+ + +

+

+Other colorspaces will be documented later

+

+ + +

+
+

GSSetFont:

+ - (void) GSSetFont: (NSFont*)font;
+

+ + Description forthcoming. + +

+
+

GSSetFontSize:

+ - (void) GSSetFontSize: (float)size;
+

+ + Description forthcoming. + +

+
+

GSSetStrokeColor:

+ - (void) GSSetStrokeColor: (float*)values;
+

+ + Sets the current color for fill operations. The + values array should have n components, + where n corresponds to the number of color components + required to specify the color in the current + colorspace. + +

+
+

GSSetStrokeColorspace:

+ - (void) GSSetStrokeColorspace: (NSDictionary*)dict;
+

+ + Sets the colorspace for stroke operations based on the + values in the supplied dictionary. See + + -GSSetFillColorspace: + + + for a description of the values that need to be + supplied + +

+
+

GSSetTextCTM:

+ - (void) GSSetTextCTM: (NSAffineTransform*)ctm;
+

+ + Description forthcoming. + +

+
+

GSSetTextDrawingMode:

+ - (void) GSSetTextDrawingMode: (GSTextDrawingMode)mode;
+

+ + Description forthcoming. + +

+
+

GSSetTextPosition:

+ - (void) GSSetTextPosition: (NSPoint)loc;
+

+ + Description forthcoming. + +

+
+

GSShowGlyphs::

+ - (void) GSShowGlyphs: (const NSGlyph*)glyphs : (size_t)length;
+

+ + Description forthcoming. + +

+
+

GSShowText::

+ - (void) GSShowText: (const char*)string : (size_t)length;
+

+ + Description forthcoming. + +

+
+

GSUndefineGState:

+ - (void) GSUndefineGState: (int)gst;
+

+ + Disassociates the tag gst with + it's gstate and destroys the gstate object. The tag + will no longer be valid and should not be used to + refer to the gstate again. +



diff --git a/Documentation/gsdoc/NSTableColumn.gsdoc b/Documentation/gsdoc/NSTableColumn.gsdoc index d27de9a85..1e95f5f2b 100644 --- a/Documentation/gsdoc/NSTableColumn.gsdoc +++ b/Documentation/gsdoc/NSTableColumn.gsdoc @@ -18,45 +18,6 @@ NSTableColumn objects represent columns in NSTableViews.

-
- The Column Identifier -

- Each NSTableColumn object is identified by an object, - called the column identifier. The reason is that, - after a column has been added to a table view, the user - might move the columns around, so there is a need to - identify the columns regardless of their position in - the table. -

-

- The identifier is typically a string describing the - column. This identifier object is never displayed to - the user ! It is only used internally by the program to - identify the column - so yes, you may use a funny - string for it and nobody will know, except people - reading the code. -

-
-
- - Information Stored in an NSTableColumn Object - -

- An NSTableColumn object mainly keeps information about the - width of the column, its minimum and maximum width; - whether the column can be edited or resized; and the - cells used to draw the column header and the data in - the column. You can change all these attributes of the - column by calling the appropriate methods. Please note - that the table column does not hold nor has access to - the data to be displayed in the column; this data is - maintained in the table view's data source, as - described in the NSTableView documentation. A last - hint: to set the title of a table column, ask the table - column for its header cell, and set the string value - of this header cell to the desired title. -

-
AppKit/NSTableColumn.h NSCoding @@ -326,6 +287,45 @@ +
+ The Column Identifier +

+ Each NSTableColumn object is identified by an object, + called the column identifier. The reason is that, + after a column has been added to a table view, the user + might move the columns around, so there is a need to + identify the columns regardless of their position in + the table. +

+

+ The identifier is typically a string describing the + column. This identifier object is never displayed to + the user ! It is only used internally by the program to + identify the column - so yes, you may use a funny + string for it and nobody will know, except people + reading the code. +

+
+
+ + Information Stored in an NSTableColumn Object + +

+ An NSTableColumn object mainly keeps information about the + width of the column, its minimum and maximum width; + whether the column can be edited or resized; and the + cells used to draw the column header and the data in + the column. You can change all these attributes of the + column by calling the appropriate methods. Please note + that the table column does not hold nor has access to + the data to be displayed in the column; this data is + maintained in the table view's data source, as + described in the NSTableView documentation. A last + hint: to set the title of a table column, ask the table + column for its header cell, and set the string value + of this header cell to the desired title. +

+
diff --git a/Documentation/gsdoc/NSTableColumn.html b/Documentation/gsdoc/NSTableColumn.html index a17e42302..f1b3f3a23 100644 --- a/Documentation/gsdoc/NSTableColumn.html +++ b/Documentation/gsdoc/NSTableColumn.html @@ -26,6 +26,249 @@ NSTableColumn objects represent columns in NSTableViews.

+

NSTableColumn

+

Declared in: AppKit/NSTableColumn.h

+

Inherits from: NSObject

+

Conforms to: NSCoding +

+
+ + +

Instance Variables

+
    +
+

Methods

+ +

Instances Methods

+

dataCell

+- (NSCell*) dataCell;
+Standards: GNUstep MacOS-X OpenStep
+ + Return the cell used to display data in the column. + The default data cell is an NSTextFieldCell. + +
+

dataCellForRow:

+- (NSCell*) dataCellForRow: (int)row;
+Standards: GNUstep MacOS-X OpenStep
+ + Description forthcoming. + +
+

headerCell

+- (NSCell*) headerCell;
+Standards: GNUstep MacOS-X OpenStep
+ + Return the cell used to display the column title. + The default header cell is an NSTableHeaderCell. + +
+

identifier

+- (id) identifier;
+Standards: GNUstep MacOS-X OpenStep
+ + Return the column identifier, an object used to + identify the column. This object is usually a + string, but might be any kind of object. + +
+

initWithIdentifier:

+- (id) initWithIdentifier: (id)anObject;
+Standards: GNUstep MacOS-X OpenStep
+ + Initialize the column. anObject is an + object used to identify the column; it is usually a + string, but might be any kind of object. + anObject is retained. + +
+

isEditable

+- (BOOL) isEditable;
+Standards: GNUstep MacOS-X OpenStep
+ + Return whether data displayed in the column can be + edited by the user by double-cliking on them. + +
+

isResizable

+- (BOOL) isResizable;
+Standards: GNUstep MacOS-X OpenStep
+ + Return whether the column might be resized by the + user by dragging the column header border. + +
+

maxWidth

+- (float) maxWidth;
+Standards: GNUstep MacOS-X OpenStep
+ + Return the column's max width. The column can in no + way be resized to a width bigger than this max width. + The default max width is 100000. + +
+

minWidth

+- (float) minWidth;
+Standards: GNUstep MacOS-X OpenStep
+ + Return the column's min width. The column can in no + way be resized to a width smaller than this min width. + The default min width is zero. + +
+

setDataCell:

+- (void) setDataCell: (NSCell*)aCell;
+Standards: GNUstep MacOS-X OpenStep
+ + Set the cell used to display data in the column. + aCell can't be nil, otherwise + a warning will be generated and the method ignored. The + old cell is released, the new one is retained. If you + want to change the attributes in which a single row in + a column is displayed, you should better use a delegate + for your NSTableView implementing + tableView:willDisplayCell:forTableColumn:row:. + +
+

setEditable:

+- (void) setEditable: (BOOL)flag;
+Standards: GNUstep MacOS-X OpenStep
+ + Set whether data in the column might be edited by the + user by double-cliking on them. + +
+

setHeaderCell:

+- (void) setHeaderCell: (NSCell*)aCell;
+Standards: GNUstep MacOS-X OpenStep
+ + Set the cell used to display the column header. + aCell can't be nil, otherwise + a warning will be generated and the method call ignored. + The old cell is released, the new one is retained. + +
+

setIdentifier:

+- (void) setIdentifier: (id)anObject;
+Standards: GNUstep MacOS-X OpenStep
+ + Set the identifier used to identify the table. The old + identifier is released, and the new one is + retained. + +
+

setMaxWidth:

+- (void) setMaxWidth: (float)maxWidth;
+Standards: GNUstep MacOS-X OpenStep
+ + Set the max width of the table column, eventually + adjusting the width of the column if it is bigger + than the new max width. In no way a table column can + be made bigger than its max width. + +
+

setMinWidth:

+- (void) setMinWidth: (float)minWidth;
+Standards: GNUstep MacOS-X OpenStep
+ + Set the min width of the table column, eventually + adjusting the width of the column if it is + smaller than the new min width. In no way a table + column can be made smaller than its min width. + +
+

setResizable:

+- (void) setResizable: (BOOL)flag;
+Standards: GNUstep MacOS-X OpenStep
+ + Set whether the user can resize the table column by + dragging the border of its header with the mouse. + The table column can be resized programmatically + regardless of this setting. + +
+

setTableView:

+- (void) setTableView: (NSTableView*)aTableView;
+Standards: GNUstep MacOS-X OpenStep
+ + Set the table view corresponding to this table column. + This method is invoked internally by the table view, + and you should not call it directly; it is exposed + because you may want to override it in subclasses. + To use the table column in a table view, you should use + NSTableView's addTableColumn: instead. + +
+

setWidth:

+- (void) setWidth: (float)newWidth;
+Standards: GNUstep MacOS-X OpenStep
+ + Set the width of the table column. Before being + resized, the new width is constrained to the table + column minimum and maximum width: if + newWidth is smaller than the table + column's min width, the table column is simply + resized to its min width. If newWidth is + bigger than the table column's max width, the table + column is simply resized to its max width. + Otherwise, it is resized to newWidth. + If the width of the table was actually changed, the + table view (if any) is redisplayed (by calling tile), + and the NSTableViewColumnDidResizeNotification is + posted on behalf of the table view. + +
+

sizeToFit

+- (void) sizeToFit;
+Standards: GNUstep MacOS-X OpenStep
+ + Change the width of the column to be just enough to + display its header; change the minimum width and + maximum width to allow the column to have this + width (if the minimum width is bigger than the column + header width, it is reduced to it; if the maximum + width is smaller than the column header width, it is + increased to it). + +
+

tableView

+- (NSTableView*) tableView;
+Standards: GNUstep MacOS-X OpenStep
+ + Return the table view the column belongs to, or + nil if the table column was not added + to any table view. + +
+

width

+- (float) width;
+Standards: GNUstep MacOS-X OpenStep
+ + Return the width of the table column. + +

The Column Identifier

diff --git a/Headers/gnustep/gui/NSAffineTransform.h b/Headers/gnustep/gui/NSAffineTransform.h index a1a88acf9..38ca1efc7 100644 --- a/Headers/gnustep/gui/NSAffineTransform.h +++ b/Headers/gnustep/gui/NSAffineTransform.h @@ -55,7 +55,7 @@ typedef struct { - (void) invert; - (void) prependTransform: (NSAffineTransform*)aTransform; - (void) rotateByDegrees: (float)angle; -- (void) rotateByRadians: (float)angle; +- (void) rotateByRadians: (float)angleRad; - (void) scaleBy: (float)scale; - (void) scaleXBy: (float)scaleX yBy: (float)scaleY; - (void) set; @@ -82,7 +82,7 @@ typedef struct { - (BOOL) isRotated; -- (void) boundingRectFor: (NSRect)rect result: (NSRect*)result; +- (void) boundingRectFor: (NSRect)rect result: (NSRect*)new; /* Returns anotherMatrix * self */ - (void) concatenateWith: (NSAffineTransform*)anotherMatrix; diff --git a/Headers/gnustep/gui/NSButtonCell.h b/Headers/gnustep/gui/NSButtonCell.h index 6f76e28df..4476e950c 100644 --- a/Headers/gnustep/gui/NSButtonCell.h +++ b/Headers/gnustep/gui/NSButtonCell.h @@ -131,7 +131,7 @@ typedef enum _NSGradientType { - (NSString *)keyEquivalent; - (NSFont *)keyEquivalentFont; - (unsigned int)keyEquivalentModifierMask; -- (void)setKeyEquivalent:(NSString *)aKeyEquivalent; +- (void)setKeyEquivalent:(NSString *)key; - (void)setKeyEquivalentModifierMask:(unsigned int)mask; - (void)setKeyEquivalentFont:(NSFont *)fontObj; - (void)setKeyEquivalentFont:(NSString *)fontName @@ -157,9 +157,9 @@ typedef enum _NSGradientType { // Modifying Graphic Attributes // - (int)highlightsBy; -- (void)setHighlightsBy:(int)aType; -- (void)setShowsStateBy:(int)aType; -- (void)setButtonType:(NSButtonType)aType; +- (void)setHighlightsBy:(int)mask; +- (void)setShowsStateBy:(int)mask; +- (void)setButtonType:(NSButtonType)buttonType; - (int)showsStateBy; // diff --git a/Headers/gnustep/gui/NSCell.h b/Headers/gnustep/gui/NSCell.h index e0c04706d..6e67bc775 100644 --- a/Headers/gnustep/gui/NSCell.h +++ b/Headers/gnustep/gui/NSCell.h @@ -428,7 +428,7 @@ typedef enum _NSControlSize { - (NSMutableDictionary*) _nonAutoreleasedTypingAttributes; - (NSColor*) textColor; - (NSSize) _sizeText: (NSString*) title; -- (void) _drawText: (NSString*)aString inFrame: (NSRect)aRect; +- (void) _drawText: (NSString*)aString inFrame: (NSRect)cellFrame; - (void) _drawAttributedText: (NSAttributedString*)aString inFrame: (NSRect)aRect; diff --git a/Headers/gnustep/gui/NSClipView.h b/Headers/gnustep/gui/NSClipView.h index 019a4137a..6afed0352 100644 --- a/Headers/gnustep/gui/NSClipView.h +++ b/Headers/gnustep/gui/NSClipView.h @@ -50,7 +50,7 @@ - (id)documentView; /* Scrolling */ -- (void)scrollToPoint:(NSPoint)newOrigin; +- (void)scrollToPoint:(NSPoint)aPoint; - (BOOL)autoscroll:(NSEvent*)theEvent; - (NSPoint)constrainScrollPoint:(NSPoint)proposedNewOrigin; @@ -93,8 +93,4 @@ @end -@interface NSClipView (BackendMethods) -- (void)_translateToPoint:(NSPoint)point oldPoint:(NSPoint)oldPoint; -@end - #endif /* _GNUstep_H_NSClipView */ diff --git a/Headers/gnustep/gui/NSFont.h b/Headers/gnustep/gui/NSFont.h index d502c9af9..8e9671a9e 100644 --- a/Headers/gnustep/gui/NSFont.h +++ b/Headers/gnustep/gui/NSFont.h @@ -73,9 +73,9 @@ APPKIT_EXPORT const float *NSFontIdentityMatrix; // Creating a Font Object // + (NSFont *)boldSystemFontOfSize:(float)fontSize; -+ (NSFont *)fontWithName:(NSString *)fontName ++ (NSFont *)fontWithName:(NSString *)aFontName matrix:(const float *)fontMatrix; -+ (NSFont *)fontWithName:(NSString *)fontName ++ (NSFont *)fontWithName:(NSString *)aFontName size:(float)fontSize; + (NSFont *)systemFontOfSize:(float)fontSize; + (NSFont *)userFixedPitchFontOfSize:(float)fontSize; @@ -107,7 +107,7 @@ APPKIT_EXPORT const float *NSFontIdentityMatrix; // + (void)setUserFixedPitchFont:(NSFont *)aFont; + (void)setUserFont:(NSFont *)aFont; -+ (void)useFont:(NSString *)fontName; ++ (void)useFont:(NSString *)aFontName; - (void)set; // diff --git a/Headers/gnustep/gui/NSFontManager.h b/Headers/gnustep/gui/NSFontManager.h index 49d200a7a..576a88da7 100644 --- a/Headers/gnustep/gui/NSFontManager.h +++ b/Headers/gnustep/gui/NSFontManager.h @@ -85,8 +85,8 @@ typedef enum { // // Managing the FontManager // -+ (void)setFontManagerFactory:(Class)classId; -+ (void)setFontPanelFactory:(Class)classId; ++ (void) setFontManagerFactory: (Class)class; ++ (void) setFontPanelFactory: (Class)class; + (NSFontManager *)sharedFontManager; // diff --git a/Headers/gnustep/gui/NSOutlineView.h b/Headers/gnustep/gui/NSOutlineView.h index 96ca45796..39d149ae1 100644 --- a/Headers/gnustep/gui/NSOutlineView.h +++ b/Headers/gnustep/gui/NSOutlineView.h @@ -68,7 +68,7 @@ - (int)rowForItem: (id)item; - (void)setAutoresizesOutlineColumn: (BOOL)resize; - (void)setAutosaveExpandedItems: (BOOL)flag; -- (void)setDropItem:(id)item dropChildIndex: (int)index; +- (void)setDropItem:(id)item dropChildIndex: (int)childIndex; - (void)setIndentationMarkerFollowsCell: (BOOL)followsCell; - (void)setIndentationPerLevel: (float)newIndentLevel; - (void)setOutlineTableColumn: (NSTableColumn *)outlineTableColumn; diff --git a/Headers/gnustep/gui/NSRulerView.h b/Headers/gnustep/gui/NSRulerView.h index a977e22be..c13ac9959 100644 --- a/Headers/gnustep/gui/NSRulerView.h +++ b/Headers/gnustep/gui/NSRulerView.h @@ -99,7 +99,7 @@ typedef enum { - (void) setOriginOffset: (float)offset; - (float) originOffset; -- (void) setMarkers: (NSArray *)markers; +- (void) setMarkers: (NSArray *)newMarkers; - (NSArray *) markers; - (void) addMarker: (NSRulerMarker *)aMarker; - (void) removeMarker: (NSRulerMarker *)aMarker; diff --git a/Headers/gnustep/gui/NSSavePanel.h b/Headers/gnustep/gui/NSSavePanel.h index 06d261bbd..4926232e6 100644 --- a/Headers/gnustep/gui/NSSavePanel.h +++ b/Headers/gnustep/gui/NSSavePanel.h @@ -131,7 +131,7 @@ enum { * the extension. Invoke this method each time the Save panel * is used for another file type within the application. */ -- (void) setRequiredFileType: (NSString *)type; +- (void) setRequiredFileType: (NSString *)fileType; /* * Sets the NSSavePanel's behavior for displaying file packages @@ -179,7 +179,7 @@ enum { file: (NSString *)filename relativeToWindow: (NSWindow*)window; - (void) beginSheetForDirectory: (NSString *)path - file: (NSString *)name + file: (NSString *)filename modalForWindow: (NSWindow *)docWindow modalDelegate: (id)delegate didEndSelector: (SEL)didEndSelector diff --git a/Source/GSHbox.m b/Source/GSHbox.m index efb0cb358..6f021b73b 100644 --- a/Source/GSHbox.m +++ b/Source/GSHbox.m @@ -30,11 +30,6 @@ #include @implementation GSHbox: GSTable -{ - // YES if some NSView was already added to the box - BOOL _haveViews; - float _defaultMinXMargin; -} // // Class methods // diff --git a/Source/GSVbox.m b/Source/GSVbox.m index cc0da4af7..880134d5c 100644 --- a/Source/GSVbox.m +++ b/Source/GSVbox.m @@ -32,10 +32,6 @@ #include @implementation GSVbox: GSTable -{ - BOOL _haveViews; - float _defaultMinYMargin; -} // // Class methods // diff --git a/Source/NSCachedImageRep.m b/Source/NSCachedImageRep.m index 1d4360dd5..7a24d62c5 100644 --- a/Source/NSCachedImageRep.m +++ b/Source/NSCachedImageRep.m @@ -88,12 +88,12 @@ return self; } -- (id) initWithWindow: (NSWindow *)win rect: (NSRect)rect +- (id) initWithWindow: (NSWindow *)aWindow rect: (NSRect)aRect { [super init]; - _window = RETAIN(win); - _rect = rect; + _window = RETAIN(aWindow); + _rect = aRect; /* Either win or rect must be non-NULL. If rect is empty, we get the frame info from the window. If win is nil we create it from the diff --git a/Source/NSCell.m b/Source/NSCell.m index 6c3098f11..8aa6c18ed 100644 --- a/Source/NSCell.m +++ b/Source/NSCell.m @@ -2035,16 +2035,16 @@ static NSColor *shadowCol; [title drawInRect: cellFrame]; } -- (void) _drawText: (NSString*)title inFrame: (NSRect)cellFrame +- (void) _drawText: (NSString*)aString inFrame: (NSRect)cellFrame { NSSize titleSize; NSDictionary *attributes; - if (title == nil) + if (aString == nil) return; attributes = [self _nonAutoreleasedTypingAttributes]; - titleSize = [title sizeWithAttributes: attributes]; + titleSize = [aString sizeWithAttributes: attributes]; // Determine y position of text @@ -2056,7 +2056,7 @@ static NSColor *shadowCol; cellFrame.origin.y = NSMidY (cellFrame) - titleSize.height/2; cellFrame.size.height = titleSize.height; - [title drawInRect: cellFrame withAttributes: attributes]; + [aString drawInRect: cellFrame withAttributes: attributes]; RELEASE (attributes); } diff --git a/Source/NSClipView.m b/Source/NSClipView.m index 224f3e4c9..1cd6ee069 100644 --- a/Source/NSClipView.m +++ b/Source/NSClipView.m @@ -203,18 +203,18 @@ static inline NSRect integralRect (NSRect rect, NSView *view) [self addCursorRect: _bounds cursor: _cursor]; } -- (void) scrollToPoint: (NSPoint)point +- (void) scrollToPoint: (NSPoint)aPoint { - [self setBoundsOrigin: [self constrainScrollPoint: point]]; + [self setBoundsOrigin: [self constrainScrollPoint: aPoint]]; } -- (void) setBoundsOrigin: (NSPoint)point +- (void) setBoundsOrigin: (NSPoint)aPoint { NSRect originalBounds = _bounds; NSRect newBounds = originalBounds; NSRect intersection; - newBounds.origin = point; + newBounds.origin = aPoint; if (NSEqualPoints (originalBounds.origin, newBounds.origin)) { @@ -354,8 +354,8 @@ static inline NSRect integralRect (NSRect rect, NSView *view) /* ?? TODO: Understand the following code - and add explanatory comment */ if ([NSView focusView] == _documentView) { - PStranslate (NSMinX (originalBounds) - point.x, - NSMinY (originalBounds) - point.y); + PStranslate (NSMinX (originalBounds) - aPoint.x, + NSMinY (originalBounds) - aPoint.y); } [_super_view reflectScrolledClipView: self]; diff --git a/Source/NSDocument.m b/Source/NSDocument.m index 68e82f75f..20440f9d3 100644 --- a/Source/NSDocument.m +++ b/Source/NSDocument.m @@ -182,9 +182,9 @@ // private; called during nib load. // we do not retain the window, since it should // already have a retain from the nib. -- (void)setWindow:(NSWindow *)window +- (void)setWindow:(NSWindow *)aWindow { - _window = window; + _window = aWindow; } //FIXME: In the later specification this method has a different return type!! diff --git a/Source/NSFont.m b/Source/NSFont.m index 0d5939024..829e6fadc 100644 --- a/Source/NSFont.m +++ b/Source/NSFont.m @@ -203,14 +203,14 @@ setNSFont(NSString* key, NSFont* font) /* Setting the preferred user fonts*/ -+ (void) setUserFixedPitchFont: (NSFont*)font ++ (void) setUserFixedPitchFont: (NSFont*)aFont { - setNSFont (@"NSUserFixedPitchFont", font); + setNSFont (@"NSUserFixedPitchFont", aFont); } -+ (void) setUserFont: (NSFont*)font ++ (void) setUserFont: (NSFont*)aFont { - setNSFont (@"NSUserFont", font); + setNSFont (@"NSUserFont", aFont); } + (void)setPreferredFontNames:(NSArray *)fontNames @@ -374,14 +374,14 @@ setNSFont(NSString* key, NSFont* font) return 12.0; } -+ (NSFont*) fontWithName: (NSString*)name ++ (NSFont*) fontWithName: (NSString*)aFontName matrix: (const float*)fontMatrix { - return AUTORELEASE([[NSFontClass alloc] initWithName: name + return AUTORELEASE([[NSFontClass alloc] initWithName: aFontName matrix: fontMatrix]); } -+ (NSFont*) fontWithName: (NSString*)name ++ (NSFont*) fontWithName: (NSString*)aFontName size: (float)fontSize { NSFont*font; @@ -398,14 +398,14 @@ setNSFont(NSString* key, NSFont* font) fontMatrix[0] = fontSize; fontMatrix[3] = fontSize; - font = [self fontWithName: name matrix: fontMatrix]; + font = [self fontWithName: aFontName matrix: fontMatrix]; font->matrixExplicitlySet = NO; return font; } -+ (void) useFont: (NSString*)name ++ (void) useFont: (NSString*)aFontName { - [GSCurrentContext() useFont: name]; + [GSCurrentContext() useFont: aFontName]; } // diff --git a/Source/NSFontManager.m b/Source/NSFontManager.m index 2dbc04cb1..4f80215fb 100644 --- a/Source/NSFontManager.m +++ b/Source/NSFontManager.m @@ -787,9 +787,9 @@ static Class fontPanelClass = Nil; // // Examining a font // -- (NSFontTraitMask) traitsOfFont: (NSFont*)fontObject +- (NSFontTraitMask) traitsOfFont: (NSFont*)aFont { - return [[fontObject fontInfo] traits]; + return [[aFont fontInfo] traits]; } - (int) weightOfFont: (NSFont*)fontObject diff --git a/Source/NSFontPanel.m b/Source/NSFontPanel.m index fd5a26e88..fb2850827 100644 --- a/Source/NSFontPanel.m +++ b/Source/NSFontPanel.m @@ -66,13 +66,15 @@ static inline void _setFloatValue (NSTextField *field, float size) NSText *sizeFieldText = nil; -/* Implemented in NSBrowser */ -@interface GSBrowserTitleCell : NSTextFieldCell -@end - float sizes[] = {4.0, 6.0, 8.0, 9.0, 10.0, 11.0, 12.0, 13.0, 14.0, 16.0, 18.0, 24.0, 36.0, 48.0, 64.0}; +/* Implemented in NSBrowser */ +@interface GSBrowserTitleCell : NSTextFieldCell +{ +} +@end + @interface NSFontPanel (Private) - (NSFont*) _fontForSelection: (NSFont*) fontObject; diff --git a/Source/NSFormCell.m b/Source/NSFormCell.m index b3342acde..1be0b6d14 100644 --- a/Source/NSFormCell.m +++ b/Source/NSFormCell.m @@ -214,7 +214,7 @@ static NSColor *shadowCol; } } -- (float)titleWidth: (NSSize)size +- (float)titleWidth: (NSSize)aSize { if (_formcell_auto_title_width == NO) return _displayedTitleWidth; @@ -222,10 +222,10 @@ static NSColor *shadowCol; { NSSize titleSize = [_titleCell cellSize]; - if (size.width > titleSize.width) + if (aSize.width > titleSize.width) return titleSize.width; else - return size.width; + return aSize.width; } } diff --git a/Source/NSGraphicsContext.m b/Source/NSGraphicsContext.m index 69104ce6e..7d7dfc575 100644 --- a/Source/NSGraphicsContext.m +++ b/Source/NSGraphicsContext.m @@ -98,7 +98,7 @@ NSGraphicsContext *GSCurrentContext()

In addition, this class provides methods to perform the actual drawing. As a convenience, you can also access these through various function interfaces. One is a Display Postscript interface using PS - and DPS opeterations. Another is a Quartz interface (not yet written). + and DPS operations. Another is a Quartz interface (not yet written).

*/ @@ -1079,7 +1079,7 @@ NSGraphicsContext *GSCurrentContext() [self subclassResponsibility: _cmd]; } -- (void) DPSarct: (float)x1 : (float)y1 : (float)x2 : (float)y2 : (float)r; +- (void) DPSarct: (float)x1 : (float)y1 : (float)x2 : (float)y2 : (float)r { [self subclassResponsibility: _cmd]; } diff --git a/Source/NSHelpManager.m b/Source/NSHelpManager.m index 953469a6b..56e8afb1e 100644 --- a/Source/NSHelpManager.m +++ b/Source/NSHelpManager.m @@ -109,10 +109,6 @@ @end @implementation NSHelpManager -{ -@private - NSMapTable* contextHelpTopics; -} static NSHelpManager *_gnu_sharedHelpManager = nil; static BOOL _gnu_contextHelpActive = NO; diff --git a/Source/NSImage.m b/Source/NSImage.m index a7ac263c7..0348a3f0c 100644 --- a/Source/NSImage.m +++ b/Source/NSImage.m @@ -454,11 +454,11 @@ repd_for_rep(NSArray *_reps, NSImageRep *rep) return copy; } -- (BOOL) setName: (NSString *)string +- (BOOL) setName: (NSString *)aName { BOOL retained = NO; - if (!string || [nameDict objectForKey: string]) + if (!aName || [nameDict objectForKey: aName]) return NO; if (_name && self == [nameDict objectForKey: _name]) @@ -470,7 +470,7 @@ repd_for_rep(NSArray *_reps, NSImageRep *rep) [nameDict removeObjectForKey: _name]; } - ASSIGN(_name, string); + ASSIGN(_name, aName); [nameDict setObject: self forKey: _name]; if (retained) diff --git a/Source/NSPanel.m b/Source/NSPanel.m index 195a09002..baa7e6dfb 100644 --- a/Source/NSPanel.m +++ b/Source/NSPanel.m @@ -1232,13 +1232,13 @@ NSRunInformationalAlertPanel( void -NSReleaseAlertPanel(id alertPanel) +NSReleaseAlertPanel(id panel) { - if ((alertPanel != standardAlertPanel) - && (alertPanel != informationalAlertPanel) - && (alertPanel != criticalAlertPanel)) + if ((panel != standardAlertPanel) + && (panel != informationalAlertPanel) + && (panel != criticalAlertPanel)) { - RELEASE(alertPanel); + RELEASE(panel); } } diff --git a/Source/NSRulerView.m b/Source/NSRulerView.m index b1e01cdf0..426d549e6 100644 --- a/Source/NSRulerView.m +++ b/Source/NSRulerView.m @@ -485,7 +485,7 @@ static NSMutableDictionary *units = nil; } } -- (void) drawHashMarksAndLabelsInRect: (NSRect)drawRect +- (void) drawHashMarksAndLabelsInRect: (NSRect)aRect { NSGraphicsContext *ctxt = GSCurrentContext(); NSFont *font; @@ -526,7 +526,7 @@ static NSMutableDictionary *units = nil; { baseLineRect.origin.y = baselineLocation; baseLineRect.size.height = 1; - baseLineRect = NSIntersectionRect(baseLineRect, drawRect); + baseLineRect = NSIntersectionRect(baseLineRect, aRect); firstVisibleLocation = NSMinX(baseLineRect); visibleLength = NSWidth(baseLineRect); } @@ -534,7 +534,7 @@ static NSMutableDictionary *units = nil; { baseLineRect.origin.x = baselineLocation; baseLineRect.size.width = 1; - baseLineRect = NSIntersectionRect(baseLineRect, drawRect); + baseLineRect = NSIntersectionRect(baseLineRect, aRect); firstVisibleLocation = NSMinY(baseLineRect); visibleLength = NSHeight(baseLineRect); } @@ -625,10 +625,10 @@ static NSMutableDictionary *units = nil; _cacheIsValid = NO; } -- (void) setScrollView: (NSScrollView *)sView +- (void) setScrollView: (NSScrollView *)scrollView { /* We do NOT retain the scrollView; the scrollView is retaining us. */ - _scrollView = sView; + _scrollView = scrollView; } - (NSScrollView *) scrollView diff --git a/Source/NSStepperCell.m b/Source/NSStepperCell.m index 15170aefb..b48f269a0 100644 --- a/Source/NSStepperCell.m +++ b/Source/NSStepperCell.m @@ -65,9 +65,9 @@ return _maxValue; } -- (void) setMaxValue: (double)newMaxValue +- (void) setMaxValue: (double)maxValue { - _maxValue = newMaxValue; + _maxValue = maxValue; } - (double) minValue @@ -75,9 +75,9 @@ return _minValue; } -- (void) setMinValue: (double)newMinValue +- (void) setMinValue: (double)minValue { - _minValue = newMinValue; + _minValue = minValue; } - (double) increment @@ -97,9 +97,9 @@ return _autorepeat; } -- (void)setAutorepeat: (BOOL)newAutorepeat +- (void)setAutorepeat: (BOOL)autorepeat { - _autorepeat = newAutorepeat; + _autorepeat = autorepeat; } - (BOOL)valueWraps @@ -107,9 +107,9 @@ return _valueWraps; } -- (void)setValueWraps: (BOOL)newValueWraps +- (void)setValueWraps: (BOOL)valueWraps { - _valueWraps = newValueWraps; + _valueWraps = valueWraps; } - (void) dealloc diff --git a/Source/NSText.m b/Source/NSText.m index 1d3b3bc80..cf062a1db 100644 --- a/Source/NSText.m +++ b/Source/NSText.m @@ -184,9 +184,9 @@ static Class concrete; [self replaceCharactersInRange: aRange withString: aString]; } -- (void) setText: (NSString*)string +- (void) setText: (NSString*)aString { - [self setString: string]; + [self setString: aString]; } - (NSString*) text