Function

NSCopyBits

Copies a bitmap image to the location specified by a destination point.

Declaration

void NSCopyBits(NSInteger srcGState, NSRect srcRect, NSPoint destPoint);

Discussion

Copies the pixels in the rectangle specified by srcRect to the location specified by destPoint. The source rectangle is defined in the graphics state designated by srcGState. If srcGState is NSNullObject, the current graphics state is assumed. The destPoint destination is defined in the current graphics state.

See Also

Auxiliary Functions

NSDrawColorTiledRects

Draws a colored bordered rectangle.

NSInterfaceStyleForKey

Returns an interface style value for the specified key and responder.

Deprecated
NSSetShowsServicesMenuItem

Specifies whether an item should be included in Services menus.

NSCountWindows

Counts the number of onscreen windows.

Deprecated
NSCountWindowsForContext

Counts the number of onscreen windows belonging to a particular application.

Deprecated
NSShowsServicesMenuItem

Specifies whether a Services menu item is currently enabled.

NSDottedFrameRect

Draws a bordered rectangle.

NSWindowList

Gets information about onscreen windows.

Deprecated
NSWindowListForContext

Gets information about an application’s onscreen windows.

Deprecated
NSReadPixel

Reads the color of the pixel at the specified location.

Deprecated
NSGetWindowServerMemory

Returns the amount of memory being used by a context.

Deprecated