The translation code in the GraphicsEnvironment class is highlighted, as is the render code in the GraphicsObject, which calls back to the graphic environment for coordinate translation.
GraphicsEnvironment 类中的 viewport 转换代码是高亮显示的,正如GraphicsObject 中的render 代码一样,这会回调图形环境来进行坐标转换的工作。
Code would process input, make decisions, and produce data for display, while markup would anticipate the data and provide the scaffolding required to render the information.
代码将处理输入,制定决策并生成显示数据,而标记将期待获得数据并提供所需的支架以渲染信息。
If there are few frames per second to render, then much of the user code can be executed.
如果要渲染的每秒帧数很少,那么就可以执行大部分用户代码。
At this point you can take a look at the sample code which includes the initialization I described earlier, as well as functions to plot single pixels, draw filled rectangles, and render text.
现在我们可以开始来查看样例代码了,它包含了前面介绍的初始化工作,以及处理单个像素、填充矩形和渲染文本的函数。
It separates code from character forms, so the same code can be used again and again, even to render different orthographies in the same application.
它将代码与字符的格式区分开来,因此相同的代码可以反复使用,甚至是在相同的应用程序中呈现不同的拼字法都可以。
The window JSP template has links to commonly used templates, code to render the screen, and then ends with the WML tag.
窗口JSP模板有常用模板(即处理屏幕的代码)的链接,然后以WML标记为结尾。
From the above code, we understand the following as the steps involved to render the chart in the view page.
从上面的代码,我们知道了如何在视图页面中渲染图表?
Be prepared to render most of your HTML code on the client-side.
准备好在客户端渲染大多数HTML代码。
You can easily take the code from Listing 3 and use it to render charts for each of the months of data from Listing 1.
您可以很容易获取清单3中的代码并使用它为来自清单1的每一个月份的数据呈现图表。
And you must implement some custom code to render the useful data from the retrieved complex object.
并且,您必须实现一些自定义代码来呈现检索到的复杂对象中的有用数据。
To render the game results, add the code in Listing 7.
要呈现比赛结果,请在清单 7 中添加以下代码。
Visiting this page once loads all the PHP code used to render the page into the cache.
访问这个php页面一次,便会加载用来将此页呈现到缓存内的所有php代码。
If you are just going to render a larger image or add more information, using the JSP tags will help you avoid a lot of duplicate JSP code.
如果正打算呈现一个较大的图像或添加更多信息,那么使用JSp标记将帮助您避免许多重复的JSp代码。
Through these techniques and with the sample code, you can now render your own graphs and tailor them to your own requirements.
通过这些技术和提供的示例代码,您可以呈现自己的图形,并根据需要定制图形。
MDAT allows the developer to design the application once and generate the code necessary to render the requested content on selected target devices.
MDAT允许开发人员一次性设计应用程序,并生成在所选的目标设备上呈现请求内容所需的代码。
The above code will render the same output as the @: version we looked at earlier.
上面的代码将呈现出和我们早期看过的@:版本相同的输出。
Reverse engineering provides the ability to connect to databases and source code, which you can then render into visual models.
逆向工程提供了连接数据库的功能和可以译成可视化模型的源代码。
Once you get these full server controls on the behind code, you can execute and write your own login on the same and render the page back to the browser.
一旦你得到这些服务器控件的后台代码,你可以执行和写你自己的逻辑和呈现返回给浏览器。
Now, to render each post, type the code shown in Listing 5
现在,要呈现每个post,输入清单5 所示的代码
The biggest benefit of HTML5 support is that it frees users from the need to use proprietary plug-ins like Flash player or Microsoft's Silverlight by using a simple bit of code to render video.
支持HTLM5最大的好处是使得用户从必需使用专用插件中解放出来,像通过使用简单的代码位呈现视频的Flashplayer或者微软的Silverlight。
The browser loads executable code so it can render the application immediately, without waiting to compile the app first.
浏览器直接加载运行代码,所以它可以立即渲染该应用,而不用等应用完成首次编译。
Web Forms could render different code depending on the browser capabilities.
网站控件可以根据浏览器的功能来呈现不同的代码效果。
Compartmentalize the Ajax code that connects to the server from the DHTML user interface (UI) components that render the data.
将连接到服务器的Ajax代码和呈现数据的DHTML用户界面(UI)组件分开。
Apache Shindig: Explore this OpenSocial container to quickly host OpenSocial apps with code to render gadgets, proxy requests, and handle REST and RPC requests.
ApacheShindig:探索这个opensocial容器,通过能呈现小工具、代理请求以及处理REST和RPC请求的代码来快速托管opensocial应用程序。
Then the prepared HTML code is added to the DOM tree, which triggers the Dojo parser to render the new fragment of the page.
然后将准备好的HTML代码添加到DOM树,从而触发Dojo解析器呈现页面的新片段。
Example code used to dynamically render a label.
如下例子实现标签的动态渲染。
The effect of placing this code here is that for each portlet rendered on the page, you have an HTML comment placed below it that displays how many milliseconds it took to render that portlet.
在该处放置此代码的作用在于,对于页面上呈现的每个Portlet,您在其下放置了HTML注释,用于显示呈现该Portlet所花的毫秒数。
With a few lines of code similar to that shown below, they were able to render HTML based reports from the server directly in the Eclipse RPC based client.
只需一些类似于下面的代码,就能在基于EclipseRPC的客户端上直接获得基于HTML的报表,而这些报表都来自于服务器端。
Identifier: (Required) a string used in the portlet code to refer to the render parameter.
Identifier:(必需的)portlet代码中使用的字符串以引用赋值变量。
To modularize your code, you must write two functions: one to render the entire blog and one to render just a single post.
要模块化代码,必须编写两个函数:一个用来呈现整个blog;
应用推荐