alphaBlend displays bitmaps that have transparent or semitransparent pixels. bounds is represented in native pixels.
(hdc win.HDC, bounds Rectangle, opacity byte)
| 409 | |
| 410 | // alphaBlend displays bitmaps that have transparent or semitransparent pixels. bounds is represented in native pixels. |
| 411 | func (bmp *Bitmap) alphaBlend(hdc win.HDC, bounds Rectangle, opacity byte) error { |
| 412 | return bmp.alphaBlendPart(hdc, bounds, Rectangle{0, 0, bmp.size.Width, bmp.size.Height}, opacity) |
| 413 | } |
| 414 | |
| 415 | // alphaBlendPart displays bitmaps that have transparent or semitransparent pixels. dst and src are |
| 416 | // represented in native pixels. |
no test coverage detected