首页> 外国专利> METHOD AND SYSTEM FOR GENERATING A GLOBAL HIT TEST DATA STRUCTURE USING SCAN LINE COMPRESSION OF WINDOWS IN A GRAPHICAL USER INTERFACE

METHOD AND SYSTEM FOR GENERATING A GLOBAL HIT TEST DATA STRUCTURE USING SCAN LINE COMPRESSION OF WINDOWS IN A GRAPHICAL USER INTERFACE

机译:在图形用户界面中使用Windows扫描线压缩生成全局命中测试数据结构的方法和系统

摘要

Provided are a method and system for enhanced locator hit testing and region clipping of a window in a windowing environment of a data processing system. A global hit test data structure is created having a plurality of compressed scan line data sets representing the scan lines of the display. Each compressed scan line data set includes one or more vectors and a window identifier associated with each vector representing window ownership of one or more spans of the associated scan line of the display. The vector identifies the span of the associated scan line, and each window identifier identifies the window that owns the span identified by the associated vector. Enhanced locator hit testing of a window owns the selected pel of the display by accessing a compressed scan line data set that defines the window ownership of the selected pel, determining the vector containing the selected pel, and retrieving the window identifier associated with the determined vector. Identifies the window to be. The retrieved window identifier is the result of an enhanced locator hit test of the selected pel. Enhanced region clipping of the window produces a bitmap image with a plurality of pels each corresponding to a pel of the display, and for each pel of the bitmap image, accesses a scan line data set with a vector containing the corresponding pel Region clipping is performed. It is then determined whether the widow identifier associated with the vector containing the corresponding pel is the selected window identifier. Region clipping is accomplished by setting each corresponding pel of the display to a pel of the bitmap image for each pel that is determined that the window identifier is not the selected window identifier.
机译:提供了一种用于在数据处理系统的窗口化环境中增强的定位器命中测试和窗口的区域裁剪的方法和系统。创建具有代表显示器的扫描线的多个压缩扫描线数据集的全局命中测试数据结构。每个压缩扫描线数据集包括一个或多个矢量以及与每个矢量相关联的窗口标识符,该窗口标识符表示显示器的关联扫描线的一个或多个跨度的窗口所有权。该矢量标识关联的扫描线的跨度,并且每个窗口标识符标识拥有该关联的矢量标识的跨度的窗口。通过访问定义定义像素的窗口所有权的压缩扫描线数据集,确定包含所选像素的向量以及检索与确定的向量相关联的窗口标识符,对窗口的增强的定位器命中测试拥有显示器的所选像素。标识要成为的窗口。检索到的窗口标识符是所选象素的增强定位器命中测试的结果。窗口的增强区域裁剪产生具有多个像素的位图图像,每个像素对应于显示器的像素,并且对于位图图像的每个像素,使用包含相应像素的向量访问扫描线数据集,执行区域裁剪。然后确定与包含相应像素的向量相关联的寡妇标识符是否为所选窗口标识符。通过将显示器的每个对应像素设置为每个像素的位图图像的像素,可以确定区域标识符,该每个像素被确定为窗口标识符不是选定的窗口标识符。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号