User-defined drawing control realization method and system

A technology for customizing and drawing tools, applied in the computer field, can solve the problems of large resource occupancy, cumbersomeness and low drawing efficiency of controls, and achieve the effect of reducing occupied resources and improving efficiency.

Active Publication Date: 2015-12-02
INSPUR BEIJING ELECTRONICS INFORMATION IND
View PDF3 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The technical problem to be solved in this application is to provide a method and system for implementing a custom drawing control, which solves the need for specialized developers to operate in the prior art, which is cumbersome, and includes all the contents of the basic control, so that the control takes up The problem of large resources and low drawing efficiency

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
  • User-defined drawing control realization method and system
  • User-defined drawing control realization method and system
  • User-defined drawing control realization method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0041] The following will clearly and completely describe the technical solutions in the embodiments of the application with reference to the drawings in the embodiments of the application. Apparently, the described embodiments are only some of the embodiments of the application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the scope of protection of this application.

[0042] This application proposes a method for customizing drawing controls based on the ActionScript scripting language. The notable feature of this application is that a user control can be customized according to the user's needs, and then used in the same way as a basic control, and various drawing controls can be drawn. A kind of graphics that the user wants to draw, here refers to this kind of rectangle or nested rectangle square graphics. Moreover, the memory and cpu resources...

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 application provides a user-defined drawing control realization method. At first, an ActionScript language based basic core control interface is directly called in a control library without the need for secondary rewriting of a drawing control; and then, basic methods and basic attributes of a basic core control are reconfigured and unwanted basic attributes and basic methods are removed. Therefore, the resources occupied by the control are reduced, the drawing control in the method is realized on the basis of the reconfigured basic core control, the resources occupied by the drawing control are reduced, and the control rendering efficiency is improved.

Description

technical field [0001] This application relates to the field of computer technology, in particular to a method and system for realizing a custom drawing control. Background technique [0002] With the development of technology, people pay more and more attention to custom drawing controls. [0003] Existing controls generally adopt the method of secondary development, which requires specialized developers to operate, which is cumbersome and includes all the content of the basic controls, which makes the controls occupy a large amount of resources and have low drawing efficiency. [0004] Therefore, how to simply and effectively customize the design of graphic controls, reduce the resources occupied by the controls, and improve drawing efficiency is a technical problem to be solved by those skilled in the art. Contents of the invention [0005] The technical problem to be solved in this application is to provide a method and system for implementing a custom drawing control...

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/44
Inventor 段国栋
Owner INSPUR BEIJING ELECTRONICS INFORMATION IND
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