wineps.drv: PSDRV_YWStoDS() is unused so remove it.

This commit is contained in:
Francois Gouget 2011-03-30 16:42:29 +02:00 committed by Alexandre Julliard
parent 95b6e6b3cd
commit 0377d0a2e6
2 changed files with 0 additions and 18 deletions

View File

@ -51,23 +51,6 @@ INT PSDRV_XWStoDS( PSDRV_PDEVICE *physDev, INT width )
return pt[1].x - pt[0].x;
}
/***********************************************************************
* PSDRV_YWStoDS
*
* Performs a world-to-viewport transformation on the specified height.
*/
INT PSDRV_YWStoDS( PSDRV_PDEVICE *physDev, INT height )
{
POINT pt[2];
pt[0].x = 0;
pt[0].y = 0;
pt[1].x = 0;
pt[1].y = height;
LPtoDP( physDev->hdc, pt, 2 );
return pt[1].y - pt[0].y;
}
/***********************************************************************
* PSDRV_DrawLine
*/

View File

@ -419,7 +419,6 @@ extern BOOL PSDRV_AddAFMtoList(FONTFAMILY **head, const AFM *afm,
extern void PSDRV_FreeAFMList( FONTFAMILY *head );
extern INT PSDRV_XWStoDS( PSDRV_PDEVICE *physDev, INT width );
extern INT PSDRV_YWStoDS( PSDRV_PDEVICE *physDev, INT height );
extern BOOL PSDRV_Brush(PSDRV_PDEVICE *physDev, BOOL EO);
extern BOOL PSDRV_SetFont( PSDRV_PDEVICE *physDev );