Prev Next
The MAKEROP4 macro creates a quaternary raster operation code for use
with the MaskBlt function. The macro takes two
ternary raster operation codes as input, one for the foreground and one for
the background, and packs their Boolean operation indexes into the high-order
word of a 32-bit value. The low-order word of this value will be ignored.
DWORD MAKEROP4(
|
DWORD fore,
|
// foreground ternary raster operation code
|
|
DWORD back
|
// background ternary raster operation code
|
|
);
|
|
Parameters
-
fore
-
Specifies a foreground ternary raster operation code.
-
back
-
Specifies a background ternary raster operation code
Return Values
The return value is a DWORD quaternary raster operation code for use
with the MaskBlt function.
Remarks
The MAKEROP4 macro is defined as follows:
#define MAKEROP4(fore,back)
(DWORD)((((back) << 8) & 0xFF000000) | (fore))
See Also
MaskBlt
See also:
| file: /Techref/os/win/api/win32/mac/src/mac02_29.htm, 2KB, , updated: 2000/4/7 12:19, local time: 2012/5/25 11:20,
|
| | ©2012 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://www.piclist.com/techref/os/win/api/win32/mac/src/mac02_29.htm"> MAKEROP4</A> |
| Did you find what you needed?
|
| |
Stepper motors CAN be smooth!
And stepper controllers can be strong and cheap.
Roman Black's
Linistep
stepper controller kits:
o 18th microstep
o Linear smoothing
| |
o Open source
o Full kit $25!
|
|
| |
Check out http://users.frii.com/dlc/robotics/projects/botproj.htm from Dennis Clark.
This guy ROCKS! He has made (and sells but also releases code, docs, etc...) for a number of cool
little robotic modules including whiskers, IR proximity detect and remote
control, Sonar proximity detect, PWM, Servo, compass. Most of these use the
little PIC 12C508 controller which costs
basically nothing and is soooo tiny. The 4 servos, 2400 baud serial servo controller
is a wonder of magic and he sells the programmed chip for $8. Wow!
|
.
|