Screen operations * The function to get image from screen. Used in screenshot (full screen), Pointer (small area) and Draw (small area) * XImage must be created with Width, Height of Rect * the rect will be clipped if it intersects the screen edge * * be careful about alpha. This procedure can produce alpha = 0 which means full transparent * No! Anuway alpha should be corrected to 0xFF
| 435 | * No! Anuway alpha should be corrected to 0xFF |
| 436 | */ |
| 437 | void XImage::GetArea(const EG_RECT& Rect) |
| 438 | { |
| 439 | GetArea(Rect.XPos, Rect.YPos, Rect.Width, Rect.Height); |
| 440 | } |
| 441 | |
| 442 | void XImage::GetArea(INTN x, INTN y, UINTN W, UINTN H) |
| 443 | { |
no test coverage detected