Method and apparatus to scale graphical user interfaces
    1.
    发明授权
    Method and apparatus to scale graphical user interfaces 有权
    扩展图形用户界面的方法和设备

    公开(公告)号:US07675529B1

    公开(公告)日:2010-03-09

    申请号:US10374248

    申请日:2003-02-25

    CPC classification number: G06F17/211 G09G2340/0407 G09G2340/045

    Abstract: Methods and apparatuses to scale components of user interfaces. To scale a view component according to an arbitrary transformation, which may be represented by a scaling factor, a coordinate transformation, or other parameters, at least one embodiment of the present invention determines a new transformation for the view component so that, when the new transformation is used, the boundaries of the view components are aligned with pixel lines (and/or, other conditions are satisfied). In one aspect of the invention, a method to scale a view component of a Graphical User Interface includes: adjusting first layout parameters (e.g., coordinates of an origin, a width, a height, a coordinate of a boundary, and others), which correspond to a first transformation to scale the view component, to generate second layout parameters for the view component; and computing a second transformation from the second layout parameters to scale the view component. In one example according to this aspect, the view component is scaled using the second transformation; and a Current Transformation Matrix (CTM) is set according to the second transformation. According to the second layout parameters, the boundaries of the view component are aligned with pixel lines.

    Abstract translation: 缩放用户界面组件的方法和设备。 为了根据任意变换来缩放视图分量,该变换可由比例因子,坐标变换或其他参数表示,本发明的至少一个实施例确定视图分量的新变换,使得当新的 使用变换,视图分量的边界与像素线对齐(和/或满足其他条件)。 在本发明的一个方面,一种缩放图形用户界面的视图组件的方法包括:调整第一布局参数(例如,起点的坐标,宽度,高度,边界的坐标等),其中 对应于缩放视图组件的第一变换,以生成视图组件的第二布局参数; 以及从所述第二布局参数计算第二变换以缩放所述视图组件。 在根据该方面的一个示例中,使用第二变换来缩放视图分量; 并根据第二次变换设置电流变换矩阵(CTM)。 根据第二布局参数,视图分量的边界与像素线对齐。

Patent Agency Ranking