Resolution independent image resource
First Claim
1. At least one computer-readable medium containing instructions which when executed by a computer, perform actions, comprising:
- receiving at an interface a height parameter and a width parameter that indicate a height and width with which to display an image, wherein the interface is defined according to a class hierarchy defining operations at least capable of operating on images associated with bitmaps and images associated with vector graphics; and
in response thereto, providing at least one output from a function that operates on the height and width parameters to display the image.
2 Assignments
0 Petitions
Accused Products
Abstract
In aspects, a class hierarchy is defined that provides definitions of methods for operating on at least bitmaps and vector graphics. A software developer may instantiate an object according to a class definition of the class hierarchy and assign it to any variable (e.g., a control'"'"'s property) having a type of an ancestor class of the class. The object may be associated with an image internally represented as bitmap, vector graphics, or some other representation. The control does not need to be aware of how the image is represented. Rather, to draw an image associated with the object, a draw method associated with the object may be called.
31 Citations
19 Claims
-
1. At least one computer-readable medium containing instructions which when executed by a computer, perform actions, comprising:
-
receiving at an interface a height parameter and a width parameter that indicate a height and width with which to display an image, wherein the interface is defined according to a class hierarchy defining operations at least capable of operating on images associated with bitmaps and images associated with vector graphics; and
in response thereto, providing at least one output from a function that operates on the height and width parameters to display the image. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. In a computing environment, a method, comprising:
-
instantiating an object that is defined according to classes of a class hierarchy, wherein the classes provide definitions of methods for operating on at least bitmaps and vector graphics;
calling a drawing method of the object and providing a height and with; and
drawing an image associated with the object via the drawing method in accordance with the height and width. - View Dependent Claims (10, 11, 12, 13, 14)
-
-
15. In a computing environment, a graphics framework comprising:
-
a first component arranged to expose an interface arranged to receive requests related to images, wherein the interface is defined via a class hierarchy, wherein the class hierarchy provides definitions of methods operable on at least bitmaps and vector graphics; and
A second component arranged to fulfill the requests at least in part via objects instantiated in accordance with the class hierarchy. - View Dependent Claims (16, 17, 18, 19)
-
Specification