Method and apparatus to scale graphical user interfaces
First Claim
1. A method to scale a view component of a Graphical User Interface on a data processing system, the method comprising:
- receiving a first transformation in memory, the first transformation representing a first mathematical expression for a coordinate transformation to scale the view component having layout parameters with values from an original display resolution to a different display resolution, wherein the view component is operative for controlling the Graphical User Interface by a user;
determining first values of the layout parameters for the view component by applying the coordinate transformation to values of the layout parameters for the original display resolution according to the first transformation to produce the first values of the layout parameters;
adjusting the first values of the layout parameters to generate second values of the layout parameters for the view component;
computing a second transformation from the second values of the layout parameters via a processor coupled to the memory, the second transformation representing a second mathematical expression to apply the coordinate transformation to the view component to scale the view component; and
displaying the scaled view component on a display device coupled to the processor, the display device having the different display resolution for output of the Graphical User Interface.
2 Assignments
0 Petitions
Accused Products
Abstract
Methods and apparatuses to scale components of user interfaces. To scale a view component according to an arbitrary transformation, which may be represented by a scaling factor, a coordinate transformation, or other parameters, at least one embodiment of the present invention determines a new transformation for the view component so that, when the new transformation is used, the boundaries of the view components are aligned with pixel lines (and/or, other conditions are satisfied). In one aspect of the invention, a method to scale a view component of a Graphical User Interface includes: adjusting first layout parameters (e.g., coordinates of an origin, a width, a height, a coordinate of a boundary, and others), which correspond to a first transformation to scale the view component, to generate second layout parameters for the view component; and computing a second transformation from the second layout parameters to scale the view component. In one example according to this aspect, the view component is scaled using the second transformation; and a Current Transformation Matrix (CTM) is set according to the second transformation. According to the second layout parameters, the boundaries of the view component are aligned with pixel lines.
38 Citations
54 Claims
-
1. A method to scale a view component of a Graphical User Interface on a data processing system, the method comprising:
-
receiving a first transformation in memory, the first transformation representing a first mathematical expression for a coordinate transformation to scale the view component having layout parameters with values from an original display resolution to a different display resolution, wherein the view component is operative for controlling the Graphical User Interface by a user; determining first values of the layout parameters for the view component by applying the coordinate transformation to values of the layout parameters for the original display resolution according to the first transformation to produce the first values of the layout parameters; adjusting the first values of the layout parameters to generate second values of the layout parameters for the view component; computing a second transformation from the second values of the layout parameters via a processor coupled to the memory, the second transformation representing a second mathematical expression to apply the coordinate transformation to the view component to scale the view component; and displaying the scaled view component on a display device coupled to the processor, the display device having the different display resolution for output of the Graphical User Interface. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A machine readable storage medium containing executable computer program instructions which when executed by a data processing system cause said system to perform a method to scale a view component of a Graphical User Interface on the data processing system, the method comprising:
-
receiving a first transformation in memory, the first transformation representing a first mathematical expression for a coordinate transformation to scale the view component having layout parameters with values from an original display resolution to a different display resolution, wherein the view component is operative for controlling the Graphical User Interface by a user; determining first values of the layout parameters for the view component by applying the coordinate transformation to the values of the layout parameters for the original display resolution according to the first transformation to produce the first values of the layout parameters; adjusting the first values of the layout parameters to generate second values of the layout parameters for the view component; computing a second transformation from the second values of the layout parameters via a processor coupled to the memory, the second transformation representing a second mathematical expression to apply the coordinate transformation to the view component to scale the view component; and displaying the scaled view component on a display device coupled to the processor, the display device having the different display resolution for output of the Graphical User Interface. - View Dependent Claims (11, 12, 13, 14, 15, 16, 17, 18)
-
-
19. A data processing system to scale a view component of a Graphical User Interface, the data processing system comprising:
-
means for receiving a first transformation in memory, the first transformation representing a first mathematical expression for a coordinate transformation to scale the view component having layout parameters with values from an original display resolution to a different display resolution, wherein the view component is operative for controlling the Graphical User Interface by a user; means for determining first values of the layout parameters for the view component by applying the coordinate transformation to the values of the layout parameters for the original display resolution according to the first transformation to produce the first values of the layout parameters; means for adjusting the first values of the layout parameters to generate second values of the layout parameters for the view component; means for computing a second transformation from the second values of the layout parameters via a processor coupled to the memory, the second transformation representing a second mathematical expression to apply the coordinate transformation to the view component to scale the view component; and means for displaying the scaled view component on a display device coupled to the processor, the display device having the different display resolution for output of the Graphical User Interface. - View Dependent Claims (20, 21, 22, 23, 24, 25, 26, 27)
-
-
28. A method to scale a view component of a Graphical User Interface on a data processing system, the method comprising:
-
adjusting first values of layout parameters to generate second values of the layout parameters for the view component, the first values of the layout parameters corresponding to a first transformation in memory for a coordinate transformation to scale the view component from an original display resolution to a different display resolution, the first transformation representing a first mathematical expression for the coordinate transformation, the first values of the layout parameter produced by applying the coordinate transformation to values of the layout parameters for the original display resolution according to the first transformation, wherein the view component is operative for controlling the Graphical User Interface by a user; computing a second transformation from the second values of the layout parameters via a processor coupled to the memory, the second transformation representing a second mathematical expression for the coordinate transformation to apply the coordinate transformation to the view component to scale the view component; and displaying the scaled view component on a display device coupled to the processor, the display device having the different display resolution for output of the Graphical User Interface. - View Dependent Claims (29, 30, 31, 32, 33, 34, 35, 36)
-
-
37. A machine readable storage medium containing executable computer program instructions which when executed by a data processing system cause said system to perform a method to scale a view component of a Graphical User Interface on the data processing system, the method comprising:
-
adjusting first values of layout parameters to generate second values of the layout parameters for the view component, the first values of the layout parameters corresponding to a first transformation in memory for a coordinate transformation to scale the view component from an original display resolution to a different display resolution, the first transformation representing a first mathematical expression for the coordinate transformation, the first values of the layout parameter produced by applying the coordinate transformation to values of the layout parameters for the original display resolution according to the first transformation, wherein the view component is operative for controlling the Graphical User Interface by a user; computing a second transformation from the second values of the layout parameters via a processor coupled to the memory, the second transformation representing a second mathematical expression to apply the coordinate transformation to the view component to scale the view component; and displaying the scaled view component on a display device coupled to the processor, the display device having the different resolution for output of the Graphical User Interface. - View Dependent Claims (38, 39, 40, 41, 42, 43, 44, 45)
-
-
46. A data processing system to scale a view component of a Graphical User Interface, the data processing system comprising:
-
memory storing first values of layout parameters, the first values of the layout parameters corresponding to a first transformation for a coordinate transformation to scale the view component from an original display resolution to a different display resolution, the first transformation representing a first mathematical expression, the first values of the layout parameter produced by applying the coordinate transformation to values of the layout parameters for the original display resolution according to the first transformation, wherein the view component is operative for controlling the Graphical User Interface by a user; a processor coupled to the memory, the processor adjusting the first values of the layout parameters to generate second values of the layout parameters for the view component, the processor computing a second transformation from the second values of the layout parameters, the second transformation representing a second mathematical expression to apply the coordinate transformation to the view component to scale the view component for output of the Graphical User Interface on a display device having the different display resolution. - View Dependent Claims (47, 48, 49, 50, 51, 52, 53, 54)
-
Specification