Changeset 530 for trunk/Packages/CevoComponents/ScreenTools.pas
- Timestamp:
- Feb 24, 2024, 8:04:26 PM (9 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Packages/CevoComponents/ScreenTools.pas
r522 r530 569 569 procedure Dump(Dst: TBitmap; HGr: TGraphicSet; xDst, yDst, Width, Height, xGr, yGr: Integer); 570 570 begin 571 BitBltCanvas(Dst.Canvas, xDst, yDst, Width, Height, 572 HGr.Data.Canvas, xGr, yGr); 571 BitBltBitmap(Dst, xDst, yDst, Width, Height, HGr.Data, xGr, yGr); 573 572 end; 574 573 … … 1116 1115 end; 1117 1116 end; 1118 BitBlt Canvas(HGrSystem.Mask.Canvas, CityMark2.Left, CityMark2.Top, CityMark1.Width, CityMark1.Width,1119 HGrSystem.Mask.Canvas, CityMark1.Left, CityMark1.Top);1117 BitBltBitmap(HGrSystem.Mask, CityMark2.Left, CityMark2.Top, CityMark1.Width, 1118 CityMark1.Width, HGrSystem.Mask, CityMark1.Left, CityMark1.Top); 1120 1119 end; 1121 1120 … … 1216 1215 procedure Corner(Canvas: TCanvas; X, Y, Kind: Integer; T: TTexture); 1217 1216 begin 1218 { BitBltCanvas(Canvas, x,y,8,8,T.HGr.Mask.Canvas,1219 T.xGr +29+Kind*9,T.yGr+89,SRCAND);1220 BitBltCanvas(Canvas, X,Y,8,8,T.HGr.Data.Canvas,1221 T.xGr +29+Kind*9,T.yGr+89,SRCPAINT); }1217 { BitBltCanvas(Canvas, x, y, 8, 8, T.HGr.Mask.Canvas, 1218 T.xGr + 29 + Kind * 9, T.yGr + 89, SRCAND); 1219 BitBltCanvas(Canvas, X, Y, 8, 8, T.HGr.Data.Canvas, 1220 T.xGr + 29 + Kind * 9, T.yGr + 89, SRCPAINT); } 1222 1221 end; 1223 1222 … … 1454 1453 for I := 0 to Val mod 10 - 1 do 1455 1454 begin 1456 BitBlt Canvas(Dst.Canvas, xIcon + 4 + I * (14 * ld div sd), yIcon + 2 + 1, 14,1457 14, HGrSystem.Mask .Canvas, 67 + Kind mod 8 * 15,1455 BitBltBitmap(Dst, xIcon + 4 + I * (14 * ld div sd), yIcon + 2 + 1, 14, 1456 14, HGrSystem.Mask, 67 + Kind mod 8 * 15, 1458 1457 70 + Kind div 8 * 15, SRCAND); 1459 1458 Sprite(Dst, HGrSystem, xIcon + 3 + I * (14 * ld div sd), yIcon + 2, … … 1462 1461 for I := 0 to Val div 10 - 1 do 1463 1462 begin 1464 BitBlt Canvas(Dst.Canvas, xIcon + 4 + (Val mod 10) *1463 BitBltBitmap(Dst, xIcon + 4 + (Val mod 10) * 1465 1464 (14 * ld div sd) + I * (14 * ld div sd), yIcon + 3, 14, 14, 1466 HGrSystem.Mask .Canvas, 67 + 7 mod 8 * 15,1465 HGrSystem.Mask, 67 + 7 mod 8 * 15, 1467 1466 70 + 7 div 8 * 15, SRCAND); 1468 1467 Sprite(Dst, HGrSystem, xIcon + 3 + (Val mod 10) * … … 1487 1486 for I := 0 to Val div 10 - 1 do 1488 1487 begin 1489 BitBlt Canvas(Dst.Canvas, xIcon + 4 + I * (14 * ld div sd), yIcon + 3, 14, 14,1490 HGrSystem.Mask .Canvas, 67 + Kind mod 8 * 15,1488 BitBltBitmap(Dst, xIcon + 4 + I * (14 * ld div sd), yIcon + 3, 14, 14, 1489 HGrSystem.Mask, 67 + Kind mod 8 * 15, 1491 1490 70 + Kind div 8 * 15, SRCAND); 1492 1491 Sprite(Dst, HGrSystem, xIcon + 3 + I * (14 * ld div sd), yIcon + 2, … … 1495 1494 for I := 0 to Val mod 10 - 1 do 1496 1495 begin 1497 BitBlt Canvas(Dst.Canvas, xIcon + 4 + (Val div 10) *1496 BitBltBitmap(Dst, xIcon + 4 + (Val div 10) * 1498 1497 (14 * ld div sd) + I * (10 * ld div sd), yIcon + 7, 10, 10, 1499 HGrSystem.Mask .Canvas, 66 + Kind mod 11 * 11,1498 HGrSystem.Mask, 66 + Kind mod 11 * 11, 1500 1499 115 + Kind div 11 * 11, SRCAND); 1501 1500 Sprite(Dst, HGrSystem, xIcon + 3 + (Val div 10) *
Note:
See TracChangeset
for help on using the changeset viewer.