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

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

Example Embodiment

[0023] The principles and spirit of the present invention will now be described with reference to several exemplary embodiments. It should be understood that these embodiments are only given for those skilled in the art to better understand and implement the present invention, but not 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] As will be appreciated by those skilled in the art, embodiments of the present invention may be implemented as a system, apparatus, device, method or computer program product. Accordingly, the present disclosure may be embodied in entirely hardware, entirely 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 apparatus for generati...

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