|
206 | 206 | \definition{graphics resource}{\iotwod.general.defns.graphicsresource.graphicsdata}
|
207 | 207 | <graphics data graphics resource> an object of unspecified type used by an implementation to provide access to and allow manipulation of visual data
|
208 | 208 |
|
209 |
| -%\indexdefn{graphics resource} |
210 |
| -%\indexdefn{graphics resource!path geometry graphics resource} |
211 |
| -%\definition{graphics resource}{\iotwod.general.defns.graphicsresource.pathgeometry} |
212 |
| -%<path geometry graphics resource> an object of unspecified type used by an implementation to store a collection of zero or more path geometries in an unspecified format |
213 |
| -% |
214 | 209 | \indexdefn{\pixmap}
|
215 | 210 | \definition{\pixmap}{\iotwod.general.defns.pixmap}
|
216 | 211 | a raster graphics data graphics resource
|
|
252 | 247 |
|
253 | 248 | \indexdefn{render}
|
254 | 249 | \definition{render}{\iotwod.general.defns.render}
|
255 |
| -to transform path geometries or text into graphics data in the manner specified by a set of graphics state data |
| 250 | +to transform a path group into graphics data in the manner specified by a set of graphics state data |
256 | 251 |
|
257 | 252 | \indexdefn{rendering operation}
|
258 | 253 | \definition{rendering operation}{\iotwod.general.defns.renderingoperation}
|
|
290 | 285 | % end definitions
|
291 | 286 | \indextext{definitions|)}
|
292 | 287 |
|
293 |
| -\rSec1 [\iotwod.general.helloworld] {Hello world example} |
294 |
| - |
295 |
| -\pnum |
296 |
| -The following is an example of a complete "hello world" program written using this library: |
297 |
| - |
298 |
| -\begin{codeblock} |
299 |
| -#include <experimental/io2d> |
300 |
| -using namespace std::experimental::io2d; |
301 |
| - |
302 |
| -int main() { |
303 |
| - auto ds = make_display_surface(640, 480, format::argb32); |
304 |
| - ds.draw_callback([](display_surface& ds) { |
305 |
| - ds.paint(rgba_color::firebrick()); |
306 |
| - ds.render_text("Hello world!", { 50.0, 50.0 }, rgba_color::aqua()); |
307 |
| - }); |
308 |
| - return ds.show(); |
309 |
| -} |
310 |
| -\end{codeblock} |
| 288 | +%\rSec1 [\iotwod.general.helloworld] {Hello world example} |
| 289 | +% |
| 290 | +%\pnum |
| 291 | +%The following is an example of a complete "hello world" program written using this library: |
| 292 | +% |
| 293 | +%\begin{codeblock} |
| 294 | +%#include <experimental/io2d> |
| 295 | +%using namespace std::experimental::io2d; |
| 296 | +% |
| 297 | +%int main() { |
| 298 | +% auto ds = make_display_surface(640, 480, format::argb32); |
| 299 | +% ds.draw_callback([](display_surface& ds) { |
| 300 | +% ds.paint(rgba_color::firebrick()); |
| 301 | +% ds.render_text("Hello world!", { 50.0, 50.0 }, rgba_color::aqua()); |
| 302 | +% }); |
| 303 | +% return ds.show(); |
| 304 | +%} |
| 305 | +%\end{codeblock} |
0 commit comments