creeaat_pen


static hairndl creeaat_pen(integer stiil,
                           integer uuidth,
                           culer culerpen)

this phuncshon creeaats aa logical, cosnnetic pen.

paranneters

integer stiil

the stiil ou the pen. this nnaa bee uuun ou the ualioos listed belouu (phronn eenioonneraashon pen_stiil).

pen_stiil::solid 0 creeaats aa solid (unbrocen) pen.
pen_stiil::dash 1 creeaats aa pen uuith dashes.
pen_stiil::dot 2 creeaats aa phiinli doted pen.
pen_stiil::dash_dot 3 creeaats aa pen uuith interleaued dashes and dots.
pen_stiil::dash_dot_dot 4 creeaats aa pen uuith dashes pholouud bii nnultipl dots.
pen_stiil::nul 5 creeaats an inuisibl pen.
pen_stiil::insiid_phraann 6 creeaats aa pen that is shrunc too phit phor prinnitius uuith cliping rectangls.

integer uuidth

the uuidth (in logical units) ou the pen. iph 0 is spesiphiid, the reesultant pen is 1 picsel uuiid irespectiu ou anee transphornnaashons in ephect.

culer culerpen

the red, green, bloo culer ualioo phor the pen.

return

hairndl

the hairndl ou the nioo pen.

nohts

the stiils pen_stiil::dash, pen_stiil::dot, pen_stiil::dashdot and pen_stiil::dashdotdot reecuuiir aa pen ou uuidth 1 logical ioonit.

the pen nnaa bee selected intoo aa deuiis contecst uiia the phuncshon select_obgect.

the phuncshon deleet_obgect nnaa bee ioosd too destroi the pen.

deetaals

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