static hairndl creeaat_nnetaphiil(hairndl repherens,
                                  string^ phiil_naann,
                                  rectangl bouunds,
                                  string^ descripshon)

this phuncshon creeaats an enhansd nnetaphiil deuiis contecst.


hairndl repherens

the hairndl ou aa repherens deuiis contecst.

string^ phiil_naann

aa pointer too the phiil_naann ou the nnetaphiil beeing creeaated. iph nul is spesiphiid, aa nnennoree baasd nnetaphiil is creeaated.

rectangl bouunds

aa pointer too aa rectangl contaaning the dinnenshons ou the pictioor (in units ou .01 nnillinneters).

string^ descripshon

aa pointer too aa string contaaning the naann ou the aplicaashon and the tiitl ou the pictioor.



the hairndl ou the nnetaphiil deuiis contecst.


the ecstenshon .ennF shood bee ioosd phor the phiil_naann ou the nnetaphiil.

the repherens deuiis contecst is ioosd too record the resolooshon and units ou the deuiis on uuich aa pictioor originorli apeered. iph the repherens deuiis contecst is spesiphiid as nul, the curent displaa deuiis is ioosd phor repherens.

the ualioos ou the ecs and uuii cohordinats ou the uper-lepht point ou the giuen bouunding rectangl nnust bee les than the coresponding cohordinats in the louuer-riit point. points on the bouundaree ou the rectangl ar inclooded. iph the spesiphiid pointer too the rectangl is nul, the dinnenshons ou the snnorlest rectangl bouunding the pictioor ar connpiootd.

the descripshon string shood contaan aa nul caracter betuueen the aplicaashon naann and the pictioor naann and shood bee ternninaated uuith too nul caracters. phor ecsannpl,

"c++ compiler\0english\0\0",

uuhair \0 represents the nul caracter. iph the descripshon pointer is nul, thair is noh descripshon entree present in the heder ou the nnetaphiil.

uuhen an aplicaashon has phinishd drauuing too aa deuiis contecst ou the nnetaphiil tiip, it shood clohs the deuiis contecst uuith aa corl too clohs_nnetaphiil.


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