#include <gr_Graphics.h>
typedef std::map<std::string, GR_Font*> GR_Graphics::FontCache [private] |
enum GR_Graphics::Cursor |
enum GR_Graphics::DeviceContextSwitchType [protected] |
GR_Graphics::~GR_Graphics | ( | ) | [virtual] |
GR_Graphics::GR_Graphics | ( | ) | [protected] |
virtual void GR_Graphics::_beginPaint | ( | ) | [inline, protected, virtual] |
Reimplemented in GR_UnixCairoGraphics.
Referenced by beginPaint().
void GR_Graphics::_destroyFonts | ( | ) | [protected] |
virtual void GR_Graphics::_DeviceContext_ResumeDrawing | ( | ) | [inline, protected, virtual] |
Reimplemented in GR_Win32Graphics, and GR_CairoGraphics.
Referenced by resumeDrawing().
virtual void GR_Graphics::_DeviceContext_SuspendDrawing | ( | ) | [inline, protected, virtual] |
Reimplemented in GR_Win32Graphics, and GR_CairoGraphics.
Referenced by suspendDrawing().
virtual void GR_Graphics::_DeviceContext_SwitchToBuffer | ( | ) | [inline, protected, virtual] |
Reimplemented in GR_Win32Graphics, and GR_CairoGraphics.
Referenced by beginDoubleBuffering().
virtual void GR_Graphics::_DeviceContext_SwitchToScreen | ( | ) | [inline, protected, virtual] |
Reimplemented in GR_Win32Graphics, and GR_CairoGraphics.
Referenced by endDoubleBuffering().
virtual void GR_Graphics::_endPaint | ( | ) | [inline, protected, virtual] |
Reimplemented in GR_UnixCairoGraphics.
Referenced by endPaint().
virtual GR_Font* GR_Graphics::_findFont | ( | const char * | pszFontFamily, | |
const char * | pszFontStyle, | |||
const char * | pszFontVariant, | |||
const char * | pszFontWeight, | |||
const char * | pszFontStretch, | |||
const char * | pszFontSize, | |||
const char * | pszLang | |||
) | [protected, pure virtual] |
Implemented in GR_Win32Graphics, GR_CairoGraphics, and GR_Win32PrintPreviewGraphics.
Referenced by findFont().
bool GR_Graphics::_PtInPolygon | ( | const UT_Point * | pts, | |
UT_uint32 | nPoints, | |||
UT_sint32 | x, | |||
UT_sint32 | y | |||
) | [private] |
Referenced by polygon().
virtual bool GR_Graphics::_setTransform | ( | const GR_Transform & | ) | [inline, private, virtual] |
Reimplemented in GR_Win32Graphics.
References UT_ASSERT_HARMLESS, and UT_NOT_IMPLEMENTED.
This method converts rectangle widths and heights to device units while taking account rounding down errors. This fixes off-by-1-pixel-bugs in Rectangle widths and heights.
Referenced by GR_CairoGraphics::_setProps(), GR_Win32Graphics::clearArea(), GR_Win32Graphics::drawLine(), GR_Win32Graphics::fillRect(), GR_CairoGraphics::fillRect(), GR_UnixCairoGraphics::genImageFromRectangle(), GR_Win32Graphics::polygon(), GR_Win32Graphics::polyLine(), GR_Win32Graphics::restoreRectangle(), GR_Win32Graphics::saveRectangle(), GR_CairoGraphics::saveRectangle(), and GR_Win32Graphics::xorLine().
This method converts to device units while taking account of the X-scroll offset. This will always give the exact same logical location on the screen no matter what the X-scroll offset is. This fixes off-by-1-pixel bugs in X.
References getPrevXOffset(), and tdu().
Referenced by GR_Caret::_blink(), GR_Win32USPGraphics::_drawChars(), GR_CairoGraphics::_scaleCharacterMetrics(), GR_CairoGraphics::_tdudX(), GR_Win32Graphics::clearArea(), GR_Win32Graphics::drawChar(), GR_Win32Graphics::drawChars(), GR_CairoGraphics::drawChars(), GR_Win32Graphics::drawImage(), GR_Win32Graphics::drawLine(), GR_CairoGraphics::drawLine(), GR_Win32Graphics::fillRect(), GR_UnixCairoGraphics::genImageFromRectangle(), GR_Win32Graphics::invertRect(), GR_Win32Graphics::polygon(), GR_Win32Graphics::polyLine(), GR_Win32USPGraphics::prepareToRenderChars(), GR_Win32USPGraphics::renderChars(), GR_Win32Graphics::restoreRectangle(), GR_CairoGraphics::restoreRectangle(), GR_Win32Graphics::saveRectangle(), GR_CairoGraphics::saveRectangle(), GR_Win32Graphics::setClipRect(), GR_Win32Graphics::xorLine(), and GR_CairoGraphics::xorLine().
This method converts to device units while taking account of the Y-scroll offset. This will always give the exact same logical location on the screen no matter what the Y-scroll offset is. This fixes off-by-1-pixel bugs in Y.
References getPrevYOffset(), and tdu().
Referenced by GR_Win32USPGraphics::_drawChars(), GR_CairoGraphics::_scaleCharacterMetrics(), GR_CairoGraphics::_tdudY(), GR_Win32Graphics::clearArea(), GR_Win32Graphics::drawChar(), GR_Win32Graphics::drawChars(), GR_Win32Graphics::drawImage(), GR_Win32Graphics::drawLine(), GR_CairoGraphics::drawLine(), GR_Win32Graphics::fillRect(), GR_UnixCairoGraphics::genImageFromRectangle(), GR_Win32Graphics::invertRect(), GR_Win32Graphics::polygon(), GR_Win32Graphics::polyLine(), GR_Win32USPGraphics::renderChars(), GR_Win32Graphics::restoreRectangle(), GR_CairoGraphics::restoreRectangle(), GR_Win32Graphics::saveRectangle(), GR_CairoGraphics::saveRectangle(), GR_Win32Graphics::setClipRect(), GR_Win32Graphics::xorLine(), and GR_CairoGraphics::xorLine().
UT_uint32 GR_Graphics::adjustCaretPosition | ( | GR_RenderInfo & | ri, | |
bool | bForward | |||
) | [virtual] |
Reimplemented in GR_Win32USPGraphics, and GR_CairoGraphics.
References GR_RenderInfo::m_iOffset.
Referenced by fp_TextRun::adjustCaretPosition().
void GR_Graphics::adjustDeletePosition | ( | GR_RenderInfo & | ri | ) | [virtual] |
Reimplemented in GR_Win32USPGraphics, and GR_CairoGraphics.
Referenced by fp_TextRun::adjustDeletePosition().
AllCarets * GR_Graphics::allCarets | ( | void | ) |
References m_AllCarets.
Referenced by GR_Caret::_blink(), FV_View::_clearSelection(), FV_View::_deleteSelection(), FV_View::_draw(), FV_View::_fixInsertionPointCoords(), FV_View::_prefsListener(), FV_View::_setPoint(), FV_VisualDragText::clearCursor(), FV_View::cmdSelectTOC(), Defun1(), FV_VisualDragText::drawCursor(), Presentation::drawNthPage(), FV_View::focusChange(), FV_View::FV_View(), FV_View::isSelectionEmpty(), FV_View::killBlink(), FV_VisualInlineImage::mouseLeftPress(), FV_FrameEdit::mouseLeftPress(), FV_FrameEdit::mouseRelease(), FV_Caret_Listener::notify(), FV_View::notifyListeners(), Presentation_context(), sActualMoveLeft(), sActualMoveRight(), FV_FrameEdit::setDragType(), FV_View::setGraphics(), FV_FrameEdit::setMode(), Presentation::start(), and fl_DocSectionLayout::updateLayout().
void GR_Graphics::antiAliasAlways | ( | bool | bAntiAlias | ) | [inline] |
void GR_Graphics::appendRenderedCharsToBuff | ( | GR_RenderInfo & | ri, | |
UT_GrowBuf & | buf | |||
) | const [virtual] |
Reimplemented in GR_Win32USPGraphics, and GR_CairoGraphics.
References UT_GrowBuf::append(), GR_RenderInfo::getType(), and UT_return_if_fail.
bool GR_Graphics::beginDoubleBuffering | ( | ) | [protected] |
void GR_Graphics::beginPaint | ( | ) |
bool GR_Graphics::canBreak | ( | GR_RenderInfo & | ri, | |
UT_sint32 & | iNext, | |||
bool | bAfter | |||
) | [virtual] |
return true if linebreak at character c is permissible
Reimplemented in GR_Win32USPGraphics, and GR_CairoGraphics.
References XAP_EncodingManager::canBreakBetween(), XAP_App::getApp(), UT_TextIterator::getChar(), XAP_App::getEncodingManager(), UT_TextIterator::getStatus(), GR_RenderInfo::m_iOffset, GR_RenderInfo::m_pText, UT_IT_ERROR, and UT_return_val_if_fail.
Referenced by fp_TextRun::findMaxLeftFitSplitPoint().
virtual bool GR_Graphics::canQuickPrint | ( | void | ) | const [inline, virtual] |
Reimplemented in GR_CairoPrintGraphics.
Referenced by fp_Line::draw().
virtual void GR_Graphics::clearArea | ( | UT_sint32 | x, | |
UT_sint32 | y, | |||
UT_sint32 | w, | |||
UT_sint32 | h | |||
) | [protected, pure virtual] |
Implemented in GR_Win32Graphics, GR_CairoGraphics, CairoNull_Graphics, and GR_Win32PrintPreviewGraphics.
Referenced by GR_Painter::clearArea().
virtual void GR_Graphics::clearFont | ( | void | ) | [pure virtual] |
Implemented in GR_Win32Graphics, GR_CairoGraphics, and GR_Win32PrintPreviewGraphics.
Referenced by AP_Frame::quickZoom(), AP_TopRuler::setZoom(), and AP_LeftRuler::setZoom().
UT_sint32 GR_Graphics::countJustificationPoints | ( | const GR_RenderInfo & | ri | ) | const [virtual] |
countJustificationPoints() counts the number of points between which any extra justification width could be distributed (in Latin text these are typically spaces).spaces in the text;
The function returns the count as negative value if the run contains only blank data (i.e., only spaces in Latin text).
Reimplemented in GR_Win32USPGraphics, and GR_CairoGraphics.
References GR_RenderInfo::getType(), GR_RenderInfo::m_bLastOnLine, UCS_SPACE, and UT_return_val_if_fail.
Referenced by fp_TextRun::countJustificationPoints(), GR_Win32USPRenderInfo::split(), and GR_XPRenderInfo::split().
void GR_Graphics::createCaret | ( | ) | [inline] |
References UT_ASSERT_HARMLESS.
Referenced by FV_View::addCaret(), FV_View::FV_View(), and FV_View::setGraphics().
GR_Caret * GR_Graphics::createCaret | ( | const std::string & | sID | ) |
References UT_GenericVector< T >::addItem(), GR_Caret, and m_vecCarets.
GR_Image * GR_Graphics::createNewImage | ( | const char * | pszName, | |
const UT_ConstByteBufPtr & | pBB, | |||
const std::string & | mimetype, | |||
UT_sint32 | iDisplayWidth, | |||
UT_sint32 | iDisplayHeight, | |||
GR_Image::GRType | iType = GR_Image::GRT_Raster | |||
) | [virtual] |
Create a new image from the Raster rgba byte buffer defined by pBB. The dimensions of iWidth and iHeight are in logical units but the image doesn't scale if the resolution or zoom changes. Instead you must create a new image.
Reimplemented in GR_UnixCairoGraphicsBase, and CairoNull_Graphics.
References GR_VectorImage::convertFromBuffer(), GR_Image::getBufferType(), GR_Image::GRT_Unknown, and GR_Image::GRT_Vector.
Referenced by AP_Dialog_FormatFrame::_makeImageForRaster(), AP_Dialog_FormatTable::askForGraphicPathName(), AP_FormatTable_preview::draw(), AP_FormatFrame_preview::draw(), FG_GraphicVector::generateImage(), FG_GraphicRaster::generateImage(), GR_EmbedManager::render(), and AP_Dialog_FormatTable::setCurCellProps().
void GR_Graphics::disableAllCarets | ( | ) |
References AllCarets::disable(), and m_AllCarets.
Referenced by GR_Painter::GR_Painter(), and GR_UnixCairoGraphics::scroll().
virtual void GR_Graphics::drawChars | ( | const UT_UCSChar * | pChars, | |
int | iCharOffset, | |||
int | iLength, | |||
UT_sint32 | xoff, | |||
UT_sint32 | yoff, | |||
int * | pCharWidths = NULL | |||
) | [protected, pure virtual] |
Implemented in GR_Win32Graphics, GR_Win32USPGraphics, GR_CairoGraphics, CairoNull_Graphics, and GR_Win32PrintPreviewGraphics.
Referenced by GR_Painter::drawChars(), drawCharsRelativeToBaseline(), and renderChars().
void GR_Graphics::drawCharsRelativeToBaseline | ( | const UT_UCSChar * | pChars, | |
int | iCharOffset, | |||
int | iLength, | |||
UT_sint32 | xoff, | |||
UT_sint32 | yoff, | |||
int * | pCharWidths = NULL | |||
) | [protected, virtual] |
This method is just like drawChars() except it treats yoff as position of the font baseline. The default implementation simply subtracts the ascent of the current font from yoff and calls drawChars(), which should work on all platforms except for win32.
On win32 because of the trickery we use to achieve wysiwyg layout the acent of the font we work with is slightly smaller than that of the actual font the system uses to draw on the screen. As a result, the characters end up positioned slightly higher than they should and this has proved a problem in the math plugin (see screen shots in #9500)
Reimplemented in GR_Win32USPGraphics.
References drawChars(), and getFontAscent().
Referenced by GR_Painter::drawCharsRelativeToBaseline().
virtual void GR_Graphics::drawGlyph | ( | UT_uint32 | glyph_idx, | |
UT_sint32 | xoff, | |||
UT_sint32 | yoff | |||
) | [protected, pure virtual] |
Implemented in GR_Win32Graphics, GR_CairoGraphics, and GR_Win32PrintPreviewGraphics.
Referenced by GR_Painter::drawGlyph().
void GR_Graphics::drawImage | ( | GR_Image * | pImg, | |
UT_sint32 | xDest, | |||
UT_sint32 | yDest | |||
) | [protected, virtual] |
Draw the specified image at the location specified in local units (xDest,yDest). xDest and yDest are in logical units.
Reimplemented in GR_Win32Graphics, GR_CairoGraphics, CairoNull_Graphics, and GR_Win32PrintPreviewGraphics.
References GR_Image::render().
Referenced by GR_Painter::drawImage(), and fillRect().
virtual void GR_Graphics::drawLine | ( | UT_sint32 | x1, | |
UT_sint32 | y1, | |||
UT_sint32 | x2, | |||
UT_sint32 | y2 | |||
) | [protected, pure virtual] |
Implemented in GR_Win32Graphics, GR_CairoGraphics, CairoNull_Graphics, and GR_Win32PrintPreviewGraphics.
Referenced by fp_FmtMarkRun::_draw(), and GR_Painter::drawLine().
void GR_Graphics::enableAllCarets | ( | ) |
References AllCarets::enable(), and m_AllCarets.
Referenced by GR_UnixCairoGraphics::scroll(), and GR_Painter::~GR_Painter().
void GR_Graphics::endDoubleBuffering | ( | bool | token | ) | [protected] |
void GR_Graphics::endPaint | ( | ) |
virtual bool GR_Graphics::endPrint | ( | void | ) | [pure virtual] |
Implemented in GR_CairoPrintGraphics, GR_Win32Graphics, GR_CairoGraphics, CairoNull_Graphics, and GR_Win32PrintPreviewGraphics.
Referenced by s_actuallyPrint().
void GR_Graphics::fillRect | ( | GR_Image * | pImg, | |
const UT_Rect & | src, | |||
const UT_Rect & | dest | |||
) | [protected, virtual] |
This method fills the distination rectangle with a piece of the image pImg. The size and location of the piece of the image is defined by src. src and dest are in logical units.
References GR_Image::createImageSegment(), drawImage(), UT_Rect::left, UT_Rect::top, and UT_return_if_fail.
Referenced by fp_FmtMarkRun::_clearScreen(), GR_Painter::fillRect(), fillRect(), and polygon().
void GR_Graphics::fillRect | ( | const UT_RGBColor & | c, | |
const UT_Rect & | r | |||
) | [protected, virtual] |
Fill the specified rectangle with color defined by "c". The dimensions of UT_Rect are in logical units.
References fillRect(), UT_Rect::height, UT_Rect::left, UT_Rect::top, and UT_Rect::width.
virtual void GR_Graphics::fillRect | ( | const UT_RGBColor & | c, | |
UT_sint32 | x, | |||
UT_sint32 | y, | |||
UT_sint32 | w, | |||
UT_sint32 | h | |||
) | [protected, pure virtual] |
Implemented in GR_Win32Graphics, GR_CairoGraphics, CairoNull_Graphics, and GR_Win32PrintPreviewGraphics.
virtual void GR_Graphics::fillRect | ( | GR_Color3D | c, | |
UT_Rect & | r | |||
) | [protected, pure virtual] |
Implemented in GR_Win32Graphics, GR_CairoGraphics, and CairoNull_Graphics.
virtual void GR_Graphics::fillRect | ( | GR_Color3D | c, | |
UT_sint32 | x, | |||
UT_sint32 | y, | |||
UT_sint32 | w, | |||
UT_sint32 | h | |||
) | [protected, pure virtual] |
Implemented in GR_UnixCairoGraphics, GR_Win32Graphics, GR_CairoGraphics, and CairoNull_Graphics.
GR_Font * GR_Graphics::findFont | ( | const char * | pszFontFamily, | |
const char * | pszFontStyle, | |||
const char * | pszFontVariant, | |||
const char * | pszFontWeight, | |||
const char * | pszFontStretch, | |||
const char * | pszFontSize, | |||
const char * | pszLang | |||
) |
References _findFont(), m_hashFontCache, UT_ASSERT, UT_std_string_sprintf(), and xxx_UT_DEBUGMSG.
Referenced by AP_Preview_Paragraph::_loadDrawFont(), AP_Preview_PageNumbers::AP_Preview_PageNumbers(), XAP_Preview_FontPreview::draw(), AP_Preview_Annotation::draw(), FL_DocLayout::findFont(), GR_CairoGraphics::getDefaultFont(), XAP_UnixDialog_FileOpenSaveAs::previewPicture(), AP_Lists_preview::setData(), XAP_Preview_Zoom::setFont(), XAP_Draw_Symbol::setFontToGC(), and AP_Preview_Annotation::setSizeFromAnnotation().
const char * GR_Graphics::findNearestFont | ( | const char * | pszFontFamily, | |
const char * | pszFontStyle, | |||
const char * | pszFontVariant, | |||
const char * | pszFontWeight, | |||
const char * | pszFontStretch, | |||
const char * | pszFontSize, | |||
const char * | ||||
) | [inline, static] |
Referenced by FV_View::FV_View().
void GR_Graphics::flush | ( | void | ) | [virtual] |
Reimplemented in GR_UnixCairoGraphics, GR_Win32Graphics, and GR_Win32PrintPreviewGraphics.
Referenced by FV_View::_drawOrClearBetweenPositions(), FV_View::_setPoint(), GR_Caret::s_work(), fl_DocSectionLayout::updateLayout(), and XAP_FrameImpl::viewAutoUpdater().
Font units to layout units. Returns the dimension in layout units since font are not Zoomed
References getDeviceResolution(), and getResolution().
double GR_Graphics::ftluD | ( | double | fontUnits | ) | const |
References getDeviceResolution(), and getResolution().
virtual GR_Image* GR_Graphics::genImageFromRectangle | ( | const UT_Rect & | r | ) | [protected, pure virtual] |
Implemented in GR_CairoPrintGraphics, GR_UnixCairoGraphics, GR_QtGraphics, GR_Win32Graphics, CairoNull_Graphics, and GR_Win32PrintPreviewGraphics.
Referenced by GR_Painter::genImageFromRectangle().
bool GR_Graphics::getAntiAliasAlways | ( | void | ) | [inline] |
virtual GR_Capability GR_Graphics::getCapability | ( | ) | [inline, virtual] |
Reimplemented in GR_CairoPrintGraphics, GR_Win32Graphics, GR_Win32USPGraphics, GR_CairoGraphics, CairoNull_Graphics, and GR_Win32PrintPreviewGraphics.
References UT_ASSERT_HARMLESS, and UT_NOT_IMPLEMENTED.
GR_Caret* GR_Graphics::getCaret | ( | ) | [inline, protected] |
GR_Caret * GR_Graphics::getCaret | ( | const std::string & | sID | ) | const |
virtual UT_uint32 GR_Graphics::getClassId | ( | ) | [pure virtual] |
Implemented in GR_CairoPrintGraphics, GR_UnixCairoGraphics, GR_QtGraphics, GR_Win32Graphics, GR_Win32USPGraphics, CairoNull_Graphics, and GR_Win32PrintPreviewGraphics.
Referenced by XAP_Win32Dialog_About::runModal().
const UT_Rect* GR_Graphics::getClipRect | ( | void | ) | const [inline] |
Referenced by fp_TableContainer::_brokenDraw(), fp_TextRun::_clearScreen(), fp_ImageRun::_draw(), fp_CellContainer::draw(), fp_Run::draw(), fp_Line::draw(), fp_FrameContainer::draw(), fp_EndnoteContainer::draw(), fp_VerticalContainer::draw(), fp_CellContainer::drawBroken(), fg_FillType::Fill(), and FV_ViewDoubleBuffering::recordViewDrawCall().
virtual void GR_Graphics::getColor | ( | UT_RGBColor & | clr | ) | [pure virtual] |
Implemented in GR_Win32Graphics, GR_CairoGraphics, CairoNull_Graphics, and GR_Win32PrintPreviewGraphics.
Referenced by GR_Caret::_blink().
virtual bool GR_Graphics::getColor3D | ( | GR_Color3D | , | |
UT_RGBColor & | ||||
) | [pure virtual] |
virtual GR_Graphics::ColorSpace GR_Graphics::getColorSpace | ( | void | ) | const [pure virtual] |
Implemented in GR_Win32Graphics, GR_CairoGraphics, and CairoNull_Graphics.
virtual void GR_Graphics::getCoverage | ( | UT_NumberVector & | coverage | ) | [pure virtual] |
Implemented in GR_Win32Graphics, and GR_CairoGraphics.
Referenced by XAP_Draw_Symbol::setFontToGC().
virtual GR_Graphics::Cursor GR_Graphics::getCursor | ( | void | ) | const [pure virtual] |
Implemented in GR_CairoPrintGraphics, GR_Win32Graphics, GR_CairoGraphics, and CairoNull_Graphics.
virtual UT_uint32 GR_Graphics::getDeviceResolution | ( | void | ) | const [pure virtual] |
Implemented in GR_Win32Graphics, and GR_CairoGraphics.
Referenced by AP_TopRuler::_drawTickMark(), FV_View::_insertGraphic(), XAP_UnixDialog_Print::BeginPrint(), FV_View::cmdInsertGraphicAtStrux(), ftlu(), ftluD(), GR_PangoFont::glyphBox(), tdu(), tduD(), tlu(), and tluD().
virtual UT_uint32 GR_Graphics::getFontAscent | ( | ) | [pure virtual] |
Implemented in GR_Win32Graphics, GR_Win32USPGraphics, and GR_CairoGraphics.
Referenced by fp_TextRun::_draw(), fp_EndOfParagraphRun::_draw(), fp_ForcedLineBreakRun::_draw(), fp_TabRun::_draw(), fp_DirectionMarkerRun::_draw(), fp_Run::_drawTextLine(), AP_TopRuler::_drawTickMark(), fp_TextRun::_lookupProperties(), fp_FieldRun::_lookupProperties(), fp_ImageRun::_lookupProperties(), fp_TabRun::_lookupProperties(), fp_MathRun::_lookupProperties(), fp_DummyRun::_lookupProperties(), fp_FmtMarkRun::_lookupProperties(), fp_EmbedRun::_lookupProperties(), XAP_Preview_FontPreview::draw(), AP_Preview_Annotation::draw(), AP_Lists_preview::draw(), drawCharsRelativeToBaseline(), and AP_Preview_Annotation::setSizeFromAnnotation().
Implemented in GR_Win32Graphics, and GR_CairoGraphics.
virtual UT_uint32 GR_Graphics::getFontDescent | ( | ) | [pure virtual] |
Implemented in GR_Win32Graphics, GR_Win32USPGraphics, and GR_CairoGraphics.
Referenced by fp_TextRun::_draw(), fp_TextRun::_lookupProperties(), fp_FieldRun::_lookupProperties(), fp_ImageRun::_lookupProperties(), fp_TabRun::_lookupProperties(), fp_MathRun::_lookupProperties(), fp_DummyRun::_lookupProperties(), fp_FmtMarkRun::_lookupProperties(), fp_EmbedRun::_lookupProperties(), XAP_Preview_FontPreview::draw(), AP_Preview_Annotation::draw(), and AP_Lists_preview::draw().
Implemented in GR_Win32Graphics, and GR_CairoGraphics.
virtual UT_uint32 GR_Graphics::getFontHeight | ( | ) | [pure virtual] |
Implemented in GR_Win32Graphics, GR_Win32USPGraphics, and GR_CairoGraphics.
Referenced by fp_TextRun::_draw(), fp_Run::_drawTextLine(), AP_TopRuler::_drawTickMark(), AP_Preview_Paragraph::_loadDrawFont(), fp_TextRun::_lookupProperties(), fp_FieldRun::_lookupProperties(), fp_TabRun::_lookupProperties(), fp_DummyRun::_lookupProperties(), fp_FmtMarkRun::_lookupProperties(), XAP_Preview_FontPreview::draw(), AP_Preview_Annotation::draw(), AP_Preview_PageNumbers::draw(), and AP_LeftRuler::drawLU().
Implemented in GR_Win32Graphics, and GR_CairoGraphics.
virtual GR_Font* GR_Graphics::getGUIFont | ( | ) | [pure virtual] |
Implemented in GR_CairoPrintGraphics, GR_UnixCairoGraphics, GR_QtGraphics, GR_Win32Graphics, and CairoNull_Graphics.
Referenced by AP_TopRuler::_draw(), fp_Run::_drawTextLine(), AP_LeftRuler::drawLU(), and fl_BlockLayout::getMaxNonBreakableRun().
void GR_Graphics::getMaxCharacterDimension | ( | const UT_UCSChar * | s, | |
UT_uint32 | Length, | |||
UT_uint32 & | width, | |||
UT_uint32 & | height | |||
) |
References DELETEPV, and measureString().
Referenced by XAP_Draw_Symbol::setFontToGC().
UT_uint32 GR_Graphics::getPaintCount | ( | void | ) | const [inline] |
Referenced by XAP_UnixFrameImpl::_fe::draw().
UT_sint32 GR_Graphics::getPrevXOffset | ( | void | ) | const [inline] |
Referenced by _tduX(), GR_Win32Graphics::scroll(), and GR_UnixCairoGraphics::scroll().
UT_sint32 GR_Graphics::getPrevYOffset | ( | void | ) | const [inline] |
Referenced by _tduY(), GR_Win32Graphics::scroll(), and GR_UnixCairoGraphics::scroll().
static UT_uint32 GR_Graphics::getResolution | ( | void | ) | [inline, static] |
Referenced by _css_length(), AP_TopRuler::_drawTickMark(), GR_CairoGraphics::_initPango(), fl_BlockLayout::_lookupProperties(), GR_Win32Font::_updateFontYMetrics(), AP_Preview_Abi::AP_Preview_Abi(), FV_View::calculateZoomPercentForPageHeight(), FV_View::calculateZoomPercentForPageWidth(), GR_CairoGraphics::drawChars(), ftlu(), ftluD(), fl_DocSectionLayout::getWidth(), GR_Win32Font::glyphBox(), GR_PangoFont::glyphBox(), GR_CairoGraphics::ltpu(), GR_Win32USPGraphics::measureRenderedCharWidths(), GR_Win32Graphics::measureUnRemappedChar(), GR_CairoGraphics::ptlu(), GR_Win32USPGraphics::renderChars(), GR_Win32Graphics::startPage(), tdu(), tduD(), tlu(), and tluD().
virtual double GR_Graphics::getResolutionRatio | ( | void | ) | const [inline, virtual] |
Reimplemented in GR_CairoPrintGraphics, and GR_CairoGraphics.
Referenced by fp_Run::getAscent(), fp_Run::getDescent(), GR_PangoFont::glyphBox(), and XAP_UnixDialog_Print::PrintPage().
UT_sint32 GR_Graphics::getTextWidth | ( | GR_RenderInfo & | ri | ) | [virtual] |
Reimplemented in GR_Win32USPGraphics, and GR_CairoGraphics.
References GR_RenderInfo::getType(), GR_RenderInfo::m_iLength, GR_RenderInfo::m_iOffset, GR_RenderInfo::m_iVisDir, UT_ASSERT_HARMLESS, UT_return_val_if_fail, and UT_SHOULD_NOT_HAPPEN.
Referenced by fp_TextRun::_addupCharWidths(), fp_TextRun::_drawInvisibleSpaces(), fp_TextRun::_drawLastChar(), fp_TextRun::_getPartRect(), fp_TextRun::findMaxLeftFitSplitPoint(), fp_TextRun::findTrailingSpaceDistance(), and fp_TextRun::simpleRecalcWidth().
const GR_Transform& GR_Graphics::getTransform | ( | ) | const [inline] |
virtual const UT_VersionInfo& GR_Graphics::getVersion | ( | ) | const [inline, virtual] |
Reimplemented in GR_Win32USPGraphics, and GR_CairoGraphics.
References UT_ASSERT_HARMLESS, and UT_NOT_IMPLEMENTED.
UT_uint32 GR_Graphics::getZoomPercentage | ( | void | ) | const [inline] |
Referenced by GR_CairoGraphics::_adjustedPangoFont(), AP_TopRuler::_drawTickMark(), fl_BlockLayout::_lookupProperties(), GR_CairoGraphics::_scaleCharacterMetrics(), GR_CairoGraphics::_scaleJustification(), GR_Win32Graphics::_setTransform(), GR_Win32USPGraphics::_setupFontOnDC(), abi_widget_render_page_to_image(), FV_View::calculateZoomPercentForPageHeight(), FV_View::calculateZoomPercentForPageWidth(), XAP_UnixFrameImpl::_fe::do_ZoomUpdate(), AP_LeftRuler::drawLU(), Presentation::drawNthPage(), GR_Win32Font::getDisplayFont(), GR_CairoGraphics::ltpu(), GR_EmbedManager::makeEmbedView(), GR_Win32USPGraphics::measureRenderedCharWidths(), GR_CairoGraphics::pftlu(), GR_Win32USPGraphics::prepareToRenderChars(), GR_CairoGraphics::prepareToRenderChars(), GR_CairoGraphics::ptlu(), GR_PangoFont::reloadFont(), GR_EmbedManager::render(), GOChartView::render(), GR_Win32USPGraphics::renderChars(), GR_CairoGraphics::setFont(), AP_Preview_Annotation::setSizeFromAnnotation(), AP_UnixTopRuler::setView(), AP_UnixLeftRuler::setView(), GR_Win32USPGraphics::setZoomPercentage(), tdu(), tduD(), tlu(), tluD(), AP_UnixFrame::toggleLeftRuler(), AP_CocoaFrame::toggleLeftRuler(), AP_UnixFrame::toggleTopRuler(), and AP_CocoaFrame::toggleTopRuler().
void GR_Graphics::invalidateCache | ( | void | ) |
WARNING! WARNING! WARNING! Only gr_UnixGraphics should call this! Because xap_UnixFontManager "owns" it's fonts, keeps it's own cache of them and will happily destroy them. If it does this, the cache of pointers here is no longer valid. It would be better to simply remove the font from this cache too but the key used in the xap_UnixFontManager class is different fromt the key used here. Until a better solution appears I'll leave this here. Other classes should use _destroyFonts to remove the cache.
References m_hashFontCache.
Referenced by GR_Win32PrintPreviewGraphics::endPage().
const char * GR_Graphics::invertDimension | ( | UT_Dimension | dim, | |
double | dValue | |||
) | const |
References UT_convertInchesToDimensionString().
Referenced by AP_TopRuler::_displayStatusMessage(), AP_LeftRuler::_displayStatusMessage(), AP_TopRuler::_setTabStops(), AP_TopRuler::mouseMotion(), AP_TopRuler::mousePress(), AP_TopRuler::mouseRelease(), AP_LeftRuler::mouseRelease(), and fl_DocSectionLayout::setHdrFtrHeightChange().
virtual void GR_Graphics::invertRect | ( | const UT_Rect * | pRect | ) | [protected, pure virtual] |
Implemented in GR_Win32Graphics, GR_CairoGraphics, CairoNull_Graphics, and GR_Win32PrintPreviewGraphics.
Referenced by GR_Painter::invertRect().
bool GR_Graphics::isPortrait | ( | void | ) | const [inline] |
bool GR_Graphics::itemize | ( | UT_TextIterator & | text, | |
GR_Itemization & | I | |||
) | [virtual] |
itemize() analyses text represented by text, notionally dividing it into segments that from the point of the shaper are uniform; this notional division is stored in GR_Itemization I.
The default implementation that only deals with bidi reordering
derrived classes can either provide entirely different implementation, or call the default implementation first and then further divide the results into items with same shaping needs
Reimplemented in GR_Win32USPGraphics, and GR_CairoGraphics.
References GR_Itemization::addItem(), GR_Itemization::clear(), UT_TextIterator::getChar(), UT_TextIterator::getPosition(), UT_TextIterator::getStatus(), GRScriptType_Undefined, GRScriptType_Void, UT_TextIterator::setPosition(), UT_BIDI_IS_NEUTRAL, UT_BIDI_IS_STRONG, UT_bidiGetCharType(), UT_return_val_if_fail, and xxx_UT_DEBUGMSG.
Referenced by fl_BlockLayout::itemizeSpan().
void GR_Graphics::justify | ( | GR_RenderInfo & | ri | ) | [virtual] |
justify() distributes justification information into the text.
The justification information consists of ri.m_iJustificationPoints and m_iJustificationAmount
NB: This function must not modify the original values in ri.m_iJustificationAmount and ri.m_iJustificationPoints
Reimplemented in GR_Win32USPGraphics, and GR_CairoGraphics.
References GR_RenderInfo::getType(), GR_RenderInfo::m_iJustificationAmount, GR_RenderInfo::m_iJustificationPoints, UCS_SPACE, UT_return_if_fail, and xxx_UT_DEBUGMSG.
Referenced by fp_TextRun::justify(), measureRenderedCharWidths(), and shape().
void GR_Graphics::measureRenderedCharWidths | ( | GR_RenderInfo & | ri | ) | [virtual] |
Reimplemented in GR_Win32USPGraphics, and GR_CairoGraphics.
References GR_RenderInfo::getType(), justify(), measureString(), UCS_LIGATURE_PLACEHOLDER, and UT_return_if_fail.
Referenced by fp_TextRun::measureCharWidths(), and GR_Win32USPRenderInfo::split().
UT_uint32 GR_Graphics::measureString | ( | const UT_UCSChar * | s, | |
int | iOffset, | |||
int | num, | |||
UT_GrowBufElement * | pWidths, | |||
UT_uint32 * | height = 0 | |||
) | [virtual] |
Reimplemented in GR_CairoGraphics.
References GR_CW_ABSENT, GR_CW_UNKNOWN, measureUnRemappedChar(), UT_ASSERT, UT_isOverstrikingChar(), and UT_NOT_OVERSTRIKING.
Referenced by fp_EndOfParagraphRun::_draw(), fp_TabRun::_draw(), fp_DirectionMarkerRun::_draw(), fp_Run::_drawTextLine(), AP_TopRuler::_drawTickMark(), fp_EndOfParagraphRun::_lookupProperties(), fp_DirectionMarkerRun::_lookupProperties(), fp_FieldRun::_recalcWidth(), fp_FieldRun::_setValue(), fp_RDFAnchorRun::calcWidth(), fp_AnnotationRun::calcWidth(), XAP_Preview_FontPreview::draw(), AP_Lists_preview::draw(), AP_LeftRuler::drawLU(), getMaxCharacterDimension(), measureRenderedCharWidths(), AP_Preview_Annotation::setSizeFromAnnotation(), and AP_Preview_Paragraph_Block::setText().
virtual UT_sint32 GR_Graphics::measureUnRemappedChar | ( | const UT_UCSChar | c, | |
UT_uint32 * | height = 0 | |||
) | [pure virtual] |
Implemented in GR_Win32Graphics, and GR_CairoGraphics.
Referenced by XAP_Draw_Symbol::draw(), AP_Preview_PageNumbers::draw(), XAP_Draw_Symbol::drawarea(), FV_View::getChar(), fl_BlockLayout::getMaxNonBreakableRun(), and measureString().
virtual bool GR_Graphics::nativeBreakInfoForRightEdge | ( | ) | [inline, virtual] |
Reimplemented in GR_Win32USPGraphics, and GR_CairoGraphics.
virtual bool GR_Graphics::needsSpecialCaretPositioning | ( | GR_RenderInfo & | ) | [inline, virtual] |
Reimplemented in GR_Win32USPGraphics, and GR_CairoGraphics.
GR_Graphics * GR_Graphics::newNullGraphics | ( | ) | [static] |
Creates an offscreen graphics context.
Only used for measuring font metrics and whatnot, not actually for drawing
References GR_Win32Graphics::createbestmetafilehdc(), XAP_App::getApp(), GR_Win32Graphics::getDocInfo(), GRID_CAIRO_NULL, GRID_WIN32, and XAP_App::newGraphics().
Referenced by FakeAccountHandler::_loadDocument(), IE_Exp_S5::_writeDocument(), and IE_FieldUpdater::updateFields().
void GR_Graphics::polygon | ( | const UT_RGBColor & | c, | |
const UT_Point * | pts, | |||
UT_uint32 | nPoints | |||
) | [protected, virtual] |
Reimplemented in GR_Win32Graphics, GR_CairoGraphics, and GR_Win32PrintPreviewGraphics.
References _PtInPolygon(), fillRect(), UT_MAX, UT_MIN, UT_Point::x, and UT_Point::y.
Referenced by GR_Painter::polygon().
virtual void GR_Graphics::polyLine | ( | const UT_Point * | pts, | |
UT_uint32 | nPoints | |||
) | [protected, pure virtual] |
Implemented in GR_Win32Graphics, GR_CairoGraphics, CairoNull_Graphics, and GR_Win32PrintPreviewGraphics.
Referenced by GR_Painter::polyLine().
void GR_Graphics::positionToXY | ( | const GR_RenderInfo & | ri, | |
UT_sint32 & | x, | |||
UT_sint32 & | y, | |||
UT_sint32 & | x2, | |||
UT_sint32 & | y2, | |||
UT_sint32 & | height, | |||
bool & | bDirection | |||
) | const [virtual] |
Reimplemented in GR_Win32USPGraphics, and GR_CairoGraphics.
References GR_RenderInfo::getType(), UT_NOT_IMPLEMENTED, and UT_return_if_fail.
Referenced by fp_TextRun::findPointCoords().
void GR_Graphics::prepareToRenderChars | ( | GR_RenderInfo & | ri | ) | [virtual] |
prepareToRenderChars() does any preprocessing necessary immediately prior to the actual output on screen (which is done by renderChars()), and must be always called before renderChars().
What this function does is entirely dependend of the specific shaping engine (and in some cases might not do anthing at all). For example, this function might refresh any temporary buffers, etc.
The reason for dividing the actual drawing into two steps (prepare and render) is to limit the amount of processing in cases where the caller needs to make several calls to renderChars() with the same GR_RenderInfo. For example, fp_TextRun::_draw() draws the text in one, two or three segments depending whether there is a selection and where in the run it is. It will make one call to prepareToRenderChars() and then 1-3 calls to renderChars() chaning the background and text colour in between those calls.
Reimplemented in GR_Win32USPGraphics, and GR_CairoGraphics.
References GR_RenderInfo::getType(), and UT_return_if_fail.
Referenced by fp_TextRun::_draw(), fp_TextRun::_drawFirstChar(), and fp_TextRun::_drawLastChar().
virtual bool GR_Graphics::queryProperties | ( | GR_Graphics::Properties | gp | ) | const [pure virtual] |
Implemented in GR_CairoPrintGraphics, GR_UnixCairoGraphics, GR_Win32Graphics, GR_CairoGraphics, CairoNull_Graphics, and GR_Win32PrintPreviewGraphics.
Referenced by fp_Line::_doClearScreenFromRunToEnd(), IE_Exp_HTML::_doOptions(), fp_TextRun::_draw(), fp_ForcedPageBreakRun::_draw(), fp_ForcedColumnBreakRun::_draw(), fp_ImageRun::_draw(), fp_BookmarkRun::_draw(), fp_TabRun::_draw(), fp_MathRun::_draw(), fp_EmbedRun::_draw(), fp_CellContainer::_drawBoundaries(), fp_Column::_drawBoundaries(), fp_VerticalContainer::_drawBoundaries(), fp_TableContainer::_drawBrokenBoundaries(), fp_Page::_drawCropMarks(), fp_TextRun::_drawFirstChar(), fp_ShadowContainer::_drawHdrFtrBoundaries(), fp_CellContainer::_getBrokenRect(), fl_TableLayout::_lookupMarginProperties(), fl_FrameLayout::_lookupMarginProperties(), fl_BlockLayout::_lookupMarginProperties(), fp_FieldRun::_lookupProperties(), fp_ImageRun::_lookupProperties(), fp_MathRun::_lookupProperties(), fp_EmbedRun::_lookupProperties(), fl_TableLayout::_lookupProperties(), fl_BlockLayout::_lookupProperties(), FL_DocLayout::_redrawUpdate(), fp_Page::_reformatAnnotations(), fp_Page::_reformatColumns(), fp_Page::_reformatFootnotes(), XAP_UnixFrameImpl::_setCursor(), fp_Line::clearScreen(), fp_Line::clearScreenFromRunToEnd(), IE_Exp_EPUB::doOptions(), fp_CellContainer::draw(), fp_Run::draw(), fp_Page::draw(), fp_Line::draw(), fp_FrameContainer::draw(), fp_ShadowContainer::draw(), fp_Line::drawBorders(), fp_FrameContainer::drawBoundaries(), fp_CellContainer::drawBroken(), fp_FrameContainer::drawHandles(), fp_Container::drawLine(), fp_CellContainer::drawLines(), fp_Run::Fill(), fg_FillType::Fill(), FL_DocLayout::fillLayouts(), FL_DocLayout::FL_DocLayout(), fl_DocListener::fl_DocListener(), FV_View::FV_View(), fp_Line::getAbsLeftRight(), fp_Run::getAscent(), fp_Run::getDescent(), FL_DocLayout::getHeight(), FV_View::getPageViewLeftMargin(), FV_View::getPageViewSep(), FV_View::getPageViewTopMargin(), fp_CellContainer::getScreenPositions(), FL_DocLayout::getWidth(), fp_VerticalContainer::getY(), fp_Run::lookupProperties(), fp_Page::redrawDamagedFrames(), fp_ImageRun::regenerateImage(), s_doPrint(), FV_View::setGraphics(), fl_DocSectionLayout::setPaperColor(), and fp_Page::updateColumnX().
void GR_Graphics::removeCaret | ( | const std::string & | sID | ) |
References UT_GenericVector< T >::deleteNthItem(), DELETEP, GR_Caret::getID(), UT_GenericVector< T >::getItemCount(), UT_GenericVector< T >::getNthItem(), and m_vecCarets.
Referenced by FV_View::removeCaret().
void GR_Graphics::renderChars | ( | GR_RenderInfo & | ri | ) | [virtual] |
renderChars() outputs textual data represented by ri onto the device (screen, priter, etc.).
The output starts at ri.m_iOffset, is ri.m_iLength long and the drawing starts at ri.m_xoff, ri.m_yoff
Reimplemented in GR_Win32USPGraphics, and GR_CairoGraphics.
References drawChars(), GR_RenderInfo::getType(), and UT_return_if_fail.
Referenced by GR_Painter::renderChars().
UT_sint32 GR_Graphics::resetJustification | ( | GR_RenderInfo & | ri, | |
bool | bPermanent | |||
) | [virtual] |
resetJustification() makes the data represented by ri unjustified and returns value by which the total width changed as a result such that OriginalWidth + ReturnValue = NewWidth (i.e., the return value should normally be negative).
The parameter bPermanent indicates that the resetting is permanent and any buffers used to hold justification information can be remove, e.g., the paragraph alignment has changed from justified to left (in some circumstance the reset can be only temporary and we will be asked to subsequently recalculate the justification information; in such case it makes sense to keep the buffers in place)
Reimplemented in GR_Win32USPGraphics, and GR_CairoGraphics.
References GR_RenderInfo::getType(), UCS_SPACE, and UT_return_val_if_fail.
Referenced by fp_TextRun::resetJustification().
virtual void GR_Graphics::restoreRectangle | ( | UT_uint32 | iIndx | ) | [pure virtual] |
Implemented in GR_CairoPrintGraphics, GR_Win32Graphics, GR_CairoGraphics, CairoNull_Graphics, and GR_Win32PrintPreviewGraphics.
Referenced by GR_Caret::_blink(), and GR_Caret::JustErase().
void GR_Graphics::resumeDrawing | ( | bool | token | ) | [protected] |
Implemented in GR_CairoPrintGraphics, GR_Win32Graphics, GR_CairoGraphics, CairoNull_Graphics, and GR_Win32PrintPreviewGraphics.
Referenced by GR_Caret::_blink().
bool GR_Graphics::scaleDimensions | ( | const char * | szLeftIn, | |
const char * | szWidthIn, | |||
UT_uint32 | iWidthAvail, | |||
UT_sint32 * | piLeft, | |||
UT_uint32 * | piWidth | |||
) | const |
References UT_ASSERT, and UT_convertToLogicalUnits().
Implemented in GR_CairoPrintGraphics, GR_UnixCairoGraphics, GR_QtGraphics, GR_Win32Graphics, and CairoNull_Graphics.
Referenced by AP_TopRuler::scrollRuler(), AP_LeftRuler::scrollRuler(), FV_View::setXScrollOffset(), and FV_View::setYScrollOffset().
virtual void GR_Graphics::scroll | ( | UT_sint32 | x_dest, | |
UT_sint32 | y_dest, | |||
UT_sint32 | x_src, | |||
UT_sint32 | y_src, | |||
UT_sint32 | width, | |||
UT_sint32 | height | |||
) | [pure virtual] |
Implemented in GR_CairoPrintGraphics, GR_UnixCairoGraphics, GR_QtGraphics, GR_Win32Graphics, and CairoNull_Graphics.
virtual void GR_Graphics::setClipRect | ( | const UT_Rect * | pRect | ) | [pure virtual] |
Implemented in GR_Win32Graphics, GR_CairoGraphics, CairoNull_Graphics, and GR_Win32PrintPreviewGraphics.
Referenced by FV_VisualDragText::_actuallyScroll(), FV_VisualInlineImage::_actuallyScroll(), FV_FrameEdit::_actuallyScroll(), fp_TextRun::_clearScreen(), FV_View::_draw(), fp_ImageRun::_draw(), FV_VisualDragText::_mouseDrag(), FV_VisualInlineImage::_mouseDrag(), FV_FrameEdit::_mouseDrag(), FV_VisualDragText::abortDrag(), FV_ViewDoubleBuffering::callUnifiedDraw(), XAP_Preview_Zoom::draw(), fp_Run::draw(), fp_FrameContainer::draw(), AP_TopRuler::drawLU(), AP_LeftRuler::drawLU(), FV_UnixVisualDrag::mouseDrag(), FV_VisualDragText::mouseRelease(), FV_VisualInlineImage::mouseRelease(), FV_VisualDragText::reposOffsets(), and fp_Run::Run_ClearScreen().
virtual void GR_Graphics::setColor | ( | const UT_RGBColor & | clr | ) | [pure virtual] |
Implemented in GR_Win32Graphics, GR_CairoGraphics, CairoNull_Graphics, and GR_Win32PrintPreviewGraphics.
Referenced by AP_Preview_Paragraph::_appendBlock(), GR_Caret::_blink(), fp_TextRun::_clearScreen(), fp_FieldRun::_defaultDraw(), FV_View::_draw(), fp_TextRun::_draw(), fp_EndOfParagraphRun::_draw(), fp_BookmarkRun::_draw(), fp_ForcedLineBreakRun::_draw(), fp_TabRun::_draw(), fp_RDFAnchorRun::_draw(), fp_FmtMarkRun::_draw(), fp_DirectionMarkerRun::_draw(), fp_AnnotationRun::_draw(), fp_TableContainer::_drawBoundaries(), fp_CellContainer::_drawBoundaries(), fp_Column::_drawBoundaries(), fp_VerticalContainer::_drawBoundaries(), fp_TableContainer::_drawBrokenBoundaries(), fp_Page::_drawCropMarks(), fp_TextRun::_drawFirstChar(), fp_ShadowContainer::_drawHdrFtrBoundaries(), fp_TextRun::_drawLastChar(), fp_FrameContainer::_drawLine(), AP_Preview_Paragraph::_drawPageBorder(), fp_MathRun::_drawResizeBox(), FV_View::_drawResizeHandle(), AP_TopRuler::_xorGuide(), AP_LeftRuler::_xorGuide(), fp_ShadowContainer::clearHdrFtrBoundaries(), fp_FootnoteContainer::clearScreen(), XAP_Preview_FontPreview::draw(), fp_Run::draw(), fp_Page::draw(), fp_FootnoteContainer::draw(), AP_Preview_Annotation::draw(), AP_Lists_preview::draw(), AP_FormatTable_preview::draw(), AP_FormatFrame_preview::draw(), AP_Columns_preview_drawer::draw(), AP_Border_Shading_preview::draw(), fp_Container::drawLine(), and FV_View::drawSelectionBox().
virtual void GR_Graphics::setColor3D | ( | GR_Color3D | c | ) | [pure virtual] |
Implemented in GR_Win32Graphics, GR_CairoGraphics, and CairoNull_Graphics.
Referenced by AP_TopRuler::_drawCellMark(), AP_LeftRuler::_drawCellMark(), AP_TopRuler::_drawColumnGapMarker(), AP_TopRuler::_drawFirstLineIndentMarker(), AP_TopRuler::_drawLeftIndentMarker(), AP_TopRuler::_drawMarginProperties(), AP_LeftRuler::_drawMarginProperties(), AP_TopRuler::_drawRightIndentMarker(), AP_TopRuler::_drawTabProperties(), AP_TopRuler::_drawTabToggle(), AP_TopRuler::_drawTickMark(), AP_Preview_PageNumbers::draw(), AP_Columns_preview::draw(), and AP_LeftRuler::drawLU().
virtual void GR_Graphics::setColorSpace | ( | GR_Graphics::ColorSpace | c | ) | [pure virtual] |
Implemented in GR_Win32Graphics, GR_CairoGraphics, and CairoNull_Graphics.
virtual void GR_Graphics::setCursor | ( | GR_Graphics::Cursor | c | ) | [pure virtual] |
Implemented in GR_CairoPrintGraphics, GR_UnixCairoGraphics, GR_QtGraphics, GR_Win32Graphics, and CairoNull_Graphics.
Referenced by FV_View::btn0Frame(), Defun(), Defun1(), FV_VisualDragText::drawImage(), FV_VisualDragText::getImageFromSelection(), AP_TopRuler::isMouseOverTab(), FV_FrameEdit::mouseLeftPress(), AP_TopRuler::mouseMotion(), AP_LeftRuler::mouseMotion(), AP_TopRuler::mousePress(), AP_LeftRuler::mousePress(), AP_TopRuler::mouseRelease(), AP_LeftRuler::mouseRelease(), s_LoadingCursorCallback(), sActualVisualDrag(), FV_View::setCursorToContext(), FV_View::setCursorWait(), AP_TopRuler::setTableLineDrag(), AP_LeftRuler::setTableLineDrag(), and XAP_FrameImpl::viewAutoUpdater().
virtual void GR_Graphics::setFont | ( | const GR_Font * | pFont | ) | [pure virtual] |
Implemented in GR_Win32Graphics, GR_Win32USPGraphics, GR_CairoGraphics, and GR_Win32PrintPreviewGraphics.
Referenced by fp_TextRun::_clearScreen(), fp_FieldRun::_defaultDraw(), fp_TextRun::_draw(), fp_EndOfParagraphRun::_draw(), fp_ForcedLineBreakRun::_draw(), fp_TabRun::_draw(), fp_RDFAnchorRun::_draw(), fp_DirectionMarkerRun::_draw(), fp_AnnotationRun::_draw(), fp_TextRun::_drawFirstChar(), fp_TextRun::_drawLastChar(), fp_Run::_drawTextLine(), AP_TopRuler::_drawTickMark(), AP_Preview_Paragraph::_loadDrawFont(), fp_TextRun::_lookupProperties(), fp_EndOfParagraphRun::_lookupProperties(), fp_ForcedLineBreakRun::_lookupProperties(), fp_DirectionMarkerRun::_lookupProperties(), fp_FieldRun::_recalcWidth(), fp_FieldRun::_setValue(), AP_Preview_PageNumbers::AP_Preview_PageNumbers(), fp_RDFAnchorRun::calcWidth(), fp_AnnotationRun::calcWidth(), XAP_Preview_FontPreview::draw(), AP_Preview_Annotation::draw(), AP_Lists_preview::draw(), AP_LeftRuler::drawLU(), fp_TextRun::measureCharWidths(), XAP_Preview_Zoom::setFont(), XAP_Draw_Symbol::setFontToGC(), and AP_Preview_Annotation::setSizeFromAnnotation().
void GR_Graphics::setLineProperties | ( | double | inWidthPixels, | |
JoinStyle | inJoinStyle = JOIN_MITER , |
|||
CapStyle | inCapStyle = CAP_BUTT , |
|||
LineStyle | inLineStyle = LINE_SOLID | |||
) | [virtual] |
Reimplemented in GR_CairoGraphics, CairoNull_Graphics, and GR_Win32PrintPreviewGraphics.
References UT_ASSERT, and UT_SHOULD_NOT_HAPPEN.
Referenced by FV_View::_draw(), fp_Column::_drawBoundaries(), fp_Page::_drawCropMarks(), fp_FrameContainer::_drawLine(), fp_MathRun::_drawResizeBox(), FV_View::_drawResizeHandle(), fp_Run::draw(), fp_FootnoteContainer::draw(), AP_FormatFrame_preview::draw(), fp_Container::drawLine(), FV_View::drawSelectionBox(), and FV_VisualInlineImage::mouseRelease().
virtual void GR_Graphics::setLineWidth | ( | UT_sint32 | ) | [pure virtual] |
Implemented in GR_Win32Graphics, GR_CairoGraphics, CairoNull_Graphics, and GR_Win32PrintPreviewGraphics.
Referenced by fp_CellContainer::_clear(), fp_ShadowContainer::_drawHdrFtrBoundaries(), fp_FrameContainer::_drawLine(), fp_ShadowContainer::clearHdrFtrBoundaries(), fp_FootnoteContainer::clearScreen(), fp_FootnoteContainer::draw(), AP_Preview_PageNumbers::draw(), AP_FormatTable_preview::draw(), AP_FormatFrame_preview::draw(), AP_Columns_preview_drawer::draw(), AP_Columns_preview::draw(), AP_Border_Shading_preview::draw(), fp_Run::drawDecors(), and fp_Container::drawLine().
void GR_Graphics::setPortrait | ( | bool | b | ) | [inline] |
Referenced by s_actuallyPrint().
void GR_Graphics::setPrevXOffset | ( | UT_sint32 | x | ) | [inline] |
Referenced by GR_Win32Graphics::scroll(), and GR_UnixCairoGraphics::scroll().
void GR_Graphics::setPrevYOffset | ( | UT_sint32 | y | ) | [inline] |
Referenced by GR_Win32Graphics::scroll(), and GR_UnixCairoGraphics::scroll().
bool GR_Graphics::setTransform | ( | const GR_Transform & | tr | ) | [inline] |
void GR_Graphics::setZoomPercentage | ( | UT_uint32 | iZoom | ) | [virtual] |
Reimplemented in GR_Win32USPGraphics, and GR_CairoGraphics.
References m_iFontAllocNo, m_iZoomPercentage, and UT_ASSERT.
Referenced by AP_Win32Frame::_createViewGraphics(), AP_UnixFrame::_createViewGraphics(), AP_QtFrame::_createViewGraphics(), AP_CocoaFrame::_createViewGraphics(), AP_Frame::_showDocument(), AP_Preview_Abi::AP_Preview_Abi(), AP_Frame::quickZoom(), AP_UnixTopRuler::setView(), AP_UnixLeftRuler::setView(), AP_TopRuler::setView(), AP_LeftRuler::setView(), AP_TopRuler::setZoom(), and AP_LeftRuler::setZoom().
bool GR_Graphics::shape | ( | GR_ShapingInfo & | si, | |
GR_RenderInfo *& | pri | |||
) | [virtual] |
shape() processes the information encapsulated by GR_ShapingInfo si and stores results in GR_*RenderInfo* pri.
If the contents of pri are NULL the function must create a new instance of GR_*RenderInfo of the appropriate type and store the pointer in pri; it also must store pointer to this graphics instance in pri->m_pGraphics.
If ri indicates that the text is justified, appropriate processing needs to be done
This function is tied closely together to a class derrived from GR_RenderInfo which may contain caches of various data that will speed subsequent calls to prepareToRenderChars() and renderChars()
Reimplemented in GR_Win32USPGraphics, and GR_CairoGraphics.
References GR_ShapingInfo::CAPITALIZE, GR_Font::doesGlyphExist(), UT_TextIterator::getChar(), UT_TextIterator::getStatus(), GR_Item::getType(), GRScriptType_Void, GR_XPRenderInfo::isJustified(), justify(), GR_ShapingInfo::LOWERCASE, GR_RenderInfo::m_eScriptType, GR_RenderInfo::m_eState, GR_XPRenderInfo::m_iBufferSize, GR_RenderInfo::m_iLength, GR_ShapingInfo::m_iLength, GR_XPRenderInfo::m_iTotalLength, GR_ShapingInfo::m_iVisDir, GR_XPRenderInfo::m_pChars, GR_ShapingInfo::m_pFont, GR_RenderInfo::m_pGraphics, GR_RenderInfo::m_pItem, GR_ShapingInfo::m_pItem, GR_ShapingInfo::m_previousWasSpace, GR_XPRenderInfo::m_pWidths, GR_ShapingInfo::m_Text, GR_ShapingInfo::m_TextTransform, s_cDefaultGlyph, s_getMirrorChar(), GR_XPRenderInfo::s_pOwner, s_remapGlyph(), GR_ShapingInfo::UPPERCASE, UT_BIDI_RTL, and UT_return_val_if_fail.
Referenced by fp_TextRun::_refreshDrawBuffer().
virtual bool GR_Graphics::startPage | ( | const char * | szPageLabel, | |
UT_uint32 | pageNumber, | |||
bool | bPortrait, | |||
UT_uint32 | iWidth, | |||
UT_uint32 | iHeight | |||
) | [pure virtual] |
Implemented in GR_CairoPrintGraphics, GR_Win32Graphics, GR_CairoGraphics, CairoNull_Graphics, and GR_Win32PrintPreviewGraphics.
Referenced by s_actuallyPrint(), and s_printPage().
virtual bool GR_Graphics::startPrint | ( | void | ) | [pure virtual] |
Implemented in GR_CairoPrintGraphics, GR_Win32Graphics, GR_CairoGraphics, CairoNull_Graphics, and GR_Win32PrintPreviewGraphics.
Referenced by XAP_UnixDialog_Print::BeginPrint(), and s_actuallyPrint().
bool GR_Graphics::suspendDrawing | ( | ) | [protected] |
References _DeviceContext_SuspendDrawing(), DRAWING_SUSPENDED, m_bDrawingSuspended, m_DCSwitchManagementStack, and UT_NumberStack::push().
Referenced by GR_Painter::suspendDrawing().
References d, getDeviceResolution(), getResolution(), and getZoomPercentage().
Referenced by AP_Win32FrameImpl::_createLeftRuler(), AP_Win32FrameImpl::_DocumentWndProc(), AP_Dialog_Columns::_drawColumnButton(), FV_SelectionHandles::_getPositionCoords(), AP_Win32FrameImpl::_getRulerSizes(), fp_ImageRun::_lookupProperties(), XAP_Win32FrameImpl::_runModalContextMenu(), AP_Win32FrameImpl::_scrollFuncX(), AP_UnixFrame::_scrollFuncX(), AP_Win32FrameImpl::_scrollFuncY(), AP_UnixFrame::_scrollFuncY(), AP_Win32FrameImpl::_setXScrollRange(), AP_Win32FrameImpl::_setYScrollRange(), _tduR(), _tduX(), _tduY(), abi_widget_get_mouse_pos(), abi_widget_render_page_to_image(), GR_Win32Image::createImageSegment(), GR_CairoRasterImage::createImageSegment(), GR_UnixCairoGraphicsBase::createNewImage(), Defun(), XAP_UnixFrameImpl::_fe::do_ZoomUpdate(), AP_Lists_preview::draw(), GR_Win32Graphics::drawChars(), GR_UnixCairoGraphics::fillRect(), GR_CairoGraphics::fillRect(), GR_Win32Graphics::genImageFromRectangle(), GR_Image::GetOffsetFromLeft(), GR_Image::GetOffsetFromRight(), GR_Win32USPGraphics::prepareToRenderChars(), XAP_CustomWidgetLU::queueDrawLU(), LasemMathView::render(), GOComponentView::render(), GOChartView::render(), GR_UnixImage::scaleImageTo(), GR_Image::scaleImageTo(), GR_RSVGVectorImage::scaleImageTo(), GR_Win32Graphics::scroll(), GR_UnixCairoGraphics::scroll(), AP_Preview_Annotation::setSizeFromAnnotation(), and AP_UnixFrame::setYScrollRange().
double GR_Graphics::tduD | ( | double | layoutUnits | ) | const |
References getDeviceResolution(), getResolution(), and getZoomPercentage().
Referenced by FV_VisualDragText::_actuallyScroll(), FV_FrameEdit::_actuallyScroll(), AP_Preview_Paragraph::_appendLine(), FV_VisualDragText::_autoScroll(), FV_VisualInlineImage::_autoScroll(), FV_FrameEdit::_autoScroll(), AP_TopRuler::_autoScroll(), GR_Caret::_blink(), fp_CellContainer::_clear(), fp_TextRun::_clearScreen(), AP_Win32FrameImpl::_ContainerWndProc(), AP_Preview_Annotation::_createAnnotationPreviewFromGC(), XAP_FontPreview::_createFontPreviewFromGC(), fp_Line::_doClearScreenFromRunToEnd(), AP_Win32FrameImpl::_DocumentWndProc(), FV_Base::_doMouseDrag(), FV_View::_draw(), fp_TextRun::_draw(), fp_ImageRun::_draw(), AP_TopRuler::_draw(), fp_TabRun::_drawArrow(), AP_TopRuler::_drawBar(), fp_CellContainer::_drawBoundaries(), fp_Column::_drawBoundaries(), fp_VerticalContainer::_drawBoundaries(), fp_TableContainer::_drawBrokenBoundaries(), AP_TopRuler::_drawCellGap(), AP_TopRuler::_drawCellMark(), AP_LeftRuler::_drawCellMark(), AP_TopRuler::_drawCellProperties(), AP_TopRuler::_drawColumnGapMarker(), fp_Page::_drawCropMarks(), AP_TopRuler::_drawFirstLineIndentMarker(), fp_ShadowContainer::_drawHdrFtrBoundaries(), AP_TopRuler::_drawLeftIndentMarker(), fp_FrameContainer::_drawLine(), AP_TopRuler::_drawMarginProperties(), AP_LeftRuler::_drawMarginProperties(), AP_Preview_Paragraph::_drawPageBackground(), AP_Preview_Paragraph::_drawPageBorder(), fp_MathRun::_drawResizeBox(), FV_View::_drawResizeHandle(), AP_TopRuler::_drawRightIndentMarker(), AP_TopRuler::_drawTabProperties(), AP_TopRuler::_drawTabStop(), AP_TopRuler::_drawTabToggle(), AP_TopRuler::_drawTickMark(), AP_TopRuler::_drawTicks(), FV_View::_fixInsertionPointCoords(), AP_TopRuler::_getCellMarkerRect(), AP_LeftRuler::_getCellMarkerRects(), AP_TopRuler::_getColumnMarkerRect(), AP_TopRuler::_getFirstPixelInColumn(), AP_TopRuler::_getMarginMarkerRects(), AP_LeftRuler::_getMarginMarkerRects(), AP_TopRuler::_getParagraphMarkerRects(), AP_TopRuler::_getTabStopRect(), AP_TopRuler::_getTabToggleRect(), AP_TopRuler::_getTabZoneRect(), AP_TopRuler::_getUnitsFromRulerLeft(), AP_TopRuler::_isInBottomBoxOfLeftIndent(), AP_Win32LeftRuler::_LeftRulerWndProc(), fp_ImageRun::_lookupProperties(), fl_FrameLayout::_lookupProperties(), FV_VisualDragText::_mouseDrag(), FV_VisualInlineImage::_mouseDrag(), FV_FrameEdit::_mouseDrag(), FV_View::_moveInsPtNextPrevLine(), XAP_Win32Dialog_FileOpenSaveAs::_previewPicture(), AP_CocoaFrameImpl::_scrollAction, AP_Win32FrameImpl::_scrollFuncX(), AP_Win32FrameImpl::_scrollFuncY(), GR_Win32Graphics::_setTransform(), AP_Win32FrameImpl::_setXScrollRange(), AP_Win32FrameImpl::_setYScrollRange(), _tduR(), AP_Win32TopRuler::_TopRulerWndProc(), AP_TopRuler::_xorGuide(), AP_LeftRuler::_xorGuide(), AP_Preview_Abi::AP_Preview_Abi(), AP_UnixTopRuler::_fe::button_press_event(), AP_UnixLeftRuler::_fe::button_press_event(), AP_UnixTopRuler::_fe::button_release_event(), AP_UnixLeftRuler::_fe::button_release_event(), XAP_Draw_Symbol::calcSymbol(), XAP_Preview_FontPreview::clearScreen(), fp_Line::clearScreen(), AP_Preview_Annotation::clearScreen(), FV_View::cmdScroll(), fp_VerticalContainer::distanceFromPoint(), XAP_UnixFrameImpl::_fe::do_ZoomUpdate(), XAP_UnixFrameImpl::_fe::draw(), XAP_Preview_Zoom::draw(), XAP_Draw_Symbol::draw(), XAP_Preview_FontPreview::draw(), XAP_CustomWidgetLU::draw(), fp_Run::draw(), fp_FootnoteContainer::draw(), fp_VerticalContainer::draw(), AP_Preview_Annotation::draw(), AP_Preview_PageNumbers::draw(), AP_Lists_preview::draw(), AP_FormatTable_preview::draw(), AP_FormatFrame_preview::draw(), AP_Columns_preview_drawer::draw(), AP_Columns_preview::draw(), AP_Border_Shading_preview::draw(), XAP_Draw_Symbol::drawarea(), fp_CellContainer::drawBroken(), FV_VisualDragText::drawCursor(), FV_VisualInlineImage::drawCursor(), fp_Run::drawDecors(), fp_FrameContainer::drawHandles(), fp_Container::drawLine(), fp_CellContainer::drawLines(), AP_LeftRuler::drawLU(), FV_View::drawSelectionBox(), fg_FillType::Fill(), FG_GraphicRaster::generateImage(), GR_EmbedManager::getAscent(), AP_TopRuler::getHeight(), AP_LeftRuler::getHeight(), FV_VisualInlineImage::getImageFromSelection(), FV_View::getImageSelInfo(), fl_BlockLayout::getLeftRightForWrapping(), GR_Image::GetOffsetFromLeft(), GR_Image::GetOffsetFromRight(), FV_View::getPageViewSep(), FV_VisualDragText::getPosFromXY(), FV_VisualInlineImage::getPosFromXY(), FV_View::getTabToggleAreaWidth(), AP_TopRuler::getTabToggleAreaWidth(), GR_EmbedManager::getWidth(), AP_TopRuler::getWidth(), AP_LeftRuler::getWidth(), AP_TopRuler::isMouseOverTab(), GR_Caret::JustErase(), fp_AnnotationContainer::layout(), fp_FootnoteContainer::layout(), AP_UnixApp::makePngPreview(), fp_Page::mapXYToPosition(), AP_UnixTopRuler::_fe::motion_notify_event(), AP_UnixLeftRuler::_fe::motion_notify_event(), FV_FrameEdit::mouseLeftPress(), AP_TopRuler::mouseMotion(), AP_LeftRuler::mouseMotion(), AP_TopRuler::mousePress(), FV_VisualInlineImage::mouseRelease(), AP_TopRuler::mouseRelease(), AP_TopRuler::notify(), EV_Win32Mouse::onButtonDown(), EV_Win32Mouse::onButtonMove(), EV_Win32Mouse::onButtonUp(), EV_Win32Mouse::onButtonWheel(), EV_Win32Mouse::onDoubleClick(), fp_FrameContainer::overlapsRect(), XAP_UnixDialog_FileOpenSaveAs::previewPicture(), fp_Line::recalcMaxWidth(), GR_EmbedManager::render(), FV_VisualDragText::reposOffsets(), s_loadImage(), AP_TopRuler::scrollRuler(), AP_LeftRuler::scrollRuler(), XAP_Draw_Symbol::setAreaSize(), fl_CellLayout::setCellContainerProperties(), fl_FrameLayout::setContainerProperties(), FV_VisualInlineImage::setDragType(), FV_FrameEdit::setDragType(), AP_Preview_Paragraph_Block::setFormat(), fp_Line::setMaxWidth(), AP_Preview_Annotation::setSizeFromAnnotation(), AP_TopRuler::setTableLineDrag(), AP_LeftRuler::setTableLineDrag(), AV_View::setWindowSize(), XAP_Draw_Symbol::setWindowSize(), FV_View::setXScrollOffset(), AP_CocoaFrame::setXScrollRange(), AP_CocoaFrame::setYScrollRange(), FV_SelectionHandles::updateCursor(), FV_SelectionHandles::updateSelectionEnd(), FV_SelectionHandles::updateSelectionStart(), and GR_CairoGraphics::xorLine().
double GR_Graphics::tluD | ( | double | deviceUnits | ) | const |
References getDeviceResolution(), getResolution(), and getZoomPercentage().
Referenced by FV_View::_draw(), fp_Page::_drawCropMarks(), fp_MathRun::_drawResizeBox(), FV_View::_drawResizeHandle(), AP_UnixFrame::_scrollFuncX(), AP_UnixFrame::_scrollFuncY(), AP_UnixFrameImpl::_setScrollRange(), fp_Run::draw(), FV_View::drawSelectionBox(), EV_UnixMouse::mouseClick(), EV_UnixMouse::mouseMotion(), EV_UnixMouse::mouseScroll(), EV_UnixMouse::mouseUp(), AP_UnixFrame::setXScrollRange(), and AP_UnixFrame::setYScrollRange().
virtual void GR_Graphics::xorLine | ( | UT_sint32 | x1, | |
UT_sint32 | y1, | |||
UT_sint32 | x2, | |||
UT_sint32 | y2 | |||
) | [protected, pure virtual] |
Implemented in GR_Win32Graphics, GR_CairoGraphics, CairoNull_Graphics, and GR_Win32PrintPreviewGraphics.
Referenced by GR_Painter::xorLine(), and xorRect().
References xorLine().
Referenced by GR_Painter::xorRect(), and xorRect().
void GR_Graphics::xorRect | ( | const UT_Rect & | r | ) | [protected] |
References UT_Rect::height, UT_Rect::left, UT_Rect::top, UT_Rect::width, and xorRect().
UT_uint32 GR_Graphics::XYToPosition | ( | const GR_RenderInfo & | ri, | |
UT_sint32 | x, | |||
UT_sint32 | y | |||
) | const [virtual] |
Reimplemented in GR_Win32USPGraphics, and GR_CairoGraphics.
References GR_RenderInfo::getType(), UT_NOT_IMPLEMENTED, and UT_return_val_if_fail.
Referenced by fp_TextRun::mapXYToPosition().
friend class AllCarets [friend] |
friend class GR_Caret [friend] |
Referenced by createCaret().
friend class GR_Painter [friend] |
AllCarets GR_Graphics::m_AllCarets [private] |
Referenced by allCarets(), disableAllCarets(), and enableAllCarets().
bool GR_Graphics::m_bAntiAliasAlways [private] |
bool GR_Graphics::m_bDoMerge [private] |
bool GR_Graphics::m_bDontRedraw [private] |
bool GR_Graphics::m_bDoubleBufferingActive [protected] |
Referenced by beginDoubleBuffering(), and endDoubleBuffering().
bool GR_Graphics::m_bDrawingSuspended [protected] |
Referenced by resumeDrawing(), and suspendDrawing().
bool GR_Graphics::m_bExposePending [private] |
bool GR_Graphics::m_bHave3DColors [protected] |
bool GR_Graphics::m_bIsExposedAreaAccessed [private] |
bool GR_Graphics::m_bIsPortrait [private] |
bool GR_Graphics::m_bSpawnedRedraw [private] |
UT_NumberStack GR_Graphics::m_DCSwitchManagementStack [protected] |
Referenced by beginDoubleBuffering(), endDoubleBuffering(), resumeDrawing(), and suspendDrawing().
FontCache GR_Graphics::m_hashFontCache [private] |
Referenced by _destroyFonts(), findFont(), and invalidateCache().
UT_uint32 GR_Graphics::m_iFontAllocNo [protected] |
Referenced by GR_Win32USPGraphics::setFont(), GR_Win32Graphics::setFont(), and setZoomPercentage().
UT_sint32 GR_Graphics::m_iPrevXOffset [private] |
UT_sint32 GR_Graphics::m_iPrevYOffset [private] |
Referenced by s_actuallyPrint(), and s_printPage().
UT_uint32 GR_Graphics::m_iZoomPercentage [protected] |
Referenced by setZoomPercentage().
UT_uint32 GR_Graphics::m_paintCount [protected] |
Referenced by beginPaint(), endPaint(), and GR_CairoGraphics::getCairo().
GR_Caret* GR_Graphics::m_pCaret [private] |
Referenced by ~GR_Graphics().
UT_Rect GR_Graphics::m_PendingExposeArea [private] |
XAP_PrefsScheme* GR_Graphics::m_pPrefsScheme [static, protected] |
std::unique_ptr<const UT_Rect> GR_Graphics::m_pRect [protected] |
Referenced by GR_CairoGraphics::_setProps(), GR_Win32Graphics::setClipRect(), and GR_CairoGraphics::setClipRect().
UT_Rect GR_Graphics::m_RecentExposeArea [private] |
GR_Transform GR_Graphics::m_Transform [private] |
UT_uint32 GR_Graphics::m_uTick [static, protected] |
UT_GenericVector<GR_Caret *> GR_Graphics::m_vecCarets [private] |
Referenced by createCaret(), getCaret(), getNthCaret(), GR_Caret::GR_Caret(), removeCaret(), and ~GR_Graphics().
UT_UCS4Char GR_Graphics::s_cDefaultGlyph = '?' [static, private] |
Referenced by shape().
UT_uint32 GR_Graphics::s_iInstanceCount [static, private] |
Reimplemented in GR_Win32Graphics, GR_Win32USPGraphics, and GR_CairoGraphics.
UT_VersionInfo GR_Graphics::s_Version [static, private] |
Reimplemented in GR_Win32USPGraphics, and GR_CairoGraphics.