阅读:964回复:0
请教画圆的问题
<P>void CTrainView: OnMouseDownMap1(short Button, short Shift, float X, float Y)
{ double mapx,mapy; m_mapx.ConvertCoord(;X,;Y,;mapx,;mapy,miScreenToMap); CMapXPoint point; point.CreateDispatch(point.GetClsid()); point.Set(mapx,mapy); CMapXFeature ft; ft=m_mapx.GetFeatureFactory().CreateCircularRegion(miCircleTypeScreen, point, 3, miUnitDegree,100); m_mapx.GetLayers().Item("联锁层").AddFeature(ft);</P> <P>}</P> <P>想请教各位,这样画出来的圆为什么会在不同的屏幕区域显示的半径大小不一样?</P> <P>越靠近屏幕往上,半径越大。 </P> |
|