@@ -196,18 +196,21 @@ void CMyDlg::OnRButtonDown(UINT nFlags, CPoint point)
196
196
Displays bitmaps that have transparent or semitransparent pixels.
197
197
198
198
```
199
- BOOL AlphaBlend(HDC hDestDC,
199
+ BOOL AlphaBlend(
200
+ HDC hDestDC,
200
201
int xDest,
201
202
int yDest,
202
203
BYTE bSrcAlpha = 0xff,
203
204
BYTE bBlendOp = AC_SRC_OVER) const throw();
204
205
205
- BOOL AlphaBlend(HDC hDestDC,
206
+ BOOL AlphaBlend(
207
+ HDC hDestDC,
206
208
const POINT& pointDest,
207
209
BYTE bSrcAlpha = 0xff,
208
210
BYTE bBlendOp = AC_SRC_OVER) const throw();
209
211
210
- BOOL AlphaBlend(HDC hDestDC,
212
+ BOOL AlphaBlend(
213
+ HDC hDestDC,
211
214
int xDest,
212
215
int yDest,
213
216
int nDestWidth,
@@ -219,7 +222,8 @@ BOOL AlphaBlend(HDC hDestDC,
219
222
BYTE bSrcAlpha = 0xff,
220
223
BYTE bBlendOp = AC_SRC_OVER);
221
224
222
- BOOL AlphaBlend(HDC hDestDC,
225
+ BOOL AlphaBlend(
226
+ HDC hDestDC,
223
227
const RECT& rectDest,
224
228
const RECT& rectSrc,
225
229
BYTE bSrcAlpha = 0xff,
@@ -304,16 +308,19 @@ void Attach(HBITMAP hBitmap, DIBOrientation eOrientation = DIBOR_DEFAULT) thro
304
308
Copies a bitmap from the source device context to this current device context.
305
309
306
310
```
307
- BOOL BitBlt(HDC hDestDC,
311
+ BOOL BitBlt(
312
+ HDC hDestDC,
308
313
int xDest,
309
314
int yDest,
310
315
DWORD dwROP = SRCCOPY) const throw();
311
316
312
- BOOL BitBlt(HDC hDestDC,
317
+ BOOL BitBlt(
318
+ HDC hDestDC,
313
319
const POINT& pointDest,
314
320
DWORD dwROP = SRCCOPY) const throw();
315
321
316
- BOOL BitBlt(HDC hDestDC,
322
+ BOOL BitBlt(
323
+ HDC hDestDC,
317
324
int xDest,
318
325
int yDest,
319
326
int nDestWidth,
@@ -322,7 +329,8 @@ BOOL BitBlt(HDC hDestDC,
322
329
int ySrc,
323
330
DWORD dwROP = SRCCOPY) const throw();
324
331
325
- BOOL BitBlt(HDC hDestDC,
332
+ BOOL BitBlt(
333
+ HDC hDestDC,
326
334
const RECT& rectDest,
327
335
const POINT& pointSrc,
328
336
DWORD dwROP = SRCCOPY) const throw();
@@ -386,7 +394,8 @@ CImage() throw();
386
394
Creates a ` CImage ` bitmap and attach it to the previously constructed ` CImage ` object.
387
395
388
396
```
389
- BOOL Create(int nWidth,
397
+ BOOL Create(
398
+ int nWidth,
390
399
int nHeight,
391
400
int nBPP,
392
401
DWORD dwFlags = 0) throw();
@@ -417,7 +426,8 @@ BOOL Create(int nWidth,
417
426
Creates a ` CImage ` bitmap and attach it to the previously constructed ` CImage ` object.
418
427
419
428
```
420
- BOOL CreateEx(int nWidth,
429
+ BOOL CreateEx(
430
+ int nWidth,
421
431
int nHeight,
422
432
int nBPP,
423
433
DWORD eCompression,
@@ -486,7 +496,8 @@ HBITMAP Detach() throw();
486
496
Copies a bitmap from the source device context to the current device context.
487
497
488
498
```
489
- BOOL Draw(HDC hDestDC,
499
+ BOOL Draw(
500
+ HDC hDestDC,
490
501
int xDest,
491
502
int yDest,
492
503
int nDestWidth,
@@ -496,24 +507,29 @@ BOOL Draw(HDC hDestDC,
496
507
int nSrcWidth,
497
508
int nSrcHeight) const throw();
498
509
499
- BOOL Draw(HDC hDestDC,
510
+ BOOL Draw(
511
+ HDC hDestDC,
500
512
const RECT& rectDest,
501
513
const RECT& rectSrc) const throw();
502
514
503
- BOOL Draw(HDC hDestDC,
515
+ BOOL Draw(
516
+ HDC hDestDC,
504
517
int xDest,
505
518
int yDest) const throw();
506
519
507
- BOOL Draw(HDC hDestDC,
520
+ BOOL Draw(
521
+ HDC hDestDC,
508
522
const POINT& pointDest) const throw();
509
523
510
- BOOL Draw(HDC hDestDC,
524
+ BOOL Draw(
525
+ HDC hDestDC,
511
526
int xDest,
512
527
int yDest,
513
528
int nDestWidth,
514
529
int nDestHeight) const throw();
515
530
516
- BOOL Draw(HDC hDestDC,
531
+ BOOL Draw(
532
+ HDC hDestDC,
517
533
const RECT& rectDest) const throw();
518
534
```
519
535
@@ -976,10 +992,12 @@ HRESULT Load(IStream* pStream) throw();
976
992
Loads an image from a `BITMAP` resource.
977
993
978
994
```
979
- void LoadFromResource(HINSTANCE hInstance,
995
+ void LoadFromResource(
996
+ HINSTANCE hInstance,
980
997
LPCTSTR pszResourceName) throw();
981
998
982
- void LoadFromResource(HINSTANCE hInstance,
999
+ void LoadFromResource(
1000
+ HINSTANCE hInstance,
983
1001
UINT nIDResource) throw();
984
1002
```
985
1003
@@ -1000,7 +1018,8 @@ void LoadFromResource(HINSTANCE hInstance,
1000
1018
Combines the color data for the source and destination bitmaps using the specified mask and raster operation.
1001
1019
1002
1020
```
1003
- BOOL MaskBlt(HDC hDestDC,
1021
+ BOOL MaskBlt(
1022
+ HDC hDestDC,
1004
1023
int xDest,
1005
1024
int yDest,
1006
1025
int nDestWidth,
@@ -1012,20 +1031,23 @@ BOOL MaskBlt(HDC hDestDC,
1012
1031
int yMask,
1013
1032
DWORD dwROP = SRCCOPY) const throw();
1014
1033
1015
- BOOL MaskBlt(HDC hDestDC,
1034
+ BOOL MaskBlt(
1035
+ HDC hDestDC,
1016
1036
const RECT& rectDest,
1017
1037
const POINT& pointSrc,
1018
1038
HBITMAP hbmMask,
1019
1039
const POINT& pointMask,
1020
1040
DWORD dwROP = SRCCOPY) const throw();
1021
1041
1022
- BOOL MaskBlt(HDC hDestDC,
1042
+ BOOL MaskBlt(
1043
+ HDC hDestDC,
1023
1044
int xDest,
1024
1045
int yDest,
1025
1046
HBITMAP hbmMask,
1026
1047
DWORD dwROP = SRCCOPY) const throw();
1027
1048
1028
- BOOL MaskBlt(HDC hDestDC,
1049
+ BOOL MaskBlt(
1050
+ HDC hDestDC,
1029
1051
const POINT& pointDest,
1030
1052
HBITMAP hbmMask,
1031
1053
DWORD dwROP = SRCCOPY) const throw();
@@ -1090,11 +1112,13 @@ BOOL MaskBlt(HDC hDestDC,
1090
1112
Performs a bit-block transfer from a rectangle in a source device context into a parallelogram in a destination device context.
1091
1113
1092
1114
```
1093
- BOOL PlgBlt(HDC hDestDC,
1115
+ BOOL PlgBlt(
1116
+ HDC hDestDC,
1094
1117
const POINT* pPoints,
1095
1118
HBITMAP hbmMask = NULL) const throw();
1096
1119
1097
- BOOL PlgBlt(HDC hDestDC,
1120
+ BOOL PlgBlt(
1121
+ HDC hDestDC,
1098
1122
const POINT* pPoints,
1099
1123
int xSrc,
1100
1124
int ySrc,
@@ -1104,7 +1128,8 @@ BOOL PlgBlt(HDC hDestDC,
1104
1128
int xMask = 0,
1105
1129
int yMask = 0) const throw();
1106
1130
1107
- BOOL PlgBlt(HDC hDestDC,
1131
+ BOOL PlgBlt(
1132
+ HDC hDestDC,
1108
1133
const POINT* pPoints,
1109
1134
const RECT& rectSrc,
1110
1135
HBITMAP hbmMask = NULL,
@@ -1215,9 +1240,10 @@ HRESULT Save(LPCTSTR pszFileName,
1215
1240
Sets the red, green, blue (RGB) color values for a range of entries in the palette of the DIB section.
1216
1241
1217
1242
```
1218
- void SetColorTable(UINT iFirstColor,
1219
- UINT nColors,
1220
- const RGBQUAD* prgbColors) throw();
1243
+ void SetColorTable(
1244
+ UINT iFirstColor,
1245
+ UINT nColors,
1246
+ const RGBQUAD* prgbColors) throw();
1221
1247
```
1222
1248
1223
1249
### Parameters
@@ -1274,7 +1300,8 @@ void SetPixelIndexed(int x, int y, int iIndex) throw();
1274
1300
Sets the pixel at the locations specified by *x* and *y* to the colors indicated by *r*, *g*, and *b*, in a red, green, blue (RGB) image.
1275
1301
1276
1302
```
1277
- void SetPixelRGB(int x,
1303
+ void SetPixelRGB(
1304
+ int x,
1278
1305
int y,
1279
1306
BYTE r,
1280
1307
BYTE g,
@@ -1318,18 +1345,21 @@ LONG SetTransparentColor(LONG iTransparentColor) throw();
1318
1345
Copies a bitmap from the source device context to this current device context.
1319
1346
1320
1347
```
1321
- BOOL StretchBlt(HDC hDestDC,
1348
+ BOOL StretchBlt(
1349
+ HDC hDestDC,
1322
1350
int xDest,
1323
1351
int yDest,
1324
1352
int nDestWidth,
1325
1353
int nDestHeight,
1326
1354
DWORD dwROP = SRCCOPY) const throw();
1327
1355
1328
- BOOL StretchBlt(HDC hDestDC,
1356
+ BOOL StretchBlt(
1357
+ HDC hDestDC,
1329
1358
const RECT& rectDest,
1330
1359
DWORD dwROP = SRCCOPY) const throw();
1331
1360
1332
- BOOL StretchBlt(HDC hDestDC,
1361
+ BOOL StretchBlt(
1362
+ HDC hDestDC,
1333
1363
int xDest,
1334
1364
int yDest,
1335
1365
int nDestWidth,
@@ -1340,7 +1370,8 @@ BOOL StretchBlt(HDC hDestDC,
1340
1370
int nSrcHeight,
1341
1371
DWORD dwROP = SRCCOPY) const throw();
1342
1372
1343
- BOOL StretchBlt(HDC hDestDC,
1373
+ BOOL StretchBlt(
1374
+ HDC hDestDC,
1344
1375
const RECT& rectDest,
1345
1376
const RECT& rectSrc,
1346
1377
DWORD dwROP = SRCCOPY) const throw();
@@ -1393,18 +1424,21 @@ BOOL StretchBlt(HDC hDestDC,
1393
1424
Copies a bitmap from the source device context to this current device context.
1394
1425
1395
1426
```
1396
- BOOL TransparentBlt(HDC hDestDC,
1427
+ BOOL TransparentBlt(
1428
+ HDC hDestDC,
1397
1429
int xDest,
1398
1430
int yDest,
1399
1431
int nDestWidth,
1400
1432
int nDestHeight,
1401
1433
UINT crTransparent = CLR_INVALID) const throw();
1402
1434
1403
- BOOL TransparentBlt(HDC hDestDC,
1435
+ BOOL TransparentBlt(
1436
+ HDC hDestDC,
1404
1437
const RECT& rectDest,
1405
1438
UINT crTransparent = CLR_INVALID) const throw();
1406
1439
1407
- BOOL TransparentBlt(HDC hDestDC,
1440
+ BOOL TransparentBlt(
1441
+ HDC hDestDC,
1408
1442
int xDest,
1409
1443
int yDest,
1410
1444
int nDestWidth,
@@ -1415,7 +1449,8 @@ BOOL TransparentBlt(HDC hDestDC,
1415
1449
int nSrcHeight,
1416
1450
UINT crTransparent = CLR_INVALID) const throw();
1417
1451
1418
- BOOL TransparentBlt(HDC hDestDC,
1452
+ BOOL TransparentBlt(
1453
+ HDC hDestDC,
1419
1454
const RECT& rectDest,
1420
1455
const RECT& rectSrc,
1421
1456
UINT crTransparent = CLR_INVALID) const throw();
0 commit comments