org.rococoa.cocoa.appkit
Class NSGraphicsContext._class_

java.lang.Object
  extended by org.rococoa.cocoa.foundation.NSObject
      extended by org.rococoa.cocoa.foundation.NSClass
          extended by org.rococoa.cocoa.foundation.NSObject._class_
              extended by org.rococoa.cocoa.appkit.NSGraphicsContext._class_
All Implemented Interfaces:
NSObject, ObjCClass, ObjCObject
Enclosing class:
NSGraphicsContext

public abstract static class NSGraphicsContext._class_
extends NSObject._class_


Nested Class Summary
 
Nested classes/interfaces inherited from class org.rococoa.cocoa.foundation.NSObject
NSObject._class_
 
Nested classes/interfaces inherited from interface org.rococoa.ObjCClass
ObjCClass._Class
 
Nested classes/interfaces inherited from interface org.rococoa.cocoa.foundation.protocols.NSObject
NSObject._static_
 
Field Summary
 
Fields inherited from interface org.rococoa.ObjCClass
CLASS
 
Constructor Summary
NSGraphicsContext._class_()
           
 
Method Summary
abstract  NSGraphicsContext alloc()
          Original signature : +(id)alloc
native declaration : NSObject.h:77
 NSGraphicsContext_RenderingOptions._static_ asStatic_NSGraphicsContext_NSGraphicsContext_RenderingOptions()
           
 NSQuartzCoreAdditions._static_ asStatic_NSGraphicsContext_NSQuartzCoreAdditions()
           
abstract  NSGraphicsContext currentContext()
          Setting and identifying the current context in the thread
Original signature : +(NSGraphicsContext*)currentContext
native declaration : NSGraphicsContext.h:60
abstract  boolean currentContextDrawingToScreen()
          Convenience cover method for [[NSGraphicsContext currentContext] isDrawingToScreen]
Original signature : +(BOOL)currentContextDrawingToScreen
native declaration : NSGraphicsContext.h:64
abstract  NSGraphicsContext graphicsContextWithAttributes(NSDictionary attributes)
          Instantiates from an appropriate concrete subclass depending on NSGraphicsContextDestinationAttributeName attribute
Original signature : +(NSGraphicsContext*)graphicsContextWithAttributes:(NSDictionary*)
native declaration : NSGraphicsContext.h:44
abstract  NSGraphicsContext graphicsContextWithBitmapImageRep(NSBitmapImageRep bitmapRep)
          Convenience cover method for [NSGraphicsContext graphicsContextWithAttributes:[NSDictionary dictionaryWithObject: forKey:NSGraphicsContextDestinationAttributeName]].
abstract  NSGraphicsContext graphicsContextWithGraphicsPort_flipped(Pointer graphicsPort, boolean initialFlippedState)
          Instantiates from an arbitrary graphicsPort (usually CGContextRef).
abstract  NSGraphicsContext graphicsContextWithWindow(NSWindow window)
          Convenience cover method for [NSGraphicsContext graphicsContextWithAttributes:[NSDictionary dictionaryWithObject: forKey:NSGraphicsContextDestinationAttributeName]]
Original signature : +(NSGraphicsContext*)graphicsContextWithWindow:(NSWindow*)
native declaration : NSGraphicsContext.h:47
abstract  NSGraphicsContext new_()
          Original signature : +(id)new
native declaration : NSObject.h:75
abstract  void restoreGraphicsState()
          Pops a context from per-thread stack, makes it current, and calls -restoreGraphicsContext.
abstract  void saveGraphicsState()
          Calls -saveGraphicsContext, and pushes the current context on per-thread stack.
abstract  void setCurrentContext(NSGraphicsContext context)
          Original signature : +(void)setCurrentContext:(NSGraphicsContext*)
native declaration : NSGraphicsContext.h:61
abstract  void setGraphicsState(NSInteger gState)
          Makes gState's context current, and resets graphics state.
 
