mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-10 04:57:26 +01:00
graphics: Document bug fix: DrawImage
This commit is contained in:
parent
ae378dc7f5
commit
2b1dc69497
4
image.go
4
image.go
@ -177,7 +177,9 @@ func (i *Image) Fill(clr color.Color) error {
|
|||||||
// ColorM: Identity matrix (that changes no colors)
|
// ColorM: Identity matrix (that changes no colors)
|
||||||
// CompositeMode: CompositeModeSourceOver (regular alpha blending)
|
// CompositeMode: CompositeModeSourceOver (regular alpha blending)
|
||||||
//
|
//
|
||||||
// Note that this function returns immediately and actual drawing is done lazily.
|
// For drawing, the pixels of the argument image at the time of this call is adopted.
|
||||||
|
// Even if the argument image is mutated after this call,
|
||||||
|
// the drawing result is never affected.
|
||||||
//
|
//
|
||||||
// This function is concurrent-safe.
|
// This function is concurrent-safe.
|
||||||
func (i *Image) DrawImage(image *Image, options *DrawImageOptions) error {
|
func (i *Image) DrawImage(image *Image, options *DrawImageOptions) error {
|
||||||
|
Loading…
Reference in New Issue
Block a user