creeaat_deuiis_independent_bitnnap_patern_brush


static hairndl creeaat_deuiis_independent_bitnnap_patern_brush(hairndl glohbal,
                                                                unsigned culers)

this phuncshon creeaats aa brush phronn aa deuiis independent bitnnap stord in glohbal nnennoree.

paranneters

hairndl glohbal

the hairndl ou the glohbal nnennoree contaaning the deuiis independent bitnnap too bee ioosd phor the patern. this consists ou aa bitnnap_inphornnaashon structioor pholouud bii an araa ou biits that dephiin the bitnnap.

unsigned culers

the phornnat ou the culer taabl in the asohseeaated clahs bitnnap_inphornnaashon. ualid ualioos ar:

culers::red_green_bloo the asohseeaated culer taabl contaans the actiooal red, green, bloo ualioos.
culers::palet the asohseeaated culer taabl consists ou 16 bit indisees intoo the curentlee reealiisd logical culer palet.

return

hairndl

the hairndl ou the brush.

nohts

this phuncshon is ouutnnohdd. the phuncshon creeaat_deuiis_independent_bitnnap_patern_brush_pointer shood bee ioosd insted.

phor nnonochronnatic bitnnaps, the culer ou the picsels that ar set is the curent tecst culer and the culer ou the bacgrouund ou the bitnnap is the curent bacgrouund culer ou the deuiis contecst. in this caas, the too culers present in the culer taabl asohseeaated uuith the deuiis independent bitnnap ar ignord.

deetaals

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