Listing 10. The viewport test code.
清单10.viewport测试代码。
Layout with a wide browser viewport.
宽浏览器窗口中的布局。
Layout with a narrow browser viewport.
窄浏览器窗口中的布局。
The other items will center the link in the viewport.
其他条目将在视窗中居中显示该链接。
The viewport size of the Camera when set to Orthographic.
当设置了正交时摄像机的视口大小。
More info on viewport, check out the following documentation.
要想了解更多viewport信息,请查阅以下文档。
That information is essential for SVG to set up the viewport area.
该信息对于SVG设置显示窗口区域是必需的。
First, notice that in the head of the document, I set the viewport.
首先,在文件头部我设置了视区。
Now if we rotate the viewport the background image will remain still.
现在,我们如果旋转视角,背景图像仍会保持静止。
The viewport tag changes the logical view size when displaying a page.
显示页面时视窗标签修改逻辑视图大小。
The Viewport window is the main window that is used to view the level.
视图窗口是用来查看关卡的主要窗口。
The viewport meta tag is not a standard yet, but it is a widely accepted convention.
viewport元标签并不是标准,不过它是个广泛认可的惯例。
By default, the browser USES a viewport, or logical dimension, of 980 pixels wide.
默认地,浏览器使用980像素宽的视见区或逻辑尺寸。
The easiest way to do this is to go to the Views menu and select Viewport Background.
简单的方法是进入视窗菜单,然后选择视窗背景。
You can use a special meta-tag to specify the properties of the Mobile Safari viewport.
您可以使用特殊的meta 标记来指定MobileSafari视窗的属性。
With a bit of design work, you can use Viewport Rectangle to create some unique behaviors.
只需一点设计工作,你就可以用视口矩形创造出一些独特的行为。
The two displays differ in what they show when the site is larger than the iPhone viewport.
当站点比 iPhone 视窗大时,这两个显示界面在显示内容时会有所不同。
In the top viewport, create a Target Direct light that lights the cloud tunnel from the side.
在顶视图中,创建一个目标平行灯,从侧面照亮云层隧道。
To get that to work, the graphics environment needs to know the start and end coordinates of the viewport.
要让这成为可能,这个图形环境就需要知道viewport的起点和终点。
You don't want ThickBox to cover the entire window, let alone extend beyond the edges of the viewport.
您不想让ThickBox覆盖整个窗口,更不想让它延伸到视区以外。
The GMap2 class draws the map and responds appropriately to scrolling and zooming events in the viewport.
GMap2类可以绘制地图并负责视图端口中的滚动和缩放事件。
Now the constructor takes four additional parameters, which are the starting and ending points of the viewport.
现在这个构造函数可以利用另外4个参数了,它们分别是viewport的起点和终点。
Since our Web page layout is fluid, a user can resize the browser viewport to create a more useful presentation.
因为我们的Web页面布局是流式的,用户可以改变浏览器窗口的大小来形成更合适的显示方式。
A viewport is an artificial coordinate system that is translated into the physical coordinate system of the image.
viewport是一个人造的坐标系统,可以转换成图像的物理坐标系统。
The tx and ty functions use these new viewport coordinates to translate viewport coordinates into physical coordinates.
tx和ty函数使用新的viewport坐标,并将viewport坐标转换成物理坐标。
The BoxObject handles the viewport translation in the render method and calls the draw method with the physical coordinates.
BoxObject在render方法中实现viewport的转换,并使用物理坐标来调用draw方法。
The vertex positions are transformed from clip-space to window space via the Perspective Divide and the Viewport Transform.
经过视角除法和视口变换两步,顶点的位置就从裁剪空间变换到了窗口空间。
The viewport settings I chose for this application set the width of the page to the width of the device's current orientation.
我为该应用程序所选的视窗设置将把页面的宽度设为设备当前方位的宽度。
Besides just the viewport, make sure that your webpages are flexible; for example, use dynamic widths, instead of static widths.
除了仅仅viewport以外,还应该确保你的网页的灵活性:例如,使用动态宽度而非静态宽度。
应用推荐