×

Smart responsive behavior for pixel-perfect designs

  • US 10,133,463 B2
  • Filed: 12/23/2014
  • Issued: 11/20/2018
  • Est. Priority Date: 12/23/2014
  • Status: Active Grant
First Claim
Patent Images

1. A computer-implemented method for rendering a document on any size device including executing instructions stored on a non-transitory computer-readable storage medium, the method comprising:

  • during runtime, rendering a document for display on a device having a display, wherein the document includes multiple elements arranged in one or more rows and one or more columns;

    if a size of the display is greater than a threshold size, scaling the document as a whole to fit the size of the display by setting and using a scale ratio to a page width of the document divided by a width of the display; and

    if the size of the display is less than the threshold size, scaling the document by;

    setting the scale ratio to the page width of the document divided by a maximum column width;

    stacking the columns containing elements into a single column,removing empty space from the single column,scaling the elements in the stacked single column,wrapping text without scaling the text for an element that only contains text,maintaining absolute positioning of the elements within the single column, andmaintaining a ratio between the elements within a row using the scale ratio.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×