GR_CocoaGraphics Class Reference

#include <gr_CocoaGraphics.h>

Inheritance diagram for GR_CocoaGraphics:

GR_Graphics

List of all members.

Public Types

typedef bool(* gr_cocoa_graphics_update )(NSRect *rect, GR_CocoaGraphics *pGr, void *param)

Public Member Functions

 ~GR_CocoaGraphics ()
virtual UT_uint32 getClassId ()
virtual GR_Capability getCapability ()
virtual void drawGlyph (UT_uint32, UT_sint32, UT_sint32)
virtual void drawChars (const UT_UCSChar *pChars, int iCharOffset, int iLength, UT_sint32 xoff, UT_sint32 yoff, int *pCharWidhths=NULL)
virtual void setFont (const GR_Font *pFont)
virtual void clearFont (void)
virtual UT_uint32 getFontHeight ()
virtual UT_sint32 measureUnRemappedChar (const UT_UCSChar c, UT_uint32 *height=NULL)
virtual void getCoverage (UT_NumberVector &coverage)
virtual void setColor (const UT_RGBColor &clr)
virtual void getColor (UT_RGBColor &clr)
virtual GR_FontgetGUIFont ()
virtual UT_uint32 getFontAscent ()
virtual UT_uint32 getFontDescent ()
virtual void drawLine (UT_sint32, UT_sint32, UT_sint32, UT_sint32)
virtual void setLineWidth (UT_sint32)
virtual void polyLine (UT_Point *pts, UT_uint32 nPoints)
void rawPolyAtOffset (NSPoint *point, int npoint, UT_sint32 offset_x, UT_sint32 offset_y, NSColor *color, bool bFill)
void fillNSRect (NSRect &aRect, NSColor *color)
virtual void fillRect (const UT_RGBColor &c, UT_sint32 x, UT_sint32 y, UT_sint32 w, UT_sint32 h)
virtual void invertRect (const UT_Rect *pRect)
virtual void setClipRect (const UT_Rect *pRect)
virtual void scroll (UT_sint32, UT_sint32)
virtual void scroll (UT_sint32 x_dest, UT_sint32 y_dest, UT_sint32 x_src, UT_sint32 y_src, UT_sint32 width, UT_sint32 height)
virtual void clearArea (UT_sint32, UT_sint32, UT_sint32, UT_sint32)
virtual void drawImage (GR_Image *pImg, UT_sint32 xDest, UT_sint32 yDest)
virtual GR_ImagecreateNewImage (const char *pszName, const UT_ByteBuf *pBB, UT_sint32 iDisplayWidth, UT_sint32 iDisplayHeight, GR_Image::GRType=GR_Image::GRT_Raster)
virtual void setLineProperties (double inWidthPixels, JoinStyle inJoinStyle, CapStyle inCapStyle, LineStyle inLineStyle)
virtual bool queryProperties (GR_Graphics::Properties gp) const
virtual bool startPrint (void)
virtual bool startPage (const char *szPageLabel, UT_uint32 pageNumber, bool bPortrait, UT_uint32 iWidth, UT_uint32 iHeight)
virtual void setZoomPercentage (UT_uint32 iZoom)
virtual bool endPrint (void)
virtual void flush (void)
virtual void setColorSpace (GR_Graphics::ColorSpace c)
virtual GR_Graphics::ColorSpace getColorSpace (void) const
virtual void setCursor (GR_Graphics::Cursor c)
virtual GR_Graphics::Cursor getCursor (void) const
void setGrabCursor (GR_Graphics::Cursor c)
virtual void setColor3D (GR_Color3D c)
void init3dColors ()
virtual void fillRect (GR_Color3D c, UT_sint32 x, UT_sint32 y, UT_sint32 w, UT_sint32 h)
virtual void fillRect (GR_Color3D c, UT_Rect &r)
virtual void polygon (UT_RGBColor &c, UT_Point *pts, UT_uint32 nPoints)
virtual UT_uint32 getFontAscent (const GR_Font *)
virtual UT_uint32 getFontDescent (const GR_Font *)
virtual UT_uint32 getFontHeight (const GR_Font *)
virtual GR_ImagegenImageFromRectangle (const UT_Rect &r)
virtual void saveRectangle (UT_Rect &r, UT_uint32 iIndx)
virtual void restoreRectangle (UT_uint32 iIndx)
virtual UT_uint32 getDeviceResolution (void) const
void _setUpdateCallback (gr_cocoa_graphics_update callback, void *param)
bool _callUpdateCallback (NSRect *aRect)
XAP_CocoaNSView_getView ()
void setIsPrinting (bool _isPrinting)
bool isPrinting (void) const

