首页> 外国专利> 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

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

摘要

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

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号