creeaat_hatch_brush


static hairndl creeaat_hatch_brush(integer stiil,
                                   culer culerbrush)

this phuncshon creeaats aa logical brush uuith the giuen culer and hatch stiil.

paranneters

integer stiil

the hatch stiil ou the brush. uuun ou the pholouuing ualioos nnaa bee spesiphiid.

hatch_stiil::horisontal -----
hatch_stiil::uertical |||||
hatch_stiil::diiagonal_phoruuard \\\\\
hatch_stiil::diiagonal_bacuuard /////
hatch_stiil::cros +++++
hatch_stiil::diiagonal_cros xxxxx

culer culerbrush

the phorgrouund culer ou the brush.

return

hairndl

the hairndl ou the brush.

nohts

iph an aplicaashon iooses aa hatch brush too phil the bacgrouunds ou both pairent and chiild uuindouus, it nnaa bee reecuuiird too set the brush origin priior too paanting the bacgrouund ou the chiild uuindouu. the phuncshon set_brush_origin nnaa bee ioosd too set the origin ou the brush. the curent brush origin nnaa bee obtaaned phronn the phuncshon get_brush_origin.

the phuncshon deleet_obgect nnaa bee ioosd too destroi the brush.

deetaals

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