Static Public Member Functions

static UT_uint32 s_getClassId ()
static const char * graphicsDescriptor (void)
static GR_GraphicsgraphicsAllocator (GR_AllocInfo &)
static NSColor * HBlue ()
static NSColor * VBlue ()
static NSColor * HGrey ()
static NSColor * VGrey ()
static bool _isFlipped ()
static NSColor * _utRGBColorToNSColor (const UT_RGBColor &clr)
static void _utNSColorToRGBColor (NSColor *c, UT_RGBColor &clr)
static float _getScreenResolution (void)

Public Attributes

NSColor * m_3dColors [COUNT_3D_COLORS]

Protected Member Functions

 GR_CocoaGraphics (XAP_CocoaNSView *view)
virtual GR_Font_findFont (const char *pszFontFamily, const char *pszFontStyle, const char *pszFontVariant, const char *pszFontWeight, const char *pszFontStretch, const char *pszFontSize, const char *pszLang)
virtual UT_uint32 _getResolution (void) const
void _setColor (NSColor *c)
virtual void _beginPaint (void)
virtual void _endPaint (void)

Private Member Functions

void _setClipRectImpl (const UT_Rect *pRect)
NSImage * _makeNewCacheImage ()
void _resetContext (CGContextRef context)
float _measureUnRemappedCharCached (const UT_UCSChar c)
void _setCapStyle (CapStyle inCapStyle, CGContextRef *context=0)
void _setJoinStyle (JoinStyle inJoinStyle, CGContextRef *context=0)
void _setLineStyle (LineStyle inLineStyle, CGContextRef *context=0)
void _restartPaint (void)
void _realDrawChars (ATSUTextLayout atsuLayout, float x, float y, int begin, int rangelen, float xOffset)

Static Private Member Functions

static void _initColorAndImage (void)

Private Attributes

gr_cocoa_graphics_update m_updateCallback
void * m_updateCBparam
XAP_CocoaNSViewm_pWin
ATSUStyle m_atsuStyle
CGContextRef m_CGContext
UT_GenericVector< idm_cacheArray
UT_GenericVector< NSRect * > m_cacheRectArray
NSColor * m_currentColor
XAP_CocoaFontm_pFont
NSFont * m_fontForGraphics
XAP_CocoaFontm_pFontGUI
float m_fLineWidth
JoinStyle m_joinStyle
CapStyle m_capStyle
LineStyle m_lineStyle
GR_Graphics::Cursor m_cursor
GR_Graphics::Cursor m_GrabCursor
GR_Graphics::ColorSpace m_cs
UT_uint32 m_screenResolution
bool m_bIsPrinting
bool m_bIsDrawing
StNSViewLockerm_viewLocker

Static Private Attributes

