Lines Matching refs:pOutDev

111 void SalGraphics::mirror( long& x, const OutputDevice *pOutDev, bool bBack ) const  in mirror()  argument
114 if( pOutDev && pOutDev->GetOutDevType() == OUTDEV_VIRDEV ) in mirror()
115 w = pOutDev->GetOutputWidthPixel(); in mirror()
121 if( pOutDev && pOutDev->ImplIsAntiparallel() ) in mirror()
123 OutputDevice *pOutDevRef = (OutputDevice*) pOutDev; in mirror()
147 void SalGraphics::mirror( long& x, long& nWidth, const OutputDevice *pOutDev, bool bBack ) const in mirror() argument
150 if( pOutDev && pOutDev->GetOutDevType() == OUTDEV_VIRDEV ) in mirror()
151 w = pOutDev->GetOutputWidthPixel(); in mirror()
157 if( pOutDev && pOutDev->ImplIsAntiparallel() ) in mirror()
159 OutputDevice *pOutDevRef = (OutputDevice*) pOutDev; in mirror()
184 … nPoints, const SalPoint *pPtAry, SalPoint *pPtAry2, const OutputDevice *pOutDev, bool bBack ) con… in mirror() argument
187 if( pOutDev && pOutDev->GetOutDevType() == OUTDEV_VIRDEV ) in mirror()
188 w = pOutDev->GetOutputWidthPixel(); in mirror()
196 if( pOutDev && pOutDev->ImplIsAntiparallel() ) in mirror()
198 OutputDevice *pOutDevRef = (OutputDevice*) pOutDev; in mirror()
263 void SalGraphics::mirror( Region& rRgn, const OutputDevice *pOutDev, bool bBack ) const in mirror() argument
267 const basegfx::B2DPolyPolygon aPolyPoly(mirror(rRgn.GetAsB2DPolyPolygon(), pOutDev, bBack)); in mirror()
279 mirror(*aRectIter, pOutDev, bBack); in mirror()
300 void SalGraphics::mirror( Rectangle& rRect, const OutputDevice *pOutDev, bool bBack ) const in mirror() argument
306 mirror( x, nWidth, pOutDev, bBack ); in mirror()
395 bool SalGraphics::SetClipRegion( const Region& i_rClip, const OutputDevice *pOutDev ) in SetClipRegion() argument
397 if( (m_nLayout & SAL_LAYOUT_BIDI_RTL) || (pOutDev && pOutDev->IsRTLEnabled()) ) in SetClipRegion()
400 mirror( aMirror, pOutDev ); in SetClipRegion()
406 void SalGraphics::DrawPixel( long nX, long nY, const OutputDevice *pOutDev ) in DrawPixel() argument
408 if( (m_nLayout & SAL_LAYOUT_BIDI_RTL) || (pOutDev && pOutDev->IsRTLEnabled()) ) in DrawPixel()
409 mirror( nX, pOutDev ); in DrawPixel()
412 void SalGraphics::DrawPixel( long nX, long nY, SalColor nSalColor, const OutputDevice *pOutDev ) in DrawPixel() argument
414 if( (m_nLayout & SAL_LAYOUT_BIDI_RTL) || (pOutDev && pOutDev->IsRTLEnabled()) ) in DrawPixel()
415 mirror( nX, pOutDev ); in DrawPixel()
418 void SalGraphics::DrawLine( long nX1, long nY1, long nX2, long nY2, const OutputDevice *pOutDev ) in DrawLine() argument
420 if( (m_nLayout & SAL_LAYOUT_BIDI_RTL) || (pOutDev && pOutDev->IsRTLEnabled()) ) in DrawLine()
422 mirror( nX1, pOutDev ); in DrawLine()
423 mirror( nX2, pOutDev ); in DrawLine()
427 …d SalGraphics::DrawRect( long nX, long nY, long nWidth, long nHeight, const OutputDevice *pOutDev ) in DrawRect() argument
429 if( (m_nLayout & SAL_LAYOUT_BIDI_RTL) || (pOutDev && pOutDev->IsRTLEnabled()) ) in DrawRect()
430 mirror( nX, nWidth, pOutDev ); in DrawRect()
443 …alGraphics::DrawPolyLine( sal_uInt32 nPoints, const SalPoint* pPtAry, const OutputDevice *pOutDev ) in DrawPolyLine() argument
445 if( (m_nLayout & SAL_LAYOUT_BIDI_RTL) || (pOutDev && pOutDev->IsRTLEnabled()) ) in DrawPolyLine()
448 sal_Bool bCopied = mirror( nPoints, pPtAry, pPtAry2, pOutDev ); in DrawPolyLine()
456 …SalGraphics::DrawPolygon( sal_uInt32 nPoints, const SalPoint* pPtAry, const OutputDevice *pOutDev ) in DrawPolygon() argument
458 if( (m_nLayout & SAL_LAYOUT_BIDI_RTL) || (pOutDev && pOutDev->IsRTLEnabled()) ) in DrawPolygon()
461 sal_Bool bCopied = mirror( nPoints, pPtAry, pPtAry2, pOutDev ); in DrawPolygon()
469 … sal_uInt32 nPoly, const sal_uInt32* pPoints, PCONSTSALPOINT* pPtAry, const OutputDevice *pOutDev ) in DrawPolyPolygon() argument
471 if( (m_nLayout & SAL_LAYOUT_BIDI_RTL) || (pOutDev && pOutDev->IsRTLEnabled()) ) in DrawPolyPolygon()
480 mirror( nPoints, pPtAry[i], pPtAry2[i], pOutDev ); in DrawPolyPolygon()
511 …sal_uInt32 nPoints, const SalPoint* pPtAry, const sal_uInt8* pFlgAry, const OutputDevice* pOutDev ) in DrawPolyLineBezier() argument
514 if( (m_nLayout & SAL_LAYOUT_BIDI_RTL) || (pOutDev && pOutDev->IsRTLEnabled()) ) in DrawPolyLineBezier()
517 sal_Bool bCopied = mirror( nPoints, pPtAry, pPtAry2, pOutDev ); in DrawPolyLineBezier()
526 …sal_uInt32 nPoints, const SalPoint* pPtAry, const sal_uInt8* pFlgAry, const OutputDevice* pOutDev ) in DrawPolygonBezier() argument
529 if( (m_nLayout & SAL_LAYOUT_BIDI_RTL) || (pOutDev && pOutDev->IsRTLEnabled()) ) in DrawPolygonBezier()
532 sal_Bool bCopied = mirror( nPoints, pPtAry, pPtAry2, pOutDev ); in DrawPolygonBezier()
590 sal_uInt16 nFlags, const OutputDevice *pOutDev ) in CopyArea() argument
592 if( (m_nLayout & SAL_LAYOUT_BIDI_RTL) || (pOutDev && pOutDev->IsRTLEnabled()) ) in CopyArea()
594 mirror( nDestX, nSrcWidth, pOutDev ); in CopyArea()
595 mirror( nSrcX, nSrcWidth, pOutDev ); in CopyArea()
600 … SalGraphics* pSrcGraphics, const OutputDevice *pOutDev, const OutputDevice *pSrcOutDev ) in CopyBits() argument
602 if( ( (m_nLayout & SAL_LAYOUT_BIDI_RTL) || (pOutDev && pOutDev->IsRTLEnabled()) ) || in CopyBits()
608 if( (m_nLayout & SAL_LAYOUT_BIDI_RTL) || (pOutDev && pOutDev->IsRTLEnabled()) ) in CopyBits()
609 mirror( aPosAry2.mnDestX, aPosAry2.mnDestWidth, pOutDev ); in CopyBits()
616 const SalBitmap& rSalBitmap, const OutputDevice *pOutDev ) in DrawBitmap() argument
618 if( (m_nLayout & SAL_LAYOUT_BIDI_RTL) || (pOutDev && pOutDev->IsRTLEnabled()) ) in DrawBitmap()
621 mirror( aPosAry2.mnDestX, aPosAry2.mnDestWidth, pOutDev ); in DrawBitmap()
629 SalColor nTransparentColor, const OutputDevice *pOutDev ) in DrawBitmap() argument
631 if( (m_nLayout & SAL_LAYOUT_BIDI_RTL) || (pOutDev && pOutDev->IsRTLEnabled()) ) in DrawBitmap()
634 mirror( aPosAry2.mnDestX, aPosAry2.mnDestWidth, pOutDev ); in DrawBitmap()
642 const SalBitmap& rTransparentBitmap, const OutputDevice *pOutDev ) in DrawBitmap() argument
644 if( (m_nLayout & SAL_LAYOUT_BIDI_RTL) || (pOutDev && pOutDev->IsRTLEnabled()) ) in DrawBitmap()
647 mirror( aPosAry2.mnDestX, aPosAry2.mnDestWidth, pOutDev ); in DrawBitmap()
655 SalColor nMaskColor, const OutputDevice *pOutDev ) in DrawMask() argument
657 if( (m_nLayout & SAL_LAYOUT_BIDI_RTL) || (pOutDev && pOutDev->IsRTLEnabled()) ) in DrawMask()
660 mirror( aPosAry2.mnDestX, aPosAry2.mnDestWidth, pOutDev ); in DrawMask()
666 … SalGraphics::GetBitmap( long nX, long nY, long nWidth, long nHeight, const OutputDevice *pOutDev ) in GetBitmap() argument
668 if( (m_nLayout & SAL_LAYOUT_BIDI_RTL) || (pOutDev && pOutDev->IsRTLEnabled()) ) in GetBitmap()
669 mirror( nX, nWidth, pOutDev ); in GetBitmap()
672 SalColor SalGraphics::GetPixel( long nX, long nY, const OutputDevice *pOutDev ) in GetPixel() argument
674 if( (m_nLayout & SAL_LAYOUT_BIDI_RTL) || (pOutDev && pOutDev->IsRTLEnabled()) ) in GetPixel()
675 mirror( nX, pOutDev ); in GetPixel()
678 …nvert( long nX, long nY, long nWidth, long nHeight, SalInvert nFlags, const OutputDevice *pOutDev ) in Invert() argument
680 if( (m_nLayout & SAL_LAYOUT_BIDI_RTL) || (pOutDev && pOutDev->IsRTLEnabled()) ) in Invert()
681 mirror( nX, nWidth, pOutDev ); in Invert()
684 …Invert( sal_uInt32 nPoints, const SalPoint* pPtAry, SalInvert nFlags, const OutputDevice *pOutDev ) in Invert() argument
686 if( (m_nLayout & SAL_LAYOUT_BIDI_RTL) || (pOutDev && pOutDev->IsRTLEnabled()) ) in Invert()
689 sal_Bool bCopied = mirror( nPoints, pPtAry, pPtAry2, pOutDev ); in Invert()
697 … nX, long nY, long nWidth, long nHeight, void* pPtr, sal_uLong nSize, const OutputDevice *pOutDev ) in DrawEPS() argument
699 if( (m_nLayout & SAL_LAYOUT_BIDI_RTL) || (pOutDev && pOutDev->IsRTLEnabled()) ) in DrawEPS()
700 mirror( nX, nWidth, pOutDev ); in DrawEPS()
705 … const Point& aPos, sal_Bool& rIsInside, const OutputDevice *pOutDev ) in HitTestNativeControl() argument
707 if( (m_nLayout & SAL_LAYOUT_BIDI_RTL) || (pOutDev && pOutDev->IsRTLEnabled()) ) in HitTestNativeControl()
711 mirror( pt.X(), pOutDev ); in HitTestNativeControl()
712 mirror( rgn, pOutDev ); in HitTestNativeControl()
719 void SalGraphics::mirror( ControlType , const ImplControlValue& rVal, const OutputDevice* pOutDev, … in mirror() argument
726 mirror(pSlVal->maThumbRect,pOutDev,bBack); in mirror()
732 mirror(pScVal->maThumbRect,pOutDev,bBack); in mirror()
733 mirror(pScVal->maButton1Rect,pOutDev,bBack); in mirror()
734 mirror(pScVal->maButton2Rect,pOutDev,bBack); in mirror()
741 mirror(pSpVal->maUpperRect,pOutDev,bBack); in mirror()
742 mirror(pSpVal->maLowerRect,pOutDev,bBack); in mirror()
748 mirror(pTVal->maGripRect,pOutDev,bBack); in mirror()
756 … const OUString& aCaption, const OutputDevice *pOutDev ) in DrawNativeControl() argument
758 if( (m_nLayout & SAL_LAYOUT_BIDI_RTL) || (pOutDev && pOutDev->IsRTLEnabled()) ) in DrawNativeControl()
761 mirror( rgn, pOutDev ); in DrawNativeControl()
762 mirror( nType, aValue, pOutDev ); in DrawNativeControl()
764 mirror( nType, aValue, pOutDev, true ); in DrawNativeControl()
773 … const OUString& aCaption, const OutputDevice *pOutDev ) in DrawNativeControlText() argument
775 if( (m_nLayout & SAL_LAYOUT_BIDI_RTL) || (pOutDev && pOutDev->IsRTLEnabled()) ) in DrawNativeControlText()
778 mirror( rgn, pOutDev ); in DrawNativeControlText()
779 mirror( nType, aValue, pOutDev ); in DrawNativeControlText()
781 mirror( nType, aValue, pOutDev, true ); in DrawNativeControlText()
790 … Rectangle &rNativeBoundingRegion, Rectangle &rNativeContentRegion, const OutputDevice *pOutDev ) in GetNativeControlRegion() argument
792 if( (m_nLayout & SAL_LAYOUT_BIDI_RTL) || (pOutDev && pOutDev->IsRTLEnabled()) ) in GetNativeControlRegion()
795 mirror( rgn, pOutDev ); in GetNativeControlRegion()
796 mirror( nType, aValue, pOutDev ); in GetNativeControlRegion()
800 mirror( rNativeBoundingRegion, pOutDev, true ); in GetNativeControlRegion()
801 mirror( rNativeContentRegion, pOutDev, true ); in GetNativeControlRegion()
802 mirror( nType, aValue, pOutDev, true ); in GetNativeControlRegion()
807 mirror( nType, aValue, pOutDev, true ); in GetNativeControlRegion()
819 const OutputDevice *pOutDev ) in DrawAlphaBitmap() argument
821 if( (m_nLayout & SAL_LAYOUT_BIDI_RTL) || (pOutDev && pOutDev->IsRTLEnabled()) ) in DrawAlphaBitmap()
824 mirror( aPosAry2.mnDestX, aPosAry2.mnDestWidth, pOutDev ); in DrawAlphaBitmap()
837 const OutputDevice* pOutDev) in DrawTransformedBitmap() argument
839 if( (m_nLayout & SAL_LAYOUT_BIDI_RTL) || (pOutDev && pOutDev->IsRTLEnabled()) ) in DrawTransformedBitmap()
845 mirror(aNull, pOutDev); in DrawTransformedBitmap()
846 mirror(aX, pOutDev); in DrawTransformedBitmap()
847 mirror(aY, pOutDev); in DrawTransformedBitmap()
858 sal_uInt8 nTransparency, const OutputDevice *pOutDev ) in DrawAlphaRect() argument
860 if( (m_nLayout & SAL_LAYOUT_BIDI_RTL) || (pOutDev && pOutDev->IsRTLEnabled()) ) in DrawAlphaRect()
861 mirror( nX, nWidth, pOutDev ); in DrawAlphaRect()
871 void SalGraphics::AddDevFontSubstitute( OutputDevice* pOutDev, in AddDevFontSubstitute() argument
876 pOutDev->ImplAddDevFontSubstitute( rFontName, rReplaceFontName, nFlags ); in AddDevFontSubstitute()