Methods inherited from class org.rococoa.cocoa.foundation.NSObject._class_
allocWithZone, asStatic_NSObject_NSAccessibility, asStatic_NSObject_NSAccessibilityAdditions, asStatic_NSObject_NSApplicationScriptingDelegation, asStatic_NSObject_NSArchiverCallback, asStatic_NSObject_NSClassDescriptionPrimitives, asStatic_NSObject_NSCoderMethods, asStatic_NSObject_NSColorPanelResponderMethod, asStatic_NSObject_NSComparisonMethods, asStatic_NSObject_NSControlSubclassNotifications, asStatic_NSObject_NSCopyLinkMoveHandler, asStatic_NSObject_NSDelayedPerforming, asStatic_NSObject_NSDeprecatedKeyValueCoding, asStatic_NSObject_NSDeprecatedKeyValueObservingCustomization, asStatic_NSObject_NSDeprecatedMethods, asStatic_NSObject_NSDictionaryControllerKeyValuePair, asStatic_NSObject_NSDistributedObjects, asStatic_NSObject_NSDraggingDestination, asStatic_NSObject_NSDraggingSource, asStatic_NSObject_NSDraggingSourceDeprecated, asStatic_NSObject_NSEditor, asStatic_NSObject_NSEditorRegistration, asStatic_NSObject_NSErrorRecoveryAttempting, asStatic_NSObject_NSFileManagerFileOperationAdditions, asStatic_NSObject_NSFontManagerDelegate, asStatic_NSObject_NSFontManagerResponderMethod, asStatic_NSObject_NSFontPanelValidationAdditions, asStatic_NSObject_NSKeyValueBindingCreation, asStatic_NSObject_NSKeyValueCoding, asStatic_NSObject_NSKeyValueObserverNotification, asStatic_NSObject_NSKeyValueObserverRegistration, asStatic_NSObject_NSKeyValueObserving, asStatic_NSObject_NSKeyValueObservingCustomization, asStatic_NSObject_NSMenuValidation, asStatic_NSObject_NSNibAwaking, asStatic_NSObject_NSPasteboardOwner, asStatic_NSObject_NSPlaceholders, asStatic_NSObject_NSScriptClassDescription, asStatic_NSObject_NSScripting, asStatic_NSObject_NSScriptingComparisonMethods, asStatic_NSObject_NSScriptKeyValueCoding, asStatic_NSObject_NSScriptObjectSpecifiers, asStatic_NSObject_NSThreadPerformAdditions, asStatic_NSObject_NSURLClient, asStatic_NSObject_NSURLConnectionDelegate, asStatic_NSObject_NSURLDownloadDelegate, class_, conformsToProtocol, copyWithZone, initialize, instanceMethodForSelector, instanceMethodSignatureForSelector, instancesRespondToSelector, isSubclassOfClass, load, mutableCopyWithZone, resolveClassMethod, resolveInstanceMethod, superclass
 
Methods inherited from class org.rococoa.cocoa.foundation.NSObject
as_NSObject_NSAccessibility, as_NSObject_NSAccessibilityAdditions, as_NSObject_NSApplicationScriptingDelegation, as_NSObject_NSArchiverCallback, as_NSObject_NSClassDescriptionPrimitives, as_NSObject_NSCoderMethods, as_NSObject_NSColorPanelResponderMethod, as_NSObject_NSComparisonMethods, as_NSObject_NSControlSubclassNotifications, as_NSObject_NSCopyLinkMoveHandler, as_NSObject_NSDelayedPerforming, as_NSObject_NSDeprecatedKeyValueCoding, as_NSObject_NSDeprecatedKeyValueObservingCustomization, as_NSObject_NSDeprecatedMethods, as_NSObject_NSDictionaryControllerKeyValuePair, as_NSObject_NSDistributedObjects, as_NSObject_NSDraggingDestination, as_NSObject_NSDraggingSource, as_NSObject_NSDraggingSourceDeprecated, as_NSObject_NSEditor, as_NSObject_NSEditorRegistration, as_NSObject_NSErrorRecoveryAttempting, as_NSObject_NSFileManagerFileOperationAdditions, as_NSObject_NSFontManagerDelegate, as_NSObject_NSFontManagerResponderMethod, as_NSObject_NSFontPanelValidationAdditions, as_NSObject_NSKeyValueBindingCreation, as_NSObject_NSKeyValueCoding, as_NSObject_NSKeyValueObserverNotification, as_NSObject_NSKeyValueObserverRegistration, as_NSObject_NSKeyValueObserving, as_NSObject_NSKeyValueObservingCustomization, as_NSObject_NSMenuValidation, as_NSObject_NSNibAwaking, as_NSObject_NSPasteboardOwner, as_NSObject_NSPlaceholders, as_NSObject_NSScriptClassDescription, as_NSObject_NSScripting, as_NSObject_NSScriptingComparisonMethods, as_NSObject_NSScriptKeyValueCoding, as_NSObject_NSScriptObjectSpecifiers, as_NSObject_NSThreadPerformAdditions, as_NSObject_NSURLClient, as_NSObject_NSURLConnectionDelegate, as_NSObject_NSURLDownloadDelegate, copy, create, dealloc, description, doesNotRecognizeSelector, finalize, forwardingTargetForSelector, forwardInvocation, getNSClass, init, isKindOfClass, isKindOfClass, methodForSelector, methodSignatureForSelector, mutableCopy, release, retain, retainCount
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.rococoa.ObjCObject
id
 
