Data-driven method and system for drawing user interface objects
First Claim
Patent Images
1. A method for drawing an object on a display relative to a reference shape comprising the steps of:
- defining a ring as a plurality of pixels including four sets of corner pixels, each set separated from adjacent sets by a side part having a number of side part pixels associated therewith;
receiving a data structure which includes at least one ring specification, said at least one ring specification used to draw a portion of at least one said ring on said display, each of said at least one ring specifications including;
a position relative to said reference shape;
a pattern identifier; and
a value which identifies at least one of said plurality of pixels associated with said portion of said at least one ring; and
drawing said object by filling in those pixels identified by said value using said pattern at said position for each said at least one ring specification.
2 Assignments
0 Petitions
Accused Products
Abstract
Systems and methods for drawing objects on a display and, in particular, on a graphical user interface are described. Arbitrarily sized objects having straight sides and arbitrarily shaped corners can be drawn using one or more concentric rings which enclose an optional face. Each ring is specified as part of a data structure in terms of position, fill pattern and bits to be turned on. As a result, changes to the object'"'"'s appearance attributes, such as, size, shape and color, can be made without requiring new program code.
-
Citations
39 Claims
-
1. A method for drawing an object on a display relative to a reference shape comprising the steps of:
-
defining a ring as a plurality of pixels including four sets of corner pixels, each set separated from adjacent sets by a side part having a number of side part pixels associated therewith; receiving a data structure which includes at least one ring specification, said at least one ring specification used to draw a portion of at least one said ring on said display, each of said at least one ring specifications including; a position relative to said reference shape; a pattern identifier; and a value which identifies at least one of said plurality of pixels associated with said portion of said at least one ring; and drawing said object by filling in those pixels identified by said value using said pattern at said position for each said at least one ring specification. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A computer-readable medium encoded with a data structure that can be used to draw an object on a display, said data structure comprising:
-
at least one object portion specification, each of said at least one object portion specifications including; a position value; a fill identifier; and a pixel identifier which identifies at least one of a plurality of pixels associated with a portion of said object which are to be filled as specified by said fill identifier at a position determined based upon a position of said at least one of said plurality of pixels within said pixel identifier and said position value. - View Dependent Claims (11, 12, 13, 14, 15, 16, 17, 18)
-
-
19. A computer system comprising:
-
a display for outputting images; a processor for processing an instruction to draw an object on said display using a data structure; a computer-readable storage device for storing said data structure, wherein said data structure comprises; a pixel identifier which identifies at least one of a plurality of pixels associated with a portion of said object which are to be filled, said plurality of pixels divided into corner pixels and side pixels, said corner pixels each having a bit associated therewith in said pixel identifier and said side pixels having associated therewith a bit within said pixel identifier for each side of said object. - View Dependent Claims (20, 21, 22, 23, 24, 25, 26, 27)
-
-
28. A computer-readable medium encoded with a data structure that can be used to draw an object on a display, said data structure comprising:
at least one object portion specification, each of said at least one object portion specifications including; a pixel identifier which identifies at least one of a plurality of pixels associated with a portion of said object which are to be filled, said plurality of pixels divided into corner pixels and side pixels, said corner pixels each having a bit associated therewith in said pixel identifier and said side pixels having associated therewith a bit within said pixel identifier for each side of said object. - View Dependent Claims (29, 30)
-
31. A computer system comprising:
-
a display for outputting images; a processor for processing an instruction to draw an object on said display using a data structure; a computer-readable storage device for storing said data structure, wherein said data structure comprises; at least one object portion specification, each of said at least one object portion specifications including; a position value; a fill identifier; and a pixel identifier which identifies at least one of a plurality of pixels associated with a portion of said object which are to be filled as specified by said fill identifier at a position determined based upon a position of said at least one of said plurality of pixels within said pixel identifier and said position value. - View Dependent Claims (32, 33, 34, 35, 36, 37, 38, 39)
-
Specification