salgdi2.cxx (5f27b83c) salgdi2.cxx (54ae6a37)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 763 unchanged lines hidden (view full) ---

772 aRect.right = (int)nX+nWidth;
773 aRect.bottom = (int)nY+nHeight;
774 ::InvertRect( getHDC(), &aRect );
775 }
776}
777
778// -----------------------------------------------------------------------
779
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 763 unchanged lines hidden (view full) ---

772 aRect.right = (int)nX+nWidth;
773 aRect.bottom = (int)nY+nHeight;
774 ::InvertRect( getHDC(), &aRect );
775 }
776}
777
778// -----------------------------------------------------------------------
779
780void WinSalGraphics::invert( sal_uLong nPoints, const SalPoint* pPtAry, SalInvert nSalFlags )
780void WinSalGraphics::invert( sal_uInt32 nPoints, const SalPoint* pPtAry, SalInvert nSalFlags )
781{
782 HPEN hPen;
783 HPEN hOldPen;
784 HBRUSH hBrush;
785 HBRUSH hOldBrush = 0;
786 COLORREF nOldTextColor RGB(0,0,0);
787 int nOldROP = SetROP2( getHDC(), R2_NOT );
788

--- 56 unchanged lines hidden ---
781{
782 HPEN hPen;
783 HPEN hOldPen;
784 HBRUSH hBrush;
785 HBRUSH hOldBrush = 0;
786 COLORREF nOldTextColor RGB(0,0,0);
787 int nOldROP = SetROP2( getHDC(), R2_NOT );
788

--- 56 unchanged lines hidden ---