static bool m_colorAndImageInited = false
static NSImage * m_imageBlue16x15 = nil
static NSImage * m_imageBlue11x16 = nil
static NSImage * m_imageGrey16x15 = nil
static NSImage * m_imageGrey11x16 = nil
static NSColor * m_colorBlue16x15 = nil
static NSColor * m_colorBlue11x16 = nil
static NSColor * m_colorGrey16x15 = nil
static NSColor * m_colorGrey11x16 = nil
static NSCursor * m_Cursor_E = nil
static NSCursor * m_Cursor_N = nil
static NSCursor * m_Cursor_NE = nil
static NSCursor * m_Cursor_NW = nil
static NSCursor * m_Cursor_S = nil
static NSCursor * m_Cursor_SE = nil
static NSCursor * m_Cursor_SW = nil
static NSCursor * m_Cursor_W = nil
static NSCursor * m_Cursor_Wait = nil
static NSCursor * m_Cursor_LeftArrow = nil
static NSCursor * m_Cursor_RightArrow = nil
static NSCursor * m_Cursor_Compass = nil
static NSCursor * m_Cursor_Exchange = nil
static NSCursor * m_Cursor_LeftRight = nil
static NSCursor * m_Cursor_UpDown = nil
static NSCursor * m_Cursor_Crosshair = nil
static NSCursor * m_Cursor_HandPointer = nil
static NSCursor * m_Cursor_DownArrow = nil
static UT_uint32 s_iInstanceCount = 0


Member Typedef Documentation

typedef bool(* GR_CocoaGraphics::gr_cocoa_graphics_update)(NSRect *rect, GR_CocoaGraphics *pGr, void *param)


Constructor & Destructor Documentation

GR_CocoaGraphics::~GR_CocoaGraphics (  ) 

GR_CocoaGraphics::GR_CocoaGraphics ( XAP_CocoaNSView view  )  [protected]


Member Function Documentation

static UT_uint32 GR_CocoaGraphics::s_getClassId (  )  [inline, static]

References GRID_COCOA.

Referenced by getClassId(), and XAP_CocoaApp::XAP_CocoaApp().

virtual UT_uint32 GR_CocoaGraphics::getClassId (  )  [inline, virtual]

Implements GR_Graphics.

References s_getClassId().

virtual GR_Capability GR_CocoaGraphics::getCapability (  )  [inline, virtual]

Reimplemented from GR_Graphics.

References GRCAP_UNKNOWN, UT_ASSERT, and UT_NOT_IMPLEMENTED.

static const char* GR_CocoaGraphics::graphicsDescriptor ( void   )  [inline, static]

GR_Graphics * GR_CocoaGraphics::graphicsAllocator ( GR_AllocInfo info  )  [static]

virtual void GR_CocoaGraphics::drawGlyph ( UT_uint32  ,
UT_sint32  ,
UT_sint32   
) [inline, virtual]

Implements GR_Graphics.

References UT_ASSERT, and UT_NOT_IMPLEMENTED.

void GR_CocoaGraphics::drawChars ( const UT_UCSChar pChars,
int  iCharOffset,
int  iLength,
UT_sint32  xoff,
UT_sint32  yoff,
int *  pCharWidhths = NULL 
) [virtual]

void GR_CocoaGraphics::setFont ( const GR_Font pFont  )  [virtual]

virtual void GR_CocoaGraphics::clearFont ( void   )  [inline, virtual]

Implements GR_Graphics.

References m_pFont.

UT_uint32 GR_CocoaGraphics::getFontHeight (  )  [virtual]

UT_sint32 GR_CocoaGraphics::measureUnRemappedChar ( const UT_UCSChar  c,
UT_uint32 height = NULL 
) [virtual]

Measure unremapped char

Returns:
width in Layout Unit

Implements GR_Graphics.

References _measureUnRemappedCharCached(), and GR_Graphics::ftluD().

void GR_CocoaGraphics::getCoverage ( UT_NumberVector coverage  )  [virtual]

Implements GR_Graphics.

References XAP_CocoaFont::getCoverage(), and m_pFont.

void GR_CocoaGraphics::setColor ( const UT_RGBColor clr  )  [virtual]

void GR_CocoaGraphics::getColor ( UT_RGBColor clr  )  [virtual]

Implements GR_Graphics.

References _utNSColorToRGBColor(), and m_currentColor.

static NSColor* GR_CocoaGraphics::HBlue (  )  [inline, static]

static NSColor* GR_CocoaGraphics::VBlue (  )  [inline, static]

static NSColor* GR_CocoaGraphics::HGrey (  )  [inline, static]

static NSColor* GR_CocoaGraphics::VGrey (  )  [inline, static]

GR_Font * GR_CocoaGraphics::getGUIFont ( void   )  [virtual]

UT_uint32 GR_CocoaGraphics::getFontAscent (  )  [virtual]

UT_uint32 GR_CocoaGraphics::getFontDescent (  )  [virtual]

void GR_CocoaGraphics::drawLine ( UT_sint32  x1,
UT_sint32  y1,
UT_sint32  x2,
UT_sint32  y2 
) [virtual]

void GR_CocoaGraphics::setLineWidth ( UT_sint32  iLineWidth  )  [virtual]

void GR_CocoaGraphics::polyLine ( UT_Point pts,
UT_uint32  nPoints 
) [virtual]

void GR_CocoaGraphics::rawPolyAtOffset ( NSPoint *  point,
int  npoint,
UT_sint32  offset_x,
UT_sint32  offset_y,
NSColor *  color,
bool  bFill 
)

void GR_CocoaGraphics::fillNSRect ( NSRect &  aRect,
NSColor *  color 
)

References CONTEXT_LOCKED__, and m_CGContext.

Referenced by XAP_CocoaNSView::drawRect:.

void GR_CocoaGraphics::fillRect ( const UT_RGBColor c,
UT_sint32  x,
UT_sint32  y,
UT_sint32  w,
UT_sint32  h 
) [virtual]

void GR_CocoaGraphics::invertRect ( const UT_Rect pRect  )  [virtual]

void GR_CocoaGraphics::setClipRect ( const UT_Rect pRect  )  [virtual]

void GR_CocoaGraphics::scroll ( UT_sint32  dx,
UT_sint32  dy 
) [virtual]

void GR_CocoaGraphics::scroll ( UT_sint32  x_dest,
UT_sint32  y_dest,
UT_sint32  x_src,
UT_sint32  y_src,
UT_sint32  width,
UT_sint32  height 
) [virtual]

void GR_CocoaGraphics::clearArea ( UT_sint32  x,
UT_sint32  y,
UT_sint32  width,
UT_sint32  height 
) [virtual]

void GR_CocoaGraphics::drawImage ( GR_Image pImg,
UT_sint32  xDest,
UT_sint32  yDest 
) [virtual]

GR_Image * GR_CocoaGraphics::createNewImage ( const char *  pszName,
const UT_ByteBuf pBB,
UT_sint32  iDisplayWidth,
UT_sint32  iDisplayHeight,
GR_Image::GRType  iType = GR_Image::GRT_Raster 
) [virtual]

void GR_CocoaGraphics::setLineProperties ( double  inWidthPixels,
JoinStyle  inJoinStyle,
CapStyle  inCapStyle,
LineStyle  inLineStyle 
) [virtual]

bool GR_CocoaGraphics::queryProperties ( GR_Graphics::Properties  gp  )  const [virtual]

bool GR_CocoaGraphics::startPrint ( void   )  [virtual]

Implements GR_Graphics.

References m_bIsPrinting, and UT_ASSERT.

bool GR_CocoaGraphics::startPage ( const char *  szPageLabel,
UT_uint32  pageNumber,
bool  bPortrait,
UT_uint32  iWidth,
UT_uint32  iHeight 
) [virtual]

Implements GR_Graphics.

References m_bIsPrinting, and UT_ASSERT.

void GR_CocoaGraphics::setZoomPercentage ( UT_uint32  iZoom  )  [virtual]

Reimplemented from GR_Graphics.

References DELETEP, m_pFontGUI, and GR_Graphics::setZoomPercentage().

bool GR_CocoaGraphics::endPrint ( void   )  [virtual]

Implements GR_Graphics.

References m_bIsPrinting, and UT_ASSERT.

void GR_CocoaGraphics::flush ( void   )  [virtual]

Reimplemented from GR_Graphics.

References m_bIsDrawing, and m_pWin.

void GR_CocoaGraphics::setColorSpace ( GR_Graphics::ColorSpace  c  )  [virtual]

Implements GR_Graphics.

References UT_ASSERT, and UT_SHOULD_NOT_HAPPEN.

GR_Graphics::ColorSpace GR_CocoaGraphics::getColorSpace ( void   )  const [virtual]

Implements GR_Graphics.

References m_cs.

void GR_CocoaGraphics::setCursor ( GR_Graphics::Cursor  c  )  [virtual]

GR_Graphics::Cursor GR_CocoaGraphics::getCursor ( void   )  const [virtual]

Implements GR_Graphics.

References m_cursor.

void GR_CocoaGraphics::setGrabCursor ( GR_Graphics::Cursor  c  )  [inline]

void GR_CocoaGraphics::setColor3D ( GR_Color3D  c  )  [virtual]

void GR_CocoaGraphics::init3dColors (  ) 

void GR_CocoaGraphics::fillRect ( GR_Color3D  c,
UT_sint32  x,
UT_sint32  y,
UT_sint32  w,
UT_sint32  h 
) [virtual]

void GR_CocoaGraphics::fillRect ( GR_Color3D  c,
UT_Rect r 
) [virtual]

void GR_CocoaGraphics::polygon ( UT_RGBColor c,
UT_Point pts,
UT_uint32  nPoints 
) [virtual]

UT_uint32 GR_CocoaGraphics::getFontAscent ( const GR_Font fnt  )  [virtual]

Implements GR_Graphics.

References GR_Graphics::ftluD(), and UT_ASSERT.

UT_uint32 GR_CocoaGraphics::getFontDescent ( const GR_Font fnt  )  [virtual]

Implements GR_Graphics.

References GR_Graphics::ftluD(), and UT_ASSERT.

UT_uint32 GR_CocoaGraphics::getFontHeight ( const GR_Font fnt  )  [virtual]

Implements GR_Graphics.

References GR_Graphics::ftluD(), and UT_ASSERT.

GR_Image * GR_CocoaGraphics::genImageFromRectangle ( const UT_Rect r  )  [virtual]

void GR_CocoaGraphics::saveRectangle ( UT_Rect r,
UT_uint32  iIndx 
) [virtual]

void GR_CocoaGraphics::restoreRectangle ( UT_uint32  iIndx  )  [virtual]

UT_uint32 GR_CocoaGraphics::getDeviceResolution ( void   )  const [virtual]

Implements GR_Graphics.

References _getResolution().

void GR_CocoaGraphics::_setUpdateCallback ( gr_cocoa_graphics_update  callback,
void *  param 
)

bool GR_CocoaGraphics::_callUpdateCallback ( NSRect *  aRect  ) 

Call the update Callback that has been set

Parameters:
aRect,: the rect that should be updated
Returns:
false if no callback. Otherwise returns what the callback returns.

References m_bIsDrawing, m_updateCallback, and m_updateCBparam.

Referenced by XAP_CocoaNSView::drawRect:.

XAP_CocoaNSView* GR_CocoaGraphics::_getView (  )  [inline]

References m_pWin.

Referenced by XAP_CocoaDialog_Print::runPrint().

bool GR_CocoaGraphics::_isFlipped (  )  [static]

NSColor * GR_CocoaGraphics::_utRGBColorToNSColor ( const UT_RGBColor clr  )  [static]

Convert a UT_RGBColor to a NSColor

Parameters:
clr the UT_RGBColor to convert
Returns:
an autoreleased NSColor
Handle the transparency as well.

References UT_RGBColor::m_blu, UT_RGBColor::m_grn, UT_RGBColor::m_red, and UT_DEBUGMSG.

Referenced by fillRect(), polygon(), XAP_CocoaDialog_FontChooser::runModal, and setColor().

void GR_CocoaGraphics::_utNSColorToRGBColor ( NSColor *  c,
UT_RGBColor clr 
) [static]

Convert a NSColor to an UT_RGBColor

Parameters:
c NSColor to convert
Return values:
clr destination UT_RGBColor.
Handle the transparency as well.

References UT_RGBColor::m_bIsTransparent, UT_RGBColor::m_blu, UT_RGBColor::m_grn, and UT_RGBColor::m_red.

