Public Member Functions | Static Public Member Functions | Private Attributes

GR_Abi_RenderingContext Class Reference

#include <gr_Abi_RenderingContext.h>

List of all members.

Public Member Functions

 GR_Abi_RenderingContext (class GR_Graphics *)
virtual ~GR_Abi_RenderingContext ()
class GR_GraphicsgetGraphics (void) const
void setColor (const RGBColor &c)
void setColor (const UT_RGBColor &)
void getColor (RGBColor &) const
void getColor (UT_RGBColor &) const
void fill (const scaled &, const scaled &, const BoundingBox &) const
void fill (const UT_RGBColor &, const scaled &, const scaled &, const BoundingBox &) const
void fill (const RGBColor &c, const scaled &x, const scaled &y, const BoundingBox &box) const
void drawGlyph (const scaled &, const scaled &, class GR_Font *, UT_uint32) const
void drawChar (const scaled &, const scaled &, class GR_Font *, UT_UCS4Char) const
void drawBox (const scaled &, const scaled &, const BoundingBox &) const
UT_sint32 toAbiLayoutUnits (const scaled &s) const
scaled fromAbiLayoutUnits (UT_sint32 s) const
UT_sint32 toAbiX (const scaled &x) const
UT_sint32 toAbiY (const scaled &y) const
scaled fromAbiX (UT_sint32 x) const
scaled fromAbiY (UT_sint32 y) const

Static Public Member Functions

static RGBColor fromAbiColor (const UT_RGBColor &c)
static UT_RGBColor toAbiColor (const RGBColor &c)

Private Attributes

class GR_Graphicsm_pGraphics

Constructor & Destructor Documentation

GR_Abi_RenderingContext::GR_Abi_RenderingContext ( class GR_Graphics pGr  ) 

References m_pGraphics, and UT_ASSERT.

GR_Abi_RenderingContext::~GR_Abi_RenderingContext (  )  [virtual]

Member Function Documentation

void GR_Abi_RenderingContext::drawBox ( const scaled &  x,
const scaled &  y,
const BoundingBox &  box 
) const
void GR_Abi_RenderingContext::drawChar ( const scaled &  x,
const scaled &  y,
class GR_Font f,
UT_UCS4Char  c 
) const
void GR_Abi_RenderingContext::drawGlyph ( const scaled &  x,
const scaled &  y,
class GR_Font f,
UT_uint32  glyph 
) const
void GR_Abi_RenderingContext::fill ( const RGBColor &  c,
const scaled &  x,
const scaled &  y,
const BoundingBox &  box 
) const [inline]

References fill(), and toAbiColor().

Referenced by fill().

void GR_Abi_RenderingContext::fill ( const scaled &  x,
const scaled &  y,
const BoundingBox &  box 
) const

References getColor().

Referenced by GR_Abi_InkArea::render().

void GR_Abi_RenderingContext::fill ( const UT_RGBColor color,
const scaled &  x,
const scaled &  y,
const BoundingBox &  box 
) const
static RGBColor GR_Abi_RenderingContext::fromAbiColor ( const UT_RGBColor c  )  [inline, static]
scaled GR_Abi_RenderingContext::fromAbiLayoutUnits ( UT_sint32  s  )  const
scaled GR_Abi_RenderingContext::fromAbiX ( UT_sint32  x  )  const

References fromAbiLayoutUnits().

Referenced by GR_MathManager::render().

scaled GR_Abi_RenderingContext::fromAbiY ( UT_sint32  y  )  const

References fromAbiLayoutUnits().

Referenced by GR_MathManager::render().

void GR_Abi_RenderingContext::getColor ( UT_RGBColor c  )  const
void GR_Abi_RenderingContext::getColor ( RGBColor &  c  )  const
class GR_Graphics* GR_Abi_RenderingContext::getGraphics ( void   )  const [inline]

References m_pGraphics.

void GR_Abi_RenderingContext::setColor ( const RGBColor &  c  )  [inline]
void GR_Abi_RenderingContext::setColor ( const UT_RGBColor c  ) 
static UT_RGBColor GR_Abi_RenderingContext::toAbiColor ( const RGBColor &  c  )  [inline, static]

Referenced by fill(), and setColor().

UT_sint32 GR_Abi_RenderingContext::toAbiLayoutUnits ( const scaled &  s  )  const
UT_sint32 GR_Abi_RenderingContext::toAbiX ( const scaled &  x  )  const

References toAbiLayoutUnits().

Referenced by drawBox(), drawChar(), drawGlyph(), and fill().

UT_sint32 GR_Abi_RenderingContext::toAbiY ( const scaled &  y  )  const

References toAbiLayoutUnits().

Referenced by drawBox(), drawChar(), drawGlyph(), and fill().


Member Data Documentation


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