Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
d0cbe85d
Commit
d0cbe85d
authored
May 22, 1999
by
Huw D M Davies
Committed by
Alexandre Julliard
May 22, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add a few more 32->16 Escape conversions.
parent
6cd829bd
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
escape.c
graphics/escape.c
+8
-0
No files found.
graphics/escape.c
View file @
d0cbe85d
...
...
@@ -36,12 +36,16 @@ INT WINAPI Escape( HDC hdc, INT nEscape, INT cbInput,
switch
(
nEscape
)
{
/* Escape(hdc,QUERYESCSUPPORT,LPINT,NULL) */
/* Escape(hdc,EXT_DEVICE_CAPS,LPINT,NULL) */
/* Escape(hdc,SETLINECAP,LPINT,NULL) */
case
QUERYESCSUPPORT
:
case
EXT_DEVICE_CAPS
:
case
SETLINECAP
:
case
SETLINEJOIN
:
{
LPINT16
x
=
(
LPINT16
)
SEGPTR_NEW
(
INT16
);
*
x
=
*
(
INT
*
)
lpszInData
;
segin
=
SEGPTR_GET
(
x
);
cbInput
=
sizeof
(
INT16
);
break
;
}
...
...
@@ -53,6 +57,7 @@ INT WINAPI Escape( HDC hdc, INT nEscape, INT cbInput,
case
GETPHYSPAGESIZE
:
case
GETPRINTINGOFFSET
:
segout
=
SEGPTR_GET
(
SEGPTR_NEW
(
POINT16
));
cbInput
=
sizeof
(
POINT16
);
break
;
/* Escape(hdc,GETTECHNOLOGY,NULL,LPSTR); */
...
...
@@ -70,6 +75,7 @@ INT WINAPI Escape( HDC hdc, INT nEscape, INT cbInput,
segout
=
SEGPTR_GET
(
SEGPTR_NEW
(
INT16
));
segin
=
SEGPTR_GET
(
enab
);
*
enab
=
*
(
INT
*
)
lpszInData
;
cbInput
=
sizeof
(
INT16
);
break
;
}
...
...
@@ -105,6 +111,8 @@ INT WINAPI Escape( HDC hdc, INT nEscape, INT cbInput,
SEGPTR_FREE
(
PTR_SEG_TO_LIN
(
segin
));
break
;
case
EXT_DEVICE_CAPS
:
case
SETLINECAP
:
case
SETLINEJOIN
:
SEGPTR_FREE
(
PTR_SEG_TO_LIN
(
segin
));
break
;
case
GETSCALINGFACTOR
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment