|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.rococoa.cocoa.foundation.NSObject
org.rococoa.cocoa.appkit.NSGraphicsContext
public abstract class NSGraphicsContext
This file was autogenerated by JNAerator,
a tool written by Olivier Chafik that uses a few opensource projects..
For help, please visit NativeLibs4Java, Rococoa, or JNA.
Nested Class Summary | |
---|---|
static class |
NSGraphicsContext._class_
|
Nested classes/interfaces inherited from interface org.rococoa.cocoa.foundation.protocols.NSObject |
---|
NSObject._static_ |
Constructor Summary | |
---|---|
NSGraphicsContext()
|
Method Summary | |
---|---|
static NSGraphicsContext |
alloc()
|
NSGraphicsContext_RenderingOptions |
as_NSGraphicsContext_NSGraphicsContext_RenderingOptions()
|
NSQuartzCoreAdditions |
as_NSGraphicsContext_NSQuartzCoreAdditions()
|
abstract NSDictionary |
attributes()
Returns attributes used to create this instance Original signature : -(NSDictionary*)attributes native declaration : NSGraphicsContext.h:75 |
static NSGraphicsContext |
currentContext()
Setting and identifying the current context in the thread Original signature : +(NSGraphicsContext*)currentContext native declaration : NSGraphicsContext.h:60 |
static boolean |
currentContextDrawingToScreen()
Convenience cover method for [[NSGraphicsContext currentContext] isDrawingToScreen] Original signature : +(BOOL)currentContextDrawingToScreen native declaration : NSGraphicsContext.h:64 |
abstract void |
flushGraphics()
Original signature : -(void)flushGraphics native declaration : NSGraphicsContext.h:84 |
static NSGraphicsContext._class_ |
getNSClass()
|
static NSGraphicsContext |
graphicsContextWithAttributes(NSDictionary attributes)
Instantiates from an appropriate concrete subclass depending on NSGraphicsContextDestinationAttributeName attribute Original signature : +(NSGraphicsContext*)graphicsContextWithAttributes:(NSDictionary*) native declaration : NSGraphicsContext.h:44 |
static NSGraphicsContext |
graphicsContextWithBitmapImageRep(NSBitmapImageRep bitmapRep)
Convenience cover method for [NSGraphicsContext graphicsContextWithAttributes:[NSDictionary dictionaryWithObject: |
static NSGraphicsContext |
graphicsContextWithGraphicsPort_flipped(Pointer graphicsPort,
boolean initialFlippedState)
Instantiates from an arbitrary graphicsPort (usually CGContextRef). |
static NSGraphicsContext |
graphicsContextWithWindow(NSWindow window)
Convenience cover method for [NSGraphicsContext graphicsContextWithAttributes:[NSDictionary dictionaryWithObject: Original signature : +(NSGraphicsContext*)graphicsContextWithWindow:(NSWindow*) native declaration : NSGraphicsContext.h:47 |
abstract Pointer |
graphicsPort()
Platform specific drawing context (usually CGContextRef) Original signature : -(void*)graphicsPort native declaration : NSGraphicsContext.h:87 |
abstract boolean |
isDrawingToScreen()
Testing the drawing destination Original signature : -(BOOL)isDrawingToScreen native declaration : NSGraphicsContext.h:78 |
abstract boolean |
isFlipped()
Returns the flip state of the receiver. |
static NSGraphicsContext |
new_()
|
static void |
restoreGraphicsState()
Pops a context from per-thread stack, makes it current, and calls -restoreGraphicsContext. |
static void |
saveGraphicsState()
Calls -saveGraphicsContext, and pushes the current context on per-thread stack. |
static void |
setCurrentContext(NSGraphicsContext context)
Original signature : +(void)setCurrentContext:(NSGraphicsContext*) native declaration : NSGraphicsContext.h:61 |
static void |
setGraphicsState(NSInteger gState)
Makes gState's context current, and resets graphics state. |
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, class_, conformsToProtocol, hash, isEqual, isMemberOfClass, isProxy, performSelector_withObject_withObject, performSelector_withObject, performSelector, respondsToSelector, self, superclass, zone |
Constructor Detail |
---|
public NSGraphicsContext()
Method Detail |
---|
public NSGraphicsContext_RenderingOptions as_NSGraphicsContext_NSGraphicsContext_RenderingOptions()
public NSQuartzCoreAdditions as_NSGraphicsContext_NSQuartzCoreAdditions()
public static NSGraphicsContext graphicsContextWithAttributes(NSDictionary attributes)
+(NSGraphicsContext*)graphicsContextWithAttributes:(NSDictionary*)
public static NSGraphicsContext graphicsContextWithWindow(NSWindow window)
+(NSGraphicsContext*)graphicsContextWithWindow:(NSWindow*)
public static NSGraphicsContext graphicsContextWithBitmapImageRep(NSBitmapImageRep bitmapRep)
+(NSGraphicsContext*)graphicsContextWithBitmapImageRep:(NSBitmapImageRep*)
public static NSGraphicsContext graphicsContextWithGraphicsPort_flipped(Pointer graphicsPort, boolean initialFlippedState)
+(NSGraphicsContext*)graphicsContextWithGraphicsPort:(void*) flipped:(BOOL)
public static NSGraphicsContext currentContext()
+(NSGraphicsContext*)currentContext
public static void setCurrentContext(NSGraphicsContext context)
+(void)setCurrentContext:(NSGraphicsContext*)
public static boolean currentContextDrawingToScreen()
+(BOOL)currentContextDrawingToScreen
public static void saveGraphicsState()
+(void)saveGraphicsState
public static void restoreGraphicsState()
+(void)restoreGraphicsState
public static void setGraphicsState(NSInteger gState)
+(void)setGraphicsState:(NSInteger)
public abstract NSDictionary attributes()
-(NSDictionary*)attributes
public abstract boolean isDrawingToScreen()
-(BOOL)isDrawingToScreen
public abstract void flushGraphics()
-(void)flushGraphics
public abstract Pointer graphicsPort()
-(void*)graphicsPort
public abstract boolean isFlipped()
-(BOOL)isFlipped
public static NSGraphicsContext alloc()
public static NSGraphicsContext new_()
public static NSGraphicsContext._class_ getNSClass()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |