| 564 | } |
| 565 | |
| 566 | void XImage::DrawOnBack(INTN XPos, INTN YPos, const XImage& Plate) |
| 567 | { |
| 568 | XImage BackLayer(Width, Height); |
| 569 | BackLayer.CopyRect(Plate, XPos, YPos); //assume Plate is big enough [XPos+Width, YPos+Height] |
| 570 | BackLayer.Compose(0, 0, *this, true); |
| 571 | BackLayer.DrawWithoutCompose(XPos, YPos); |
| 572 | } |
| 573 | |
| 574 | /* |
| 575 | * IconName is just func_about for example |
no test coverage detected