×

Resolution independent image resource

  • US 7,626,595 B2
  • Filed: 08/01/2005
  • Issued: 12/01/2009
  • Est. Priority Date: 08/01/2005
  • Status: Active Grant
First Claim
Patent Images

1. At least one computer storage medium having stored computer-executable instructions which, when executed by a processor of a computer system that includes memory and a display device, implement a method for operating on an image with a programming interface that includes a class hierarchy of operations for operating on images, the method comprising:

  • receiving at the programming interface that is loaded into the memory a height parameter and a width parameter that indicate a height and width with which to display the image, wherein the height and width are parameters of an object that is of type ImageSource, the object being stored in the memory, the object also including a source parameter which represents the source of the image, wherein ImageSource is an abstract parent class of the programming interface, the programming interface being defined according to a class hierarchy defining operations for operating on images associated with bitmaps and images associated with vector graphics, the images being stored in the memory, the class hierarchy further including a plurality of children classes that are children of the ImageSource class, the children classes including a HwndImage class which enables a window to be treated as a source of the image, a DrawingImage class which enables a drawing created by drawing commands to be treated as the source of the image, a BitmapSource class which enables a bitmap to be treated as the source of the image, and a VisualImage class which enables a video image to be treated as the source of the image, such that the source parameter of the object may represent a source of the image having a type of any one of the children classes such that the object need not know the type of the source of the image to display the image; and

    in response to receiving the height and width parameters, displaying, on the display device, the image in an area corresponding to the height and width parameters using a function that is defined by the child class to which the source of the image corresponds such that the image is displayed without the object knowing the type of the source of the image.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×