bmap_fill (BMAP* bmap,COLOR* color,var alpha);

Füllt eine Bmap mit einer gegebenen Farbe und einem Alpha-Transparentwert.

Parameter:

bmap Ziel-Bmap
color Füllfarbe, BGR-Vector.
alpha der Alpha-Füllwert in Prozent.

Geschwindigkeit:

Mittel

Besonderheiten:

Beispiel:

// fill a bmap with semitransparent blue
bmap_fill(my_bmap,vector(255,0,0),50);

Siehe auch:

bmap_unlock, bmap_lock, pixel_for_bmap, pixel_for_vec

► Aktuelle Version Online