новое в DesktopEditor

git-svn-id: svn://fileserver/activex/AVS/Sources/TeamlabOffice/trunk/ServerComponents@62624 954022d7-b5bf-4e40-9824-e11837661b57
This commit is contained in:
Elen.Subbotina
2015-05-19 10:29:31 +00:00
committed by Alexander Trofimov
parent da94fa8d4c
commit 50ae3b681a
2745 changed files with 0 additions and 1713125 deletions

View File

@ -1,40 +0,0 @@
#include "AvsSalGraphics.h"
//#include <gdiplus.h>
//
//#pragma comment(lib, "gdiplus.lib")
//
//using namespace Gdiplus;
//
//void AvsGraphics::drawPixel( long nX, long nY )
// {
// if ( mbXORMode )
// {
// HBRUSH hBrush = CreateSolidBrush( mnPenColor );
// HBRUSH hOldBrush = SelectBrush( mhDC, hBrush );
// PatBlt( mhDC, (int)nX, (int)nY, (int)1, (int)1, PATINVERT );
// SelectBrush( mhDC, hOldBrush );
// DeleteBrush( hBrush );
// }
// else
// ::SetPixel( mhDC, (int)nX, (int)nY, mnPenColor );
// }
//void AvsGraphics::drawPixel( long nX, long nY, Color oColor )
//{
// COLORREF nCol = PALETTERGB( oColor.GetRed() ,oColor.GetGreen(), oColor.GetBlue() );
//
// if ( !mbPrinter &&
// GetSalData()->mhDitherPal &&
// ImplIsSysColorEntry( nSalColor ) )
// nCol = PALRGB_TO_RGB( nCol );
//
// if ( mbXORMode )
// {
// HBRUSH hBrush = CreateSolidBrush( nCol );
// HBRUSH hOldBrush = SelectBrush( mhDC, hBrush );
// PatBlt( mhDC, (int)nX, (int)nY, (int)1, (int)1, PATINVERT );
// SelectBrush( mhDC, hOldBrush );
// DeleteBrush( hBrush );
// }
// else
// ::SetPixel( mhDC, (int)nX, (int)nY, nCol );
//}