Method and device used for generating special-shaped window

A window and special-shaped technology, applied in the computer field, can solve the problems of limited representation of special-shaped windows, limited number of bitmaps, low flexibility, etc., to enrich the appearance and interactive form, reduce CPU usage, and reduce data conversion. effect of time

Active Publication Date: 2016-02-03
NETEASE HANGZHOU NETWORK
View PDF2 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] SetLayeredWindowAttributes is suitable for creating a special-shaped window with a relatively simple appearance and no gradient effect. It has the following disadvantages: when it is necessary to generate an irregular-shaped special-shaped window, there must be a color for identifying the color (indicating that the area where the color is located in the special-shaped window is changed to fully transparent), so the color performance of the special-shaped window is limited; the pixel points of the special-shaped window can only have three alpha values ​​at most, and the gradient effect of transparency (such as shadow) cannot be realized, which leads to the limited expression of the special-shaped window; when it is necessary to output extremely complex shapes When using a window (such as directly outputting text), the edge aliasing is very obvious, and the performance is poor
However, this method has the following disadvantages: the number of acquired bitmaps is limited, and the interaction form is single, which is only suitable for desktop applications with a relatively single interface and low visual and interactive requirements, such as the traditional player panel mentioned above, antivirus Software icons, etc.; bitmaps cannot be generated based on real-time data, such as graphs, histograms, pie charts and other statistical types of pictures; the appearance of windows can only be controlled by local programs, which is inconvenient for maintenance and program development, and has low flexibility
However, this method of obtaining bitmaps also has many disadvantages: the drawing process is very complicated and the cost is high; the program drawing model cannot be added or changed after the application is generated, unless the application is upgraded; there is a lack of mature open source data visualization solutions , the technical difficulty of development and maintenance is greater; the window appearance can only be controlled by local programs, which is inconvenient for maintenance and program development, and has low flexibility

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device used for generating special-shaped window
  • Method and device used for generating special-shaped window
  • Method and device used for generating special-shaped window

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0023] The principle and spirit of the present invention will be described below with reference to several exemplary embodiments. It should be understood that these embodiments are given only to enable those skilled in the art to better understand and implement the present invention, rather than to limit the scope of the present invention in any way. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.

[0024] Those skilled in the art know that the embodiments of the present invention can be implemented as a system, device, device, method or computer program product. Therefore, the present disclosure may be embodied in the form of complete hardware, complete software (including firmware, resident software, microcode, etc.), or a combination of hardware and software.

[0025] According to an embodiment of the present invention, a method and device for genera...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The embodiment of the invention provides a method and device used for generating a special-shaped window. The method includes the steps of packaging and initializing a Chromium embedded type frame, establishing an initial window, establishing an off-screen rendering browser through the Chromium embedded type frame on the basis of the initial window, generating bitmap data by loading page content data through the off-screen rendering browser, converting the bitmap data into an internal storage bitmap, and generating and outputting the special-shaped window through the UpdateLayeredWindow on the basis of the internal storage bitmap.

Description

technical field [0001] Embodiments of the present invention relate to the field of computers, and more specifically, embodiments of the present invention relate to methods and devices for generating special-shaped windows. Background technique [0002] This section is intended to provide a background or context for implementations of the invention that are recited in the claims. The descriptions herein are not admitted to be prior art by inclusion in this section. [0003] The operating system of the currently used electronic equipment is usually installed with a special-shaped window application, which can be customized by the user such as the shape, color, transparency and other properties of the window, such as media player, clock, anti-virus software icon and so on. Such special-shaped window applications are usually based on a layered window (Layered windows) technology to create special-shaped windows. The main features of the layered window technology include: allow...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F9/44
Inventor 严跃杰顾平
Owner NETEASE HANGZHOU NETWORK
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products