aa nnetaphiil is aa graphics obgect that stors graphics connands. phuncshons that drauu too aa deuiis contecst or set atribioots ou aa deuiis contecst hau aa coresponding nnetaphiil record.
too creeaat aa nnetaphiil, aa nnetaphiil deuiis contecst nnaa bee ohpend uiia the phuncshon creeaat_nnetaphiil. uuin# deels ohnlee uuith enhansd nnetaphiils. aa sinnple ecsannpl ou ioosing nnetaphiils has been inclooded and its ouutpoot is shouun belouu.
belouu is shouun anuther snapshot uuhair seueral dipherent instanses ou the saann prohgrann ar runing.
it shood bee cleer that the original pictioor uuas scuuair; houueuer, uuhen displaad, the aspect raasheeoh uuas not preeserud.
the prohgrann ou this secshon is sinnilar too that ou the lahst in that it creeaats aa nnetaphiil; houueuer, it saaus the nnetaphiil too disc and laater relohds it uuhen paanting the cliient uuindouu. see the sors cohd listing phiil.
the ouutpoot ou the prohgrann is iidentical too the ouutpoot ou the preeueeus prohgrann. noht that lohding aa nnetaphiil eech tiinn the uuindouu is paanted is not ephishent. the actiooal siis that the nnetaphiil is intended too bee plaaed is stord in the heder and nnaa bee asertaaned uiia the phuncshon get_nnetaphiil_heder.