通过对直线段相对圆的各种位置关系作深入的研究,提出了一种简单而迅速的圆形窗口裁剪算法。
Based on profound study of various position relations between a line segment and a circle, a simple and rapid clipping algorithm for circular window is presented in this paper.
当窗口被其它窗口覆盖或被父窗口裁剪时,在具有WS _ VISIBLE风格位的窗口内的绘图将不会显示。
Any drawing to a window that has the WS_VISIBLE style will not be displayed if the window is covered by other Windows or is clipped by its parent window.
在相关文献提出的基于矩形窗口裁剪的圆形窗口裁剪算法的基础上,通过判断圆形窗口与待裁线段的位置关系,提出一个免解二次方程的圆形窗口裁剪算法。
Through judging the relation of the position between the circle clip window and the line to be clipped, a new line-clipping algorithm is given based on the correlative literatures.
应用推荐