dlls/wineps.drv: PSDRV_YWStoDS() is unused so remove it.
Francois Gouget
fgouget at free.fr
Wed Mar 30 09:42:29 CDT 2011
---
We could keep it as a parallel to PSDRV_XWStoDS() but it's not clear
that there's any point.
dlls/wineps.drv/graphics.c | 17 -----------------
dlls/wineps.drv/psdrv.h | 1 -
2 files changed, 0 insertions(+), 18 deletions(-)
diff --git a/dlls/wineps.drv/graphics.c b/dlls/wineps.drv/graphics.c
index 16a4482..95e9653 100644
--- a/dlls/wineps.drv/graphics.c
+++ b/dlls/wineps.drv/graphics.c
@@ -52,23 +52,6 @@ INT PSDRV_XWStoDS( PSDRV_PDEVICE *physDev, INT width )
}
/***********************************************************************
- * 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
*/
static void PSDRV_DrawLine( PSDRV_PDEVICE *physDev )
diff --git a/dlls/wineps.drv/psdrv.h b/dlls/wineps.drv/psdrv.h
index c6c7571..0d17bf6 100644
--- a/dlls/wineps.drv/psdrv.h
+++ b/dlls/wineps.drv/psdrv.h
@@ -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 );
--
1.7.4.1
More information about the wine-patches
mailing list