克里金法中怎么填充其他区域(克里金插值法介绍)

克里金法中怎么填充其他区域(克里金插值法介绍)

首页休闲益智填充领域更新时间:2025-04-09

克里金法中怎么填充其他区域,克里金插值法介绍

// 产生一个小区域

CPoint pptsLine = new CPoint [4] ;

pptsLine [0].x = 10 ;

pptsLine [0].y = 10 ;

pptsLine [1].x = 100 ;

pptsLine [1].y = 10 ;

pptsLine [2].x = 100 ;

pptsLine [2].y = 100 ;

pptsLine [3].x = 50 ;

pptsLine [3].y = 170 ;

CRgn rgnFill ;

rgnFill.CreatePolygonRgn( pptsLine , 4 , ALTERNATE ) ;

CBrush brush ( RGB(0 ,255 , 0 ) ) ; // rgb颜色自选

pDC->FillRgn ( &rgnFill , &brush ) ;

if ( pptsLine )

deltet[] pptsLine ;

2004年05月13日

大家还看了
也许喜欢
更多游戏

Copyright © 2024 妖气游戏网 www.17u1u.com All Rights Reserved