Referenced by getColor(), and XAP_CocoaFrameImpl::getColorSelBackground().

void GR_CocoaGraphics::setIsPrinting ( bool  _isPrinting  )  [inline]

bool GR_CocoaGraphics::isPrinting ( void   )  const [inline]

References m_bIsPrinting.

Referenced by queryProperties().

float GR_CocoaGraphics::_getScreenResolution ( void   )  [static]

GR_Font * GR_CocoaGraphics::_findFont ( const char *  pszFontFamily,
const char *  pszFontStyle,
const char *  pszFontVariant,
const char *  pszFontWeight,
const char *  pszFontStretch,
const char *  pszFontSize,
const char *  pszLang 
) [protected, virtual]

UT_uint32 GR_CocoaGraphics::_getResolution ( void   )  const [protected, virtual]

References m_screenResolution.

Referenced by getDeviceResolution().

void GR_CocoaGraphics::_setColor ( NSColor *  c  )  [protected]

void GR_CocoaGraphics::_beginPaint ( void   )  [protected, virtual]

void GR_CocoaGraphics::_endPaint ( void   )  [protected, virtual]

Reimplemented from GR_Graphics.

References DELETEP, and m_viewLocker.

Referenced by _restartPaint().

void GR_CocoaGraphics::_setClipRectImpl ( const UT_Rect pRect  )  [private]

NSImage* GR_CocoaGraphics::_makeNewCacheImage (  )  [inline, private]

void GR_CocoaGraphics::_resetContext ( CGContextRef  context  )  [private]

void GR_CocoaGraphics::_initColorAndImage ( void   )  [static, private]

float GR_CocoaGraphics::_measureUnRemappedCharCached ( const UT_UCSChar  c  )  [private]

Internal version to measure unremapped char

Returns:
width in Device Unit

References GR_CharWidthsCache::CACHE_FONT_SIZE, GR_Font::getCharWidthFromCache(), XAP_CocoaFont::getSize(), and m_pFont.

Referenced by measureUnRemappedChar().

void GR_CocoaGraphics::_setCapStyle ( CapStyle  inCapStyle,
CGContextRef *  context = 0 
) [private]

void GR_CocoaGraphics::_setJoinStyle ( JoinStyle  inJoinStyle,
CGContextRef *  context = 0 
) [private]

void GR_CocoaGraphics::_setLineStyle ( LineStyle  inLineStyle,
CGContextRef *  context = 0 
) [private]

void GR_CocoaGraphics::_restartPaint ( void   )  [private]

Restart the paiting by unlocking and relocking the whole stuff. One of the purpose of this operation is to reset the clipping view

References _beginPaint(), _endPaint(), m_viewLocker, and UT_ASSERT.

Referenced by setClipRect().

void GR_CocoaGraphics::_realDrawChars ( ATSUTextLayout  atsuLayout,
float  x,
float  y,
int  begin,
int  rangelen,
float  xOffset 
) [private]

Wrapper to draw the char.

Parameters:
atsuLayout the ATSU layout
x X position
y Y position
begin the start of the range to draw
rangelen the length of the range
Note:
the NSView must be focused prior this call

References m_CGContext, and m_fontForGraphics.

Referenced by drawChars().


Member Data Documentation

ATSUStyle GR_CocoaGraphics::m_atsuStyle [private]

CGContextRef GR_CocoaGraphics::m_CGContext [private]

bool GR_CocoaGraphics::m_colorAndImageInited = false [static, private]

Referenced by _initColorAndImage().

NSImage * GR_CocoaGraphics::m_imageBlue16x15 = nil [static, private]

Referenced by _initColorAndImage().

NSImage * GR_CocoaGraphics::m_imageBlue11x16 = nil [static, private]

Referenced by _initColorAndImage().

NSImage * GR_CocoaGraphics::m_imageGrey16x15 = nil [static, private]

Referenced by _initColorAndImage().

NSImage * GR_CocoaGraphics::m_imageGrey11x16 = nil [static, private]

