US2016179756A1PendingUtilityA1

Dynamic application of a rendering scale factor

47
Assignee: MICROSOFT TECHNOLOGY LICENSING LLCPriority: Dec 22, 2014Filed: Dec 22, 2014Published: Jun 23, 2016
Est. expiryDec 22, 2034(~8.4 yrs left)· nominal 20-yr term from priority
G06F 2203/04806G06F 16/9577G06F 40/106G06F 3/0484G06F 3/0481G06F 40/151G06F 17/212G06F 17/2264
47
PatentIndex Score
0
Cited by
0
References
0
Claims

Abstract

Technologies are described herein for providing dynamic application of a rendering scale factor. In some configurations, when a command for scaling a document is received, the technologies described herein selectively apply a rendering scale factor to select elements based on contextual information related to the elements and/or other elements of a document. A computing device may render a document having an element, such as an image, and other elements, such as text. Upon receiving a command to apply a rendering scale factor to the document, techniques herein determine contextual information related to the image. Based on the contextual data, the image is scaled based on the rendering scale factor, a weighted rendering scale factor or kept at its original size. By selectively applying the rendering scale factor to certain elements, the layout of the document may be preserved even when a user zooms into or out of the document.

Claims

exact text as granted — not AI-modified
What is claimed is: 
     
         1 . A computer-implemented method, comprising:
 rendering, at a computing device, a document including an image;   receiving a command to apply a rendering scale factor to the document;   determining contextual information associated with the image;   determining if the rendering scale factor is to be applied to the image based on the contextual information associated with the image; and   rendering the document based on the rendering scale factor, wherein rendering the document includes the application of the rendering scale factor to the image based on the contextual information associated with the image.   
     
     
         2 . The computer-implemented method of  claim 1 , further comprising:
 determining contextual information associated with text of the document;   determining if the contextual information associated with the image is contextually aligned with the contextual information associated with the text of the document; and   applying the rendering scale factor to the image if the contextual information associated with the image is contextually aligned with the contextual information associated with the text of the document.   
     
     
         3 . The computer-implemented method of  claim 1 , further comprising:
 determining contextual information associated with text of the document;   determining if the contextual information associated with the image is graphically aligned with the contextual information associated with the text of the document; and   applying the rendering scale factor to the image if the contextual information associated with the image is graphically aligned with the contextual information associated with the text of the document.   
     
     
         4 . The computer-implemented method of  claim 1 , wherein rendering the document comprises determining a weighted value based on the contextual information associated with the image, and wherein the application of the rendering scale factor to the image is further based on the weighted value. 
     
     
         5 . The computer-implemented method of  claim 1 , wherein rendering the document comprises:
 determining contextual information associated with text of the document; and   determining a weighted value based on the contextual information associated with the image and the contextual information associated with text of the document, wherein the application of the rendering scale factor to the image is further based on the weighted value.   
     
     
         6 . The computer-implemented method of  claim 1 , wherein the application of the rendering scale factor to the image based on the contextual information includes not applying the rendering scale factor to the image. 
     
     
         7 . The computer-implemented method of  claim 1 , wherein the document further comprises a second image, and wherein rendering the document comprises:
 determining contextual information associated with the second image; and   applying a weighted rendering scale factor to the second image based on the contextual information associated with the second image.   
     
     
         8 . A computer, comprising:
 a processor; and   a computer-readable storage medium in communication with the processor, the computer-readable storage medium having computer-executable instructions stored thereupon which, when executed by the processor, cause the computer to
 render a document including a plurality of elements, 
 receive a command to apply a rendering scale factor to the document, 
 determine contextual information associated with the image, 
 determine if the rendering scale factor is to be applied to the image based on the contextual information associated with the image, and 
 render the document based on the rendering scale factor, wherein rendering the document includes the application of the rendering scale factor to the image based on the contextual information associated with the image. 
   
     
     
         9 . The computer of  claim 8 , wherein the computer-readable storage medium has further computer-executable instructions stored thereon that cause the computer to:
 determine contextual information associated with text of the document;   determine if the contextual information associated with the image is contextually aligned with the contextual information associated with the text of the document; and   apply the rendering scale factor to the image if the contextual information associated with the image is contextually aligned with the contextual information associated with the text of the document.   
     
     
         10 . The computer of  claim 8 , wherein the computer-readable storage medium has further computer-executable instructions stored thereon that cause the computer to:
 determine contextual information associated with text of the document;   determine if the contextual information associated with the image is graphically aligned with the contextual information associated with the text of the document; and   apply the rendering scale factor to the image if the contextual information associated with the image is graphically aligned with the contextual information associated with the text of the document.   
     
     
         11 . The computer of  claim 8 , wherein rendering the document comprises determining a weighted value based on the contextual information associated with the image, and wherein the application of the rendering scale factor to the image is further based on the weighted value. 
     
     
         12 . The computer of  claim 8 , wherein rendering the document comprises:
 determining contextual information associated with text of the document; and   determining a weighted value based on the contextual information associated with the image and the contextual information associated with text of the document, wherein the application of the rendering scale factor to the image is further based on the weighted value.   
     
     
         13 . The computer of  claim 8 , wherein the application of the rendering scale factor to the image based on the contextual information includes not applying the rendering scale factor to the image. 
     
     
         14 . The computer of  claim 8 , wherein the document further comprises a second image, and wherein rendering the document comprises:
 determining contextual information associated with the second image; and   applying a weighted rendering scale factor to the second image based on the contextual information associated with the second image.   
     
     
         15 . A computer-readable storage medium having computer-executable instructions stored thereupon which, when executed by a computer, cause the computer to:
 render a document including a plurality of elements;   receive a command to apply a rendering scale factor to the document;   determine contextual information associated with the image;   determine if the rendering scale factor is to be applied to the image based on the contextual information associated with the image; and   render the document based on the rendering scale factor, wherein rendering the document includes the application of the rendering scale factor to the image based on the contextual information associated with the image.   
     
     
         16 . The computer-readable storage medium of  claim 15 , wherein the computer-readable storage medium has further computer-executable instructions stored thereon that cause the computer to:
 determine contextual information associated with text of the document;   determine if the contextual information associated with the image is contextually aligned with the contextual information associated with the text of the document; and   apply the rendering scale factor to the image if the contextual information associated with the image is contextually aligned with the contextual information associated with the text of the document.   
     
     
         17 . The computer-readable storage medium of  claim 15 , wherein the computer-readable storage medium has further computer-executable instructions stored thereon that cause the computer to:
 determine contextual information associated with text of the document;   determine if the contextual information associated with the image is graphically aligned with the contextual information associated with the text of the document; and   apply the rendering scale factor to the image if the contextual information associated with the image is graphically aligned with the contextual information associated with the text of the document.   
     
     
         18 . The computer-readable storage medium of  claim 15 , wherein rendering the document comprises determining a weighted value based on the contextual information associated with the image, and wherein the application of the rendering scale factor to the image is further based on the weighted value. 
     
     
         19 . The computer-readable storage medium of  claim 15 , wherein rendering the document comprises:
 determining contextual information associated with text of the document; and   determining a weighted value based on the contextual information associated with the image and the contextual information associated with text of the document, wherein the application of the rendering scale factor to the image is further based on the weighted value.   
     
     
         20 . The computer-readable storage medium of  claim 15 , wherein the application of the rendering scale factor to the image based on the contextual information includes not applying the rendering scale factor to the image.

Cited by (0)

No later patents cite this yet.

References (0)

No backward citations on record.