Patent ID: 7876336
Filing Date: 2011-01-25
Classification: G06T

Abstract:
1. In a computer system having a microprocessor, a computer implemented method for generating a scaled representation of a vector-based graphics drawing, the method comprising: receiving a selection of a vector-based graphics drawing, wherein the vector-based graphics drawing has a graphics style object defined by a plurality of style parameters applied to at least one element of vector geometry of the vector-base graphics drawing; receiving a request to scale the vector-based graphics drawing by a specified scaling factor; scaling vector geometry of the vector-based graphics drawing, including the at least one element of vector geometry with the applied graphics style object; determining which of the plurality of style parameters of the graphics style object are scale-dependent; determining if graphics style scaling is turned on or off; if the graphics style scaling is turned on, scaling only the scale-dependent graphics style object parameters, based on the scaling factor, wherein the scaling includes determining if each of the scale-dependent graphics style object parameters includes a scaling algorithm and if the algorithm is found, the scaling of the each of the scale-dependent graphics style object parameters is done according to the scaling algorithm, wherein if the algorithm is not found, the scaling of the each of the scale-dependent graphics style object parameters is done proportionately; if the graphics style scaling is turned off, scaling the plurality of style parameters of the graphics style object proportionately; and applying, by the microprocessor, the graphics style object to the at least one element of vector geometry.