The METAFILEPICT structure defines the metafile picture format used for exchanging metafile data through the clipboard.
typedef struct tagMETAFILEPICT { // mfp
LONG mm;
LONG xExt;
LONG yExt;
HMETAFILE hMF;
} METAFILEPICT;
For MM_ISOTROPIC and MM_ANISOTROPIC modes, which can be scaled, the xExt
and yExt members contain an optional suggested size in MM_HIMETRIC
units. For MM_ANISOTROPIC pictures, xExt and yExt can be zero
when no suggested size is supplied. For MM_ISOTROPIC pictures, an aspect ratio
must be supplied even when no suggested size is given. (If a suggested size is
given, the aspect ratio is implied by the size.) To give an aspect ratio
without implying a suggested size, set xExt and yExt to negative
values whose ratio is the appropriate aspect ratio. The magnitude of the
negative xExt and yExt values is ignored; only the ratio is
used.
See also:
| file: /Techref/os/win/api/win32/struc/src/str11_11.htm, 2KB, , updated: 2000/4/7 11:20, local time: 2012/2/9 22:26,
38.107.179.233:LOG IN |
| ©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/struc/src/str11_11.htm"> METAFILEPICT</A> |
| Did you find what you needed? |
LCD Front Panel Set: $8.99!
- 2x16 LCD HD44780 controller - 4 push buttons - 3 LEDs - 2x12 header |
Robotics nuts!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! |
.