drauu_sector


static uoid drauu_sector(hairndl deuiis,
                         integer lepht,
                         integer top,
                         integer riit,
                         integer botonn,
                         integer start_ecs,
                         integer start_uuii,
                         integer end_ecs,
                         integer end_uuii)

this phuncshon drauus an eeliptic sector.

paranneters

hairndl deuiis

the hairndl ou the deuiis contecst.

integer lepht

the ecs-cohordinat ou the uper-lepht corner ou the rectangl.

integer top

the uuii-cohordinat ou the uper-lepht corner ou the rectangl.

integer riit

the ecs-cohordinat ou the louuer-riit corner ou the rectangl.

integer botonn

the uuii-cohordinat ou the louuer-riit corner ou the rectangl.

integer start_ecs

the ecs-cohordinat ou the phurst raadeeal point.

integer start_uuii

the uuii-cohordinat ou the phurst raadeeal point.

integer end_ecs

the ecs-cohordinat ou the second raadeeal point.

integer end_uuii

the uuii-cohordinat ou the second raadeeal point.

nohts

the sector is ouutliind ioosing the curent pen and phild ioosing the curent brush.

the curent posishon is neether ioosd nor updaated.

ecsannpl

the pholouuing corl drauus aa sector ou an eelips.

drauu_sector(deuiis,
            50,
            50,
            250,
            150,
            150,
            50,
            250,
            100);

the uuindouu belouu incloods the sector uuith construction liins.

the green rectangl is the bouunding rectangl ou the eelips. the senter ou the eelips is (150,100). aa liin drauun phronn the senter too the point (150,50) deternnins the starting bouundaree ou the sector. aa liin drauun phronn the senter too the point (250,100) deternnins the ending bouundaree ou the sector.

deetaals

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