Referenced by _initColorAndImage().

NSColor * GR_CocoaGraphics::m_colorBlue16x15 = nil [static, private]

Referenced by _initColorAndImage(), and HBlue().

NSColor * GR_CocoaGraphics::m_colorBlue11x16 = nil [static, private]

Referenced by _initColorAndImage(), and VBlue().

NSColor * GR_CocoaGraphics::m_colorGrey16x15 = nil [static, private]

Referenced by _initColorAndImage(), and HGrey().

NSColor * GR_CocoaGraphics::m_colorGrey11x16 = nil [static, private]

Referenced by _initColorAndImage(), and VGrey().

NSCursor * GR_CocoaGraphics::m_Cursor_E = nil [static, private]

Referenced by _initColorAndImage(), and setCursor().

NSCursor * GR_CocoaGraphics::m_Cursor_N = nil [static, private]

Referenced by _initColorAndImage(), and setCursor().

NSCursor * GR_CocoaGraphics::m_Cursor_NE = nil [static, private]

Referenced by _initColorAndImage(), and setCursor().

NSCursor * GR_CocoaGraphics::m_Cursor_NW = nil [static, private]

Referenced by _initColorAndImage(), and setCursor().

NSCursor * GR_CocoaGraphics::m_Cursor_S = nil [static, private]

Referenced by _initColorAndImage(), and setCursor().

NSCursor * GR_CocoaGraphics::m_Cursor_SE = nil [static, private]

Referenced by _initColorAndImage(), and setCursor().

NSCursor * GR_CocoaGraphics::m_Cursor_SW = nil [static, private]

Referenced by _initColorAndImage(), and setCursor().

NSCursor * GR_CocoaGraphics::m_Cursor_W = nil [static, private]

Referenced by _initColorAndImage(), and setCursor().

NSCursor * GR_CocoaGraphics::m_Cursor_Wait = nil [static, private]

Referenced by _initColorAndImage(), and setCursor().

NSCursor * GR_CocoaGraphics::m_Cursor_LeftArrow = nil [static, private]

Referenced by _initColorAndImage(), and setCursor().

NSCursor * GR_CocoaGraphics::m_Cursor_RightArrow = nil [static, private]

Referenced by _initColorAndImage(), and setCursor().

NSCursor * GR_CocoaGraphics::m_Cursor_Compass = nil [static, private]

Referenced by _initColorAndImage(), and setCursor().

NSCursor * GR_CocoaGraphics::m_Cursor_Exchange = nil [static, private]

Referenced by _initColorAndImage(), and setCursor().

NSCursor * GR_CocoaGraphics::m_Cursor_LeftRight = nil [static, private]

Referenced by _initColorAndImage(), and setCursor().

NSCursor * GR_CocoaGraphics::m_Cursor_UpDown = nil [static, private]

Referenced by _initColorAndImage(), and setCursor().

NSCursor * GR_CocoaGraphics::m_Cursor_Crosshair = nil [static, private]

Referenced by _initColorAndImage(), and setCursor().

NSCursor * GR_CocoaGraphics::m_Cursor_HandPointer = nil [static, private]

Referenced by _initColorAndImage(), and setCursor().

NSCursor * GR_CocoaGraphics::m_Cursor_DownArrow = nil [static, private]

Referenced by _initColorAndImage(), and setCursor().

Reimplemented from GR_Graphics.

Referenced by GR_CocoaGraphics(), and ~GR_CocoaGraphics().

Referenced by _resetContext(), and setLineProperties().

Referenced by _resetContext(), and setLineProperties().

Referenced by setCursor(), and setGrabCursor().

Referenced by getColorSpace(), and GR_CocoaGraphics().

Referenced by _getResolution(), and GR_CocoaGraphics().

Referenced by _callUpdateCallback(), and flush().

NSColor* GR_CocoaGraphics::m_3dColors[COUNT_3D_COLORS]


The documentation for this class was generated from the following files:

Generated on Sat Jul 11 00:07:04 2009 for AbiWord by  doxygen 1.5.5