mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-07-20 01:04:34 +08:00
новое в DesktopEditor
git-svn-id: svn://fileserver/activex/AVS/Sources/TeamlabOffice/trunk/ServerComponents@62624 954022d7-b5bf-4e40-9824-e11837661b57
This commit is contained in:
committed by
Alexander Trofimov
parent
da94fa8d4c
commit
50ae3b681a
@ -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 );
|
||||
//}
|
||||
Reference in New Issue
Block a user