fix for #84300. print images at printer resolution not screen resolution.

git-svn-id: svn://10.0.0.236/trunk@2523 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
pnunn
1998-05-28 18:53:31 +00:00
parent 0fc30e6b1c
commit 0dddecb63a
14 changed files with 149 additions and 73 deletions

View File

@@ -133,12 +133,13 @@ _IMGCB_DestroyPixmap(struct IMGCB* self, jint op, void* displayContext, IL_Pixma
JMC_PUBLIC_API(void)
_IMGCB_DisplayPixmap(struct IMGCB* self, jint op, void* displayContext, IL_Pixmap* image, IL_Pixmap* mask,
jint x, jint y, jint x_offset, jint y_offset, jint width, jint height)
jint x, jint y, jint x_offset, jint y_offset, jint width, jint height,
jint scalewidth, jint scaleheight)
{
MWContext *pContext = (MWContext *)displayContext;
CDCCX *dispCxt = (CDCCX *) pContext->fe.cx;
LTRB Rect;
dispCxt->DisplayPixmap( image, mask, x, y, x_offset, y_offset, width, height, Rect);
dispCxt->DisplayPixmap( image, mask, x, y, x_offset, y_offset, width, height, scalewidth, scaleheight, Rect);
}
JMC_PUBLIC_API(void)