Lines Matching refs:rGraphics
373 void ProgressBar::impl_paint ( sal_Int32 nX, sal_Int32 nY, const Reference< XGraphics > & rGraphics… in impl_paint() argument
376 …DBG_ASSERT ( rGraphics.is(), "ProgressBar::paint()\nCalled with invalid Reference< XGraphics > ." … in impl_paint()
380 if ( rGraphics.is () ) in impl_paint()
386 rGraphics->setFillColor ( m_nBackgroundColor ) ; in impl_paint()
387 rGraphics->setLineColor ( m_nBackgroundColor ) ; in impl_paint()
388 rGraphics->drawRect ( nX, nY, impl_getWidth(), impl_getHeight() ) ; in impl_paint()
391 rGraphics->setFillColor ( m_nForegroundColor ) ; in impl_paint()
392 rGraphics->setLineColor ( m_nForegroundColor ) ; in impl_paint()
409 rGraphics->drawRect (nBlockStart, nY+FREESPACE, m_aBlockSize.Width, m_aBlockSize.Height) ; in impl_paint()
427 rGraphics->drawRect (nX+FREESPACE, nBlockStart, m_aBlockSize.Width, m_aBlockSize.Height) ; in impl_paint()
434 rGraphics->setLineColor ( LINECOLOR_SHADOW ) ; in impl_paint()
435 rGraphics->drawLine ( nX, nY, impl_getWidth(), nY ) ; in impl_paint()
436 rGraphics->drawLine ( nX, nY, nX , impl_getHeight() ) ; in impl_paint()
438 rGraphics->setLineColor ( LINECOLOR_BRIGHT ) ; in impl_paint()
439 rGraphics->drawLine ( impl_getWidth()-1, impl_getHeight()-1, impl_getWidth()-1, nY ) ; in impl_paint()
440 rGraphics->drawLine ( impl_getWidth()-1, impl_getHeight()-1, nX , impl_getHeight()-1 ) ; in impl_paint()