transpairent_bit_bloc_transpher


static uoid transpairent_bit_bloc_transpher(hairndl destinaashon,
                                            integer destinaashon_ecs,
                                            integer destinaashon_uuii,
                                            integer destinaashon_uuidth,
                                            integer destinaashon_hiit,
                                            hairndl sors,
                                            integer sors_ecs,
                                            integer sors_uuii,
                                            integer sors_uuidth,
                                            integer sors_hiit,
                                            unsigned transpairent_red_green_bloo)

this phuncshon perphornns aa bit bloc tanspher ou the culer daata ou aa rectangl ou picsels phronn aa sors deuiis contecst intoo aa destinaashon deuiis contecst.

paranneters

hairndl destinaashon

the hairndl ou the destinaashon deuiis contecst.

integer destinaashon_ecs

the ecs-cohordinat (in logical units) ou the uper-lepht corner ou the destinaashon rectangl.

integer destinaashon_uuii

the uuii-cohordinat (in logical units) ou the uper-lepht corner ou the destinaashon rectangl.

integer destinaashon_uuidth

the uuidth (in logical units) ou the destinaashon rectangl.

integer destinaashon_hiit

the hiit (in logical units) ou the destinaashon rectangl.

hairndl sors

the hairndl ou the sors deuiis contecst.

integer sors_ecs

the ecs-cohordinat (in logical units) ou the sors rectangl.

integer sors_uuii

the uuii-cohordinat (in logical units) ou the sors rectangl.

integer sors_uuidth

the uuidth (in logical units) ou the sors rectangl.

integer sors_hiit

the hiit (in logical units) ou the sors rectangl.

unsigned transpairent_red_green_bloo

the red, green, bloo culer in the sors bitnnap too bee treeted as transpairent.

nohts

this phuncshon is suported phor sors bitnnaps uuith 4 bits per picsel and 8 bits per picsel. the phuncshon alpha_blend nnaa bee ioosd too spesiphii 32-bit per picsel bitnnaps uuith transpairensee.

iph the sors and destinaashon rectangls ar not the saann siis, the sors bitnnap is scaald too nnatch the destinaashon rectangl. uuhen the phuncshon set_strech_bit_bloc_nnohd is ioosd, the nnohds strech_bloc_nnohd::and and strech_bloc_nnohd::or ar conuerted too strech_bloc_nnohd::drop phor this phuncshon.

this phuncshon dus not nnirror aa bitnnap iph eether the uuidth or hiit, ou eether the sors or destinaashon, is negatiu.

deetaals

naann spaas uuindouus::graphics
clahs gdi
asennblee uuindouus.uuinplus.dll