欢迎来到天天文库
浏览记录
ID:41393870
大小:53.22 KB
页数:7页
时间:2019-08-24
《delphiAPI设备场景函数》由会员上传分享,免费在线阅读,更多相关内容在工程资料-天天文库。
1、delphiAPI设备场景函数CombineRgncombinesthetwozonesintoanewareaCombineTransformdrivesworldtransformation.ItisequivalenttotwoconversionsinsequenceCreateCompatib1eDCcreatesamemorydevicescenethatisconsistentwiththeparticulardevicesceneCreateDCcreatesdevicescenesforspecializeddev
2、icesCreateEllipticRgncreatesanellipseCreateEllipticRgnlndirectcreatesanellipticalregionthatiscutintoaparticularrectangleCreatelCcreatesaninformationseeneforadedicateddeviceCreatePolygonRgncreatesaregionsurroundedbyaseriesofpointsCreatePolyPolygonRgncreatesregionsthatco
3、nsistofmultiplepolygons.EachpolygonshouldbeclosedCreateRectRgncreatesarectangularareaCreateRectRgnlndirectcreatesarectangularareaCreateRoundRectRgncreatesaroundedrectangleDeleteDCremovesadedicateddevice,scene,orinformationseene,releasingalloftheassociatedwindowresource
4、sDPtoLPconvertsthedotmatrixfromdevicecoordinatestodedicateddevicescenelogicalcoordinatesEqualRgndetermineswhetherthetworegionsareequalExcludeClipRectremovesarectangularareafromtheclippingareaofthededicateddevicescene・CannotdrawinsiderectangleExcludeUpdateRgnremovesther
5、efreshareaofthespecifiedwindowfromthespecialdevicesceneclippingareaExtCreateRegionmodifiestheregionaccordingtotheworldtransformationExtSelectClipRgncombinesthespecifiedregiontothecurrentclippingareaofthedevicesceneFillRgnfillsthespecifiedareawiththespecifiedbrushFrameR
6、gndrawsanoutlinearoundthespecifiedareawiththespecifiedbrushGetBoundsRectgetstheboundingrectangleofthespecifieddevicesceneGetClipBoxgetsthesmallestrectanglethatcompletelycontainstheclippingareaofthespecifieddevicesceneGetClipRgngetsthedeviceseene'scurrentclippingareaGet
7、DCgetsthedevicesceneforthespecifiedwindowGetDCExgetsthedevicesceneforthespecifiedwindow.ThisfunctionprovidesmoreoptionsthanGetDCGetDCOrgExgetsthestartingpointofthespecifieddevicescene(representedbyscreencoordinates)GetDeviceCapsreturnsinformationbasedonthecapabilitieso
8、fthedevicerepresentedbythespecifieddevicesceneGetGraphicsModedetermineswhethertoenableenhancedgraphicsmode(Worldconve
此文档下载收益归作者所有