Methods inherited from interface org.rococoa.cocoa.foundation.protocols.NSObject
autorelease, hash, isEqual, isMemberOfClass, isProxy, performSelector_withObject_withObject, performSelector_withObject, performSelector, respondsToSelector, self, zone
 

Constructor Detail

NSGraphicsContext._class_

public NSGraphicsContext._class_()
Method Detail

asStatic_NSGraphicsContext_NSGraphicsContext_RenderingOptions

public NSGraphicsContext_RenderingOptions._static_ asStatic_NSGraphicsContext_NSGraphicsContext_RenderingOptions()

asStatic_NSGraphicsContext_NSQuartzCoreAdditions

public NSQuartzCoreAdditions._static_ asStatic_NSGraphicsContext_NSQuartzCoreAdditions()

graphicsContextWithAttributes

public abstract NSGraphicsContext graphicsContextWithAttributes(NSDictionary attributes)
Instantiates from an appropriate concrete subclass depending on NSGraphicsContextDestinationAttributeName attribute
Original signature : +(NSGraphicsContext*)graphicsContextWithAttributes:(NSDictionary*)
native declaration : NSGraphicsContext.h:44


graphicsContextWithWindow

public abstract NSGraphicsContext graphicsContextWithWindow(NSWindow window)
Convenience cover method for [NSGraphicsContext graphicsContextWithAttributes:[NSDictionary dictionaryWithObject: forKey:NSGraphicsContextDestinationAttributeName]]
Original signature : +(NSGraphicsContext*)graphicsContextWithWindow:(NSWindow*)
native declaration : NSGraphicsContext.h:47


graphicsContextWithBitmapImageRep

public abstract NSGraphicsContext graphicsContextWithBitmapImageRep(NSBitmapImageRep bitmapRep)
Convenience cover method for [NSGraphicsContext graphicsContextWithAttributes:[NSDictionary dictionaryWithObject: forKey:NSGraphicsContextDestinationAttributeName]]. Only NSBitmapImageRep instances with isPlanar == NO are supported.
Original signature : +(NSGraphicsContext*)graphicsContextWithBitmapImageRep:(NSBitmapImageRep*)
native declaration : NSGraphicsContext.h:52


graphicsContextWithGraphicsPort_flipped

public abstract NSGraphicsContext graphicsContextWithGraphicsPort_flipped(Pointer graphicsPort,
                                                                          boolean initialFlippedState)
Instantiates from an arbitrary graphicsPort (usually CGContextRef). initialFlippedState is used to determine the return value from -isFlipped when no view is focused in the context.
Original signature : +(NSGraphicsContext*)graphicsContextWithGraphicsPort:(void*) flipped:(BOOL)
native declaration : NSGraphicsContext.h:56


currentContext

public abstract NSGraphicsContext currentContext()
Setting and identifying the current context in the thread
Original signature : +(NSGraphicsContext*)currentContext
native declaration : NSGraphicsContext.h:60


setCurrentContext

public abstract void setCurrentContext(NSGraphicsContext context)
Original signature : +(void)setCurrentContext:(NSGraphicsContext*)
native declaration : NSGraphicsContext.h:61


currentContextDrawingToScreen

public abstract boolean currentContextDrawingToScreen()
Convenience cover method for [[NSGraphicsContext currentContext] isDrawingToScreen]
Original signature : +(BOOL)currentContextDrawingToScreen
native declaration : NSGraphicsContext.h:64


saveGraphicsState

public abstract void saveGraphicsState()
Calls -saveGraphicsContext, and pushes the current context on per-thread stack. It's functional equivalent of PSgsave
Original signature : +(void)saveGraphicsState
native declaration : NSGraphicsContext.h:68


restoreGraphicsState

public abstract void restoreGraphicsState()
Pops a context from per-thread stack, makes it current, and calls -restoreGraphicsContext. It's functional equivalent of PSgrestore
Original signature : +(void)restoreGraphicsState
native declaration : NSGraphicsContext.h:70


setGraphicsState

public abstract void setGraphicsState(NSInteger gState)
Makes gState's context current, and resets graphics state. The gState must be created in the calling thread
Original signature : +(void)setGraphicsState:(NSInteger)
native declaration : NSGraphicsContext.h:72


alloc

public abstract NSGraphicsContext alloc()
Description copied from class: NSObject._class_
Original signature : +(id)alloc
native declaration : NSObject.h:77

Specified by:
alloc in class NSObject._class_

new_

public abstract NSGraphicsContext new_()
Description copied from class: NSObject._class_
Original signature : +(id)new
native declaration : NSObject.h:75

Specified by:
new_ in class NSObject._class_


Copyright © 2009. All Rights Reserved.