1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.8"/>
<title>Dillo: dw::core::Imgbuf Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="https://www.dillo.org/dw/html/jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td style="padding-left: 0.5em;">
<div id="projectname">Dillo
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.8 -->
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main Page</span></a></li>
<li><a href="pages.html"><span>Related Pages</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="annotated.html"><span>Class List</span></a></li>
<li><a href="classes.html"><span>Class Index</span></a></li>
<li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class Members</span></a></li>
</ul>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="namespacedw.html">dw</a></li><li class="navelem"><a class="el" href="namespacedw_1_1core.html">core</a></li><li class="navelem"><a class="el" href="classdw_1_1core_1_1Imgbuf.html">Imgbuf</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="classdw_1_1core_1_1Imgbuf.html#pub-types">Public Types</a> |
<a href="classdw_1_1core_1_1Imgbuf.html#pub-methods">Public Member Functions</a> |
<a href="classdw_1_1core_1_1Imgbuf-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">dw::core::Imgbuf Class Reference<span class="mlabels"><span class="mlabel">abstract</span></span></div> </div>
</div><!--header-->
<div class="contents">
<p>The platform independent interface for image buffers.
<a href="classdw_1_1core_1_1Imgbuf.html#details">More...</a></p>
<p><code>#include <<a class="el" href="imgbuf_8hh_source.html">imgbuf.hh</a>></code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:a6621e3255d2c6e7088dd5bea0537653b"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="classdw_1_1core_1_1Imgbuf.html#a6621e3255d2c6e7088dd5bea0537653b">Type</a> { <br />
  <a class="el" href="classdw_1_1core_1_1Imgbuf.html#a6621e3255d2c6e7088dd5bea0537653ba1f5203909a58ec86dd39a83f04b16a1d">RGB</a>,
<a class="el" href="classdw_1_1core_1_1Imgbuf.html#a6621e3255d2c6e7088dd5bea0537653ba06eaf6140518f0c7f1323201905f7813">RGBA</a>,
<a class="el" href="classdw_1_1core_1_1Imgbuf.html#a6621e3255d2c6e7088dd5bea0537653ba453245023736fd73f888b18d703aed25">GRAY</a>,
<a class="el" href="classdw_1_1core_1_1Imgbuf.html#a6621e3255d2c6e7088dd5bea0537653ba33ad87a981f35dfeb2ddaa17589c4816">INDEXED</a>,
<br />
  <a class="el" href="classdw_1_1core_1_1Imgbuf.html#a6621e3255d2c6e7088dd5bea0537653ba92f4759e8eabd27dd153836fe91a1147">INDEXED_ALPHA</a>
<br />
}</td></tr>
<tr class="separator:a6621e3255d2c6e7088dd5bea0537653b"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a23c53c1ac07f03bfccb2d6a5d40b1c3a"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classdw_1_1core_1_1Imgbuf.html#a23c53c1ac07f03bfccb2d6a5d40b1c3a">Imgbuf</a> ()</td></tr>
<tr class="separator:a23c53c1ac07f03bfccb2d6a5d40b1c3a"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a1561ef1488a9002f5ccf1e7c8c1d435e"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classdw_1_1core_1_1Imgbuf.html#a1561ef1488a9002f5ccf1e7c8c1d435e">~Imgbuf</a> ()</td></tr>
<tr class="separator:a1561ef1488a9002f5ccf1e7c8c1d435e"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a69f7b999918293dc3a9b97ae0d0d09da"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classdw_1_1core_1_1Imgbuf.html#a69f7b999918293dc3a9b97ae0d0d09da">setCMap</a> (int *colors, int num_colors)=0</td></tr>
<tr class="separator:a69f7b999918293dc3a9b97ae0d0d09da"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a0b738f2672de023650c657f16603a5c0"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classdw_1_1core_1_1Imgbuf.html#a0b738f2672de023650c657f16603a5c0">copyRow</a> (int row, const <a class="el" href="namespacedw_1_1core.html#aadedde327523bff3d51f29a0951e9541">byte</a> *data)=0</td></tr>
<tr class="separator:a0b738f2672de023650c657f16603a5c0"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a21b004879b62236989b3d9020f0ee2a7"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classdw_1_1core_1_1Imgbuf.html#a21b004879b62236989b3d9020f0ee2a7">newScan</a> ()=0</td></tr>
<tr class="separator:a21b004879b62236989b3d9020f0ee2a7"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a0d4ea20f9befc404149855788098fd49"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classdw_1_1core_1_1Imgbuf.html">Imgbuf</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classdw_1_1core_1_1Imgbuf.html#a0d4ea20f9befc404149855788098fd49">getScaledBuf</a> (int width, int height)=0</td></tr>
<tr class="separator:a0d4ea20f9befc404149855788098fd49"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a8722f429e4d9d5dfc5270676d1ccc599"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classdw_1_1core_1_1Imgbuf.html#a8722f429e4d9d5dfc5270676d1ccc599">getRowArea</a> (int row, <a class="el" href="classdw_1_1core_1_1Rectangle.html">dw::core::Rectangle</a> *area)=0</td></tr>
<tr class="separator:a8722f429e4d9d5dfc5270676d1ccc599"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a0c1e8d2d6eb12cd88c0834335295d6c0"><td class="memItemLeft" align="right" valign="top">virtual int </td><td class="memItemRight" valign="bottom"><a class="el" href="classdw_1_1core_1_1Imgbuf.html#a0c1e8d2d6eb12cd88c0834335295d6c0">getRootWidth</a> ()=0</td></tr>
<tr class="separator:a0c1e8d2d6eb12cd88c0834335295d6c0"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ae0241d06552605b48b3ec09dfb5ff9f6"><td class="memItemLeft" align="right" valign="top">virtual int </td><td class="memItemRight" valign="bottom"><a class="el" href="classdw_1_1core_1_1Imgbuf.html#ae0241d06552605b48b3ec09dfb5ff9f6">getRootHeight</a> ()=0</td></tr>
<tr class="separator:ae0241d06552605b48b3ec09dfb5ff9f6"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ae636d035da42fb51153052f99cc9e513"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classdw_1_1core_1_1Imgbuf.html">Imgbuf</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classdw_1_1core_1_1Imgbuf.html#ae636d035da42fb51153052f99cc9e513">createSimilarBuf</a> (int width, int height)=0</td></tr>
<tr class="separator:ae636d035da42fb51153052f99cc9e513"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ae9fd04eb42ef33a6742ebd1a70d8a178"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classdw_1_1core_1_1Imgbuf.html#ae9fd04eb42ef33a6742ebd1a70d8a178">copyTo</a> (<a class="el" href="classdw_1_1core_1_1Imgbuf.html">Imgbuf</a> *dest, int xDestRoot, int yDestRoot, int xSrc, int ySrc, int widthSrc, int heightSrc)=0</td></tr>
<tr class="separator:ae9fd04eb42ef33a6742ebd1a70d8a178"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a18f8070e47aefd58eaa24708cfa3de1a"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classdw_1_1core_1_1Imgbuf.html#a18f8070e47aefd58eaa24708cfa3de1a">ref</a> ()=0</td></tr>
<tr class="separator:a18f8070e47aefd58eaa24708cfa3de1a"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ab5003fc515d777fdad9ff893b4bd557b"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classdw_1_1core_1_1Imgbuf.html#ab5003fc515d777fdad9ff893b4bd557b">unref</a> ()=0</td></tr>
<tr class="separator:ab5003fc515d777fdad9ff893b4bd557b"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ae068c23751cfd78268480072871ab784"><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classdw_1_1core_1_1Imgbuf.html#ae068c23751cfd78268480072871ab784">lastReference</a> ()=0</td></tr>
<tr class="separator:ae068c23751cfd78268480072871ab784"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a7f53b6374bb87c861790a12a47fb3048"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classdw_1_1core_1_1Imgbuf.html#a7f53b6374bb87c861790a12a47fb3048">setDeleteOnUnref</a> (bool deleteOnUnref)=0</td></tr>
<tr class="separator:a7f53b6374bb87c861790a12a47fb3048"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:abb5cec4224c3e46367d1fc8b29fa1a94"><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classdw_1_1core_1_1Imgbuf.html#abb5cec4224c3e46367d1fc8b29fa1a94">isReferred</a> ()=0</td></tr>
<tr class="separator:abb5cec4224c3e46367d1fc8b29fa1a94"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="inherit_header pub_methods_classlout_1_1object_1_1Object"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classlout_1_1object_1_1Object')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="classlout_1_1object_1_1Object.html">lout::object::Object</a></td></tr>
<tr class="memitem:a9fef8a29a41124cb0370f4dc0410fb5b inherit pub_methods_classlout_1_1object_1_1Object"><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classlout_1_1object_1_1Object.html#a9fef8a29a41124cb0370f4dc0410fb5b">~Object</a> ()</td></tr>
<tr class="memdesc:a9fef8a29a41124cb0370f4dc0410fb5b inherit pub_methods_classlout_1_1object_1_1Object"><td class="mdescLeft"> </td><td class="mdescRight">The destructor is defined as virtual (but not abstract), so that destruction of <a class="el" href="classlout_1_1object_1_1Object.html" title="This is the base class for many other classes, which defines very common virtual methods. ">Object</a>'s works properly. <a href="classdw_1_1core_1_1Imgbuf.html#a9fef8a29a41124cb0370f4dc0410fb5b">More...</a><br /></td></tr>
<tr class="separator:a9fef8a29a41124cb0370f4dc0410fb5b inherit pub_methods_classlout_1_1object_1_1Object"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:af4bc95cee49a71d32c7b24505ccc9397 inherit pub_methods_classlout_1_1object_1_1Object"><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classlout_1_1object_1_1Object.html#af4bc95cee49a71d32c7b24505ccc9397">equals</a> (<a class="el" href="classlout_1_1object_1_1Object.html">Object</a> *other)</td></tr>
<tr class="memdesc:af4bc95cee49a71d32c7b24505ccc9397 inherit pub_methods_classlout_1_1object_1_1Object"><td class="mdescLeft"> </td><td class="mdescRight">Returns, whether two objects are equal. <a href="classdw_1_1core_1_1Imgbuf.html#af4bc95cee49a71d32c7b24505ccc9397">More...</a><br /></td></tr>
<tr class="separator:af4bc95cee49a71d32c7b24505ccc9397 inherit pub_methods_classlout_1_1object_1_1Object"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ad81c4136418c9b44253568f9ae069006 inherit pub_methods_classlout_1_1object_1_1Object"><td class="memItemLeft" align="right" valign="top">virtual int </td><td class="memItemRight" valign="bottom"><a class="el" href="classlout_1_1object_1_1Object.html#ad81c4136418c9b44253568f9ae069006">hashValue</a> ()</td></tr>
<tr class="memdesc:ad81c4136418c9b44253568f9ae069006 inherit pub_methods_classlout_1_1object_1_1Object"><td class="mdescLeft"> </td><td class="mdescRight">Return a hash value for the object. <a href="classdw_1_1core_1_1Imgbuf.html#ad81c4136418c9b44253568f9ae069006">More...</a><br /></td></tr>
<tr class="separator:ad81c4136418c9b44253568f9ae069006 inherit pub_methods_classlout_1_1object_1_1Object"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a7ab36efad0df9a036b9252a9564a8cd4 inherit pub_methods_classlout_1_1object_1_1Object"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classlout_1_1object_1_1Object.html">Object</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classlout_1_1object_1_1Object.html#a7ab36efad0df9a036b9252a9564a8cd4">clone</a> ()</td></tr>
<tr class="memdesc:a7ab36efad0df9a036b9252a9564a8cd4 inherit pub_methods_classlout_1_1object_1_1Object"><td class="mdescLeft"> </td><td class="mdescRight">Return an exact copy of the object. <a href="classdw_1_1core_1_1Imgbuf.html#a7ab36efad0df9a036b9252a9564a8cd4">More...</a><br /></td></tr>
<tr class="separator:a7ab36efad0df9a036b9252a9564a8cd4 inherit pub_methods_classlout_1_1object_1_1Object"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ad1ad2f2b36fc7a7bead883caa64b0082 inherit pub_methods_classlout_1_1object_1_1Object"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classlout_1_1object_1_1Object.html#ad1ad2f2b36fc7a7bead883caa64b0082">intoStringBuffer</a> (<a class="el" href="classlout_1_1misc_1_1StringBuffer.html">misc::StringBuffer</a> *sb)</td></tr>
<tr class="memdesc:ad1ad2f2b36fc7a7bead883caa64b0082 inherit pub_methods_classlout_1_1object_1_1Object"><td class="mdescLeft"> </td><td class="mdescRight">Store a textual representation of the object in a <a class="el" href="classlout_1_1misc_1_1StringBuffer.html" title="A class for fast concatenation of a large number of strings. ">misc::StringBuffer</a>. <a href="classdw_1_1core_1_1Imgbuf.html#ad1ad2f2b36fc7a7bead883caa64b0082">More...</a><br /></td></tr>
<tr class="separator:ad1ad2f2b36fc7a7bead883caa64b0082 inherit pub_methods_classlout_1_1object_1_1Object"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ad7aeadc7934293197110d550abda81ff inherit pub_methods_classlout_1_1object_1_1Object"><td class="memItemLeft" align="right" valign="top">const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="classlout_1_1object_1_1Object.html#ad7aeadc7934293197110d550abda81ff">toString</a> ()</td></tr>
<tr class="memdesc:ad7aeadc7934293197110d550abda81ff inherit pub_methods_classlout_1_1object_1_1Object"><td class="mdescLeft"> </td><td class="mdescRight">Use <a class="el" href="classlout_1_1object_1_1Object.html#ad1ad2f2b36fc7a7bead883caa64b0082" title="Store a textual representation of the object in a misc::StringBuffer. ">object::Object::intoStringBuffer</a> to return a textual representation of the object. <a href="classdw_1_1core_1_1Imgbuf.html#ad7aeadc7934293197110d550abda81ff">More...</a><br /></td></tr>
<tr class="separator:ad7aeadc7934293197110d550abda81ff inherit pub_methods_classlout_1_1object_1_1Object"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a8b53443ca61b25e794157792f5d3a956 inherit pub_methods_classlout_1_1object_1_1Object"><td class="memItemLeft" align="right" valign="top">virtual size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classlout_1_1object_1_1Object.html#a8b53443ca61b25e794157792f5d3a956">sizeOf</a> ()</td></tr>
<tr class="memdesc:a8b53443ca61b25e794157792f5d3a956 inherit pub_methods_classlout_1_1object_1_1Object"><td class="mdescLeft"> </td><td class="mdescRight">Return the number of bytes, this object totally uses. <a href="classdw_1_1core_1_1Imgbuf.html#a8b53443ca61b25e794157792f5d3a956">More...</a><br /></td></tr>
<tr class="separator:a8b53443ca61b25e794157792f5d3a956 inherit pub_methods_classlout_1_1object_1_1Object"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="inherit_header pub_methods_classlout_1_1signal_1_1ObservedObject"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classlout_1_1signal_1_1ObservedObject')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="classlout_1_1signal_1_1ObservedObject.html">lout::signal::ObservedObject</a></td></tr>
<tr class="memitem:a538cf3bb32b7d2a83db2b366fba30cf3 inherit pub_methods_classlout_1_1signal_1_1ObservedObject"><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classlout_1_1signal_1_1ObservedObject.html#a538cf3bb32b7d2a83db2b366fba30cf3">~ObservedObject</a> ()</td></tr>
<tr class="separator:a538cf3bb32b7d2a83db2b366fba30cf3 inherit pub_methods_classlout_1_1signal_1_1ObservedObject"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a2f381072ce5c4b98ce737109696b5fc6 inherit pub_methods_classlout_1_1signal_1_1ObservedObject"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classlout_1_1signal_1_1ObservedObject.html#a2f381072ce5c4b98ce737109696b5fc6">connectDeletion</a> (<a class="el" href="classlout_1_1signal_1_1ObservedObject_1_1DeletionReceiver.html">DeletionReceiver</a> *receiver)</td></tr>
<tr class="separator:a2f381072ce5c4b98ce737109696b5fc6 inherit pub_methods_classlout_1_1signal_1_1ObservedObject"><td class="memSeparator" colspan="2"> </td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>The platform independent interface for image buffers. </p>
<p>Image buffers depend on the platform (see <a class="el" href="dw-images-and-backgrounds.html">Images and Backgrounds in Dw</a>), but have this general, platform independent interface. The purpose of an image buffer is</p>
<ol>
<li>
storing the image data, </li>
<li>
handling scaled versions of this buffer, and </li>
<li>
drawing. </li>
</ol>
<p>The latter must be done independently from the window.</p>
<h3>Creating</h3>
<p>Image buffers are created by calling <a class="el" href="classdw_1_1core_1_1Platform.html#aebc03cf0f6b9600be41a848fa518ed21" title="Create a (platform speficic) image buffer. ">dw::core::Platform::createImgbuf</a>.</p>
<h3>Storing Image Data</h3>
<p><a class="el" href="classdw_1_1core_1_1Imgbuf.html" title="The platform independent interface for image buffers. ">dw::core::Imgbuf</a> supports five image types, which are listed in the table below. The representation defines, how the colors are stored within the data, which is passed to <a class="el" href="classdw_1_1core_1_1Imgbuf.html#a0b738f2672de023650c657f16603a5c0">dw::core::Imgbuf::copyRow</a>.</p>
<table class="doxtable">
<tr>
<th>Type (<a class="el" href="classdw_1_1core_1_1Imgbuf.html#a6621e3255d2c6e7088dd5bea0537653b">dw::core::Imgbuf::Type</a>) </th><th>Bytes per Pixel </th><th>Representation </th></tr>
<tr>
<td><a class="el" href="classdw_1_1core_1_1Imgbuf.html#a6621e3255d2c6e7088dd5bea0537653ba1f5203909a58ec86dd39a83f04b16a1d">dw::core::Imgbuf::RGB</a> </td><td>3 </td><td>red, green, blue </td></tr>
<tr>
<td><a class="el" href="classdw_1_1core_1_1Imgbuf.html#a6621e3255d2c6e7088dd5bea0537653ba06eaf6140518f0c7f1323201905f7813">dw::core::Imgbuf::RGBA</a> </td><td>4 </td><td>red, green, blue, alpha </td></tr>
<tr>
<td><a class="el" href="classdw_1_1core_1_1Imgbuf.html#a6621e3255d2c6e7088dd5bea0537653ba453245023736fd73f888b18d703aed25">dw::core::Imgbuf::GRAY</a> </td><td>1 </td><td>gray value </td></tr>
<tr>
<td><a class="el" href="classdw_1_1core_1_1Imgbuf.html#a6621e3255d2c6e7088dd5bea0537653ba33ad87a981f35dfeb2ddaa17589c4816">dw::core::Imgbuf::INDEXED</a> </td><td>1 </td><td>index to colormap </td></tr>
<tr>
<td><a class="el" href="classdw_1_1core_1_1Imgbuf.html#a6621e3255d2c6e7088dd5bea0537653ba92f4759e8eabd27dd153836fe91a1147">dw::core::Imgbuf::INDEXED_ALPHA</a> </td><td>1 </td><td>index to colormap </td></tr>
</table>
<p>The last two types need a colormap, which is set by <a class="el" href="classdw_1_1core_1_1Imgbuf.html#a69f7b999918293dc3a9b97ae0d0d09da">dw::core::Imgbuf::setCMap</a>, which must be called before <a class="el" href="classdw_1_1core_1_1Imgbuf.html#a0b738f2672de023650c657f16603a5c0">dw::core::Imgbuf::copyRow</a>. This function expects the colors as 32 bit unsigned integers, which have the format 0xrrbbgg (for indexed images), or 0xaarrggbb (for indexed alpha), respectively.</p>
<h3>Scaling</h3>
<p>The buffer with the original size, which was created by <a class="el" href="classdw_1_1core_1_1Platform.html#aebc03cf0f6b9600be41a848fa518ed21" title="Create a (platform speficic) image buffer. ">dw::core::Platform::createImgbuf</a>, is called root buffer. <a class="el" href="classdw_1_1core_1_1Imgbuf.html" title="The platform independent interface for image buffers. ">Imgbuf</a> provides the ability to scale buffers. Generally, both root buffers, as well as scaled buffers, may be shared, memory management is done by reference counters.</p>
<p>Via <a class="el" href="classdw_1_1core_1_1Imgbuf.html#a0d4ea20f9befc404149855788098fd49">dw::core::Imgbuf::getScaledBuf</a>, you can retrieve a scaled buffer. Generally, something like this must work always, in an efficient way:</p>
<div class="fragment"><div class="line"><a class="code" href="classdw_1_1core_1_1Imgbuf.html">dw::core::Imgbuf</a> *curBuf, *oldBuf;</div>
<div class="line"><span class="keywordtype">int</span> width, heigt,</div>
<div class="line"><span class="comment">// ...</span></div>
<div class="line">oldBuf = curBuf;</div>
<div class="line">curBuf = oldBuf-><a class="code" href="classdw_1_1core_1_1Imgbuf.html#a0d4ea20f9befc404149855788098fd49">getScaledBuf</a>(oldBuf, width, height);</div>
<div class="line">oldBuf-><a class="code" href="classdw_1_1core_1_1Imgbuf.html#ab5003fc515d777fdad9ff893b4bd557b">unref</a>();</div>
</div><!-- fragment --><p><em>oldBuf</em> may both be a root buffer, or a scaled buffer.</p>
<p>The root buffer keeps a list of all children, and all methods operating on the image data (<a class="el" href="classdw_1_1core_1_1Imgbuf.html#a0b738f2672de023650c657f16603a5c0">dw::core::Imgbuf::copyRow</a> and <a class="el" href="classdw_1_1core_1_1Imgbuf.html#a69f7b999918293dc3a9b97ae0d0d09da">dw::core::Imgbuf::setCMap</a>) are delegated to the scaled buffers, when processed, and inherited, when a new scaled buffer is created. This means, that they must only be performed for the root buffer.</p>
<p>A possible implementation could be (<a class="el" href="classdw_1_1fltk_1_1FltkImgbuf.html">dw::fltk::FltkImgbuf</a> does it this way):</p>
<ul>
<li>
<p class="startli">If the method is called with an already scaled image buffer, this is delegated to the root buffer.</p>
<p class="endli"></p>
</li>
<li>
<p class="startli">If the given size is the original size, the root buffer is returned, with an increased reference counter.</p>
<p class="endli"></p>
</li>
<li>
<p class="startli">Otherwise, if this buffer has already been scaled to the given size, return this scaled buffer, with an increased reference counter.</p>
<p class="endli"></p>
</li>
<li>
Otherwise, return a new scaled buffer with reference counter 1. </li>
</ul>
<p>Special care is to be taken, when the root buffer is not used anymore, i.e. after <a class="el" href="classdw_1_1core_1_1Imgbuf.html#ab5003fc515d777fdad9ff893b4bd557b">dw::core::Imgbuf::unref</a> the reference counter is 0, but there are still scaled buffers. Since all methods operating on the image data (<a class="el" href="classdw_1_1core_1_1Imgbuf.html#a0b738f2672de023650c657f16603a5c0">dw::core::Imgbuf::copyRow</a> and <a class="el" href="classdw_1_1core_1_1Imgbuf.html#a69f7b999918293dc3a9b97ae0d0d09da">dw::core::Imgbuf::setCMap</a>) are called for the root buffer, the root buffer is still needed, and so must not be deleted at this point. This is, how <a class="el" href="classdw_1_1fltk_1_1FltkImgbuf.html">dw::fltk::FltkImgbuf</a> solves this problem:</p>
<ul>
<li>
<p class="startli"><a class="el" href="classdw_1_1fltk_1_1FltkImgbuf.html#a33d7ac879868da99b996447d645dd3d9">dw::fltk::FltkImgbuf::unref</a> does, for root buffers, check, not only whether <a class="el" href="classdw_1_1fltk_1_1FltkImgbuf.html#a16df21babefabcc22ede4720f36ac1a9">dw::fltk::FltkImgbuf::refCount</a> is 0, but also, whether there are children left. When the latter is the case, the buffer is not deleted.</p>
<p class="endli"></p>
</li>
<li>
There is an additional check in <a class="el" href="classdw_1_1fltk_1_1FltkImgbuf.html#aab8040fd9f1806038ae8c63c92b45a88" title="This method is called for the root buffer, when a scaled buffer removed. ">dw::fltk::FltkImgbuf::detachScaledBuf</a>, which deals with the case, that <a class="el" href="classdw_1_1fltk_1_1FltkImgbuf.html#a16df21babefabcc22ede4720f36ac1a9">dw::fltk::FltkImgbuf::refCount</a> is 0, and the last scaled buffer is removed. </li>
</ul>
<p>In the following example:</p>
<div class="fragment"><div class="line"><a class="code" href="classdw_1_1fltk_1_1FltkPlatform.html">dw::fltk::FltkPlatform</a> *<a class="code" href="dw__anchors__test_8cc.html#abf91980ed932e38752517cf0b563adf7">platform</a> = <span class="keyword">new</span> <a class="code" href="classdw_1_1fltk_1_1FltkPlatform.html">dw::fltk::FltkPlatform</a> ();</div>
<div class="line"><a class="code" href="classdw_1_1core_1_1Layout.html">dw::core::Layout</a> *<a class="code" href="dw__anchors__test_8cc.html#aa9b7b9846e3f42cc43273337240c6a8a">layout</a> = <span class="keyword">new</span> <a class="code" href="classdw_1_1core_1_1Layout.html">dw::core::Layout</a> (platform);</div>
<div class="line"></div>
<div class="line"><a class="code" href="classdw_1_1core_1_1Imgbuf.html">dw::core::Imgbuf</a> *rootbuf =</div>
<div class="line"> layout-><a class="code" href="classdw_1_1core_1_1Layout.html#acdc2f96d0067cac2b7a4b87d07f06cb5">createImgbuf</a> (<a class="code" href="classdw_1_1core_1_1Imgbuf.html#a6621e3255d2c6e7088dd5bea0537653ba1f5203909a58ec86dd39a83f04b16a1d">dw::core::Imgbuf::RGB</a>, 100, 100);</div>
<div class="line"><a class="code" href="classdw_1_1core_1_1Imgbuf.html">dw::core::Imgbuf</a> *scaledbuf = rootbuf-><a class="code" href="classdw_1_1core_1_1Imgbuf.html#a0d4ea20f9befc404149855788098fd49">getScaledBuf</a> (50, 50);</div>
<div class="line">rootbuf-><a class="code" href="classdw_1_1core_1_1Imgbuf.html#ab5003fc515d777fdad9ff893b4bd557b">unref</a> ();</div>
<div class="line">scaledbuf-><a class="code" href="classdw_1_1core_1_1Imgbuf.html#ab5003fc515d777fdad9ff893b4bd557b">unref</a> ();</div>
</div><!-- fragment --><p>the root buffer is not deleted, when <a class="el" href="classdw_1_1core_1_1Imgbuf.html#ab5003fc515d777fdad9ff893b4bd557b">dw::core::Imgbuf::unref</a> is called, since a scaled buffer is left. After calling <a class="el" href="classdw_1_1core_1_1Imgbuf.html#ab5003fc515d777fdad9ff893b4bd557b">dw::core::Imgbuf::unref</a> for the scaled buffer, it is deleted, and after it, the root buffer.</p>
<h3>Drawing</h3>
<p><a class="el" href="classdw_1_1core_1_1Imgbuf.html" title="The platform independent interface for image buffers. ">dw::core::Imgbuf</a> provides no methods for drawing, instead, this is done by the views (implementation of <a class="el" href="classdw_1_1core_1_1View.html" title="An interface to encapsulate platform dependent drawing. ">dw::core::View</a>).</p>
<p>There are two situations, when drawing is necessary:</p>
<ol>
<li>
<p class="startli">To react on expose events, the function <a class="el" href="classdw_1_1core_1_1View.html#a07f2328b411be00f766761c42b4df069">dw::core::View::drawImage</a> should be used, with the following parameters: </p><ul>
<li>
of course, the image buffer, </li>
<li>
where the root of the image would be displayed (as <em>xRoot</em> and <em>yRoot</em>), and </li>
<li>
the region within the image, which should be displayed (<em>x</em>, <em>y</em>, <em>width</em>, <em>height</em>). </li>
</ul>
<p class="endli"></p>
</li>
<li>
When a row has been copied, it has to be drawn. To determine the area, which has to be drawn, the <a class="el" href="classdw_1_1core_1_1Imgbuf.html#a8722f429e4d9d5dfc5270676d1ccc599">dw::core::Imgbuf::getRowArea</a> should be used. The result can then passed to <a class="el" href="classdw_1_1core_1_1View.html#a07f2328b411be00f766761c42b4df069">dw::core::View::drawImage</a>. </li>
</ol>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="dw-images-and-backgrounds.html">Images and Backgrounds in Dw</a> </dd></dl>
</div><h2 class="groupheader">Member Enumeration Documentation</h2>
<a class="anchor" id="a6621e3255d2c6e7088dd5bea0537653b"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">enum <a class="el" href="classdw_1_1core_1_1Imgbuf.html#a6621e3255d2c6e7088dd5bea0537653b">dw::core::Imgbuf::Type</a></td>
</tr>
</table>
</div><div class="memdoc">
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a class="anchor" id="a6621e3255d2c6e7088dd5bea0537653ba1f5203909a58ec86dd39a83f04b16a1d"></a>RGB </td><td class="fielddoc">
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="a6621e3255d2c6e7088dd5bea0537653ba06eaf6140518f0c7f1323201905f7813"></a>RGBA </td><td class="fielddoc">
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="a6621e3255d2c6e7088dd5bea0537653ba453245023736fd73f888b18d703aed25"></a>GRAY </td><td class="fielddoc">
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="a6621e3255d2c6e7088dd5bea0537653ba33ad87a981f35dfeb2ddaa17589c4816"></a>INDEXED </td><td class="fielddoc">
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="a6621e3255d2c6e7088dd5bea0537653ba92f4759e8eabd27dd153836fe91a1147"></a>INDEXED_ALPHA </td><td class="fielddoc">
</td></tr>
</table>
</div>
</div>
<h2 class="groupheader">Constructor & Destructor Documentation</h2>
<a class="anchor" id="a23c53c1ac07f03bfccb2d6a5d40b1c3a"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">dw::core::Imgbuf::Imgbuf </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>References <a class="el" href="debug__rtfl_8hh.html#aa1136f0f6e865ac3b967244398e44f7a">DBG_OBJ_BASECLASS</a>, and <a class="el" href="debug__rtfl_8hh.html#a25c125b618655652ac04cd9228badca8">DBG_OBJ_CREATE</a>.</p>
</div>
</div>
<a class="anchor" id="a1561ef1488a9002f5ccf1e7c8c1d435e"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">dw::core::Imgbuf::~Imgbuf </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>References <a class="el" href="debug__rtfl_8hh.html#a2104cbf69f71194098e78715c21a4d8d">DBG_OBJ_DELETE</a>.</p>
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a0b738f2672de023650c657f16603a5c0"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void dw::core::Imgbuf::copyRow </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>row</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="namespacedw_1_1core.html#aadedde327523bff3d51f29a0951e9541">byte</a> * </td>
<td class="paramname"><em>data</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Implemented in <a class="el" href="classdw_1_1fltk_1_1FltkImgbuf.html#a4d563d47cc718381559e67d2c217f460">dw::fltk::FltkImgbuf</a>.</p>
<p>Referenced by <a class="el" href="dw__image__background_8cc.html#afca7ed8c64e020e91c607ee12923bc2b">imageDrawTimeout()</a>.</p>
</div>
</div>
<a class="anchor" id="ae9fd04eb42ef33a6742ebd1a70d8a178"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void dw::core::Imgbuf::copyTo </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classdw_1_1core_1_1Imgbuf.html">Imgbuf</a> * </td>
<td class="paramname"><em>dest</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>xDestRoot</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>yDestRoot</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>xSrc</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>ySrc</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>widthSrc</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>heightSrc</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Copies another image buffer into this image buffer. </p>
</div>
</div>
<a class="anchor" id="ae636d035da42fb51153052f99cc9e513"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual <a class="el" href="classdw_1_1core_1_1Imgbuf.html">Imgbuf</a>* dw::core::Imgbuf::createSimilarBuf </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>width</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>height</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Creates an image buffer with same parameters (type, gamma etc.) except size. </p>
<p>Implemented in <a class="el" href="classdw_1_1fltk_1_1FltkImgbuf.html#a67f869f43f8f63260f04f20bc5420824">dw::fltk::FltkImgbuf</a>.</p>
</div>
</div>
<a class="anchor" id="ae0241d06552605b48b3ec09dfb5ff9f6"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual int dw::core::Imgbuf::getRootHeight </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Implemented in <a class="el" href="classdw_1_1fltk_1_1FltkImgbuf.html#a55f6afaa647ce138d5c313b8c73975c0">dw::fltk::FltkImgbuf</a>.</p>
<p>Referenced by <a class="el" href="namespacedw_1_1core_1_1style.html#ab961f491ea54d03364861356afa32fb5">dw::core::style::calcBackgroundRelatedValues()</a>, <a class="el" href="namespacedw_1_1core_1_1style.html#a24789376198ca9b48d4e3335f5a6d084">dw::core::style::drawBackgroundImage()</a>, <a class="el" href="classdw_1_1core_1_1style_1_1StyleImage_1_1ExternalImgRenderer.html#a82294e7bae2dbea29f182928fb2e9a2b">dw::core::style::StyleImage::ExternalImgRenderer::drawRow()</a>, and <a class="el" href="classdw_1_1Image.html#aba1218df074496b12176464c43022f7c">dw::Image::setBuffer()</a>.</p>
</div>
</div>
<a class="anchor" id="a0c1e8d2d6eb12cd88c0834335295d6c0"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual int dw::core::Imgbuf::getRootWidth </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Implemented in <a class="el" href="classdw_1_1fltk_1_1FltkImgbuf.html#a787d41151bda7b77a640a9d1cff9fe10">dw::fltk::FltkImgbuf</a>.</p>
<p>Referenced by <a class="el" href="namespacedw_1_1core_1_1style.html#ab961f491ea54d03364861356afa32fb5">dw::core::style::calcBackgroundRelatedValues()</a>, <a class="el" href="namespacedw_1_1core_1_1style.html#a24789376198ca9b48d4e3335f5a6d084">dw::core::style::drawBackgroundImage()</a>, <a class="el" href="classdw_1_1core_1_1style_1_1StyleImage_1_1ExternalImgRenderer.html#a82294e7bae2dbea29f182928fb2e9a2b">dw::core::style::StyleImage::ExternalImgRenderer::drawRow()</a>, and <a class="el" href="classdw_1_1Image.html#aba1218df074496b12176464c43022f7c">dw::Image::setBuffer()</a>.</p>
</div>
</div>
<a class="anchor" id="a8722f429e4d9d5dfc5270676d1ccc599"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void dw::core::Imgbuf::getRowArea </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>row</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classdw_1_1core_1_1Rectangle.html">dw::core::Rectangle</a> * </td>
<td class="paramname"><em>area</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Implemented in <a class="el" href="classdw_1_1fltk_1_1FltkImgbuf.html#a13c088bac2702745f9847f136251e00b">dw::fltk::FltkImgbuf</a>.</p>
</div>
</div>
<a class="anchor" id="a0d4ea20f9befc404149855788098fd49"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual <a class="el" href="classdw_1_1core_1_1Imgbuf.html">Imgbuf</a>* dw::core::Imgbuf::getScaledBuf </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>width</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>height</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Implemented in <a class="el" href="classdw_1_1fltk_1_1FltkImgbuf.html#a8d8bac7eb04d3b0992fffa83cedd0c10">dw::fltk::FltkImgbuf</a>.</p>
<p>Referenced by <a class="el" href="classdw_1_1fltk_1_1FltkImgbuf.html#a8d8bac7eb04d3b0992fffa83cedd0c10">dw::fltk::FltkImgbuf::getScaledBuf()</a>, <a class="el" href="classdw_1_1Image.html#aba1218df074496b12176464c43022f7c">dw::Image::setBuffer()</a>, <a class="el" href="classdw_1_1Image.html#a4d0604bb2fbdc8a700a4813825ca931c">dw::Image::sizeAllocateImpl()</a>, <a class="el" href="dw__imgbuf__mem__test_8cc.html#af564fe368140ad188f818d9ad8d3266b">solution1()</a>, <a class="el" href="dw__imgbuf__mem__test_8cc.html#a1056f407c57f9c4dd5c9777872b3f872">solution2()</a>, and <a class="el" href="dw__imgbuf__mem__test_8cc.html#a31bd52927522a80afe86cd087d127c39">solution3()</a>.</p>
</div>
</div>
<a class="anchor" id="abb5cec4224c3e46367d1fc8b29fa1a94"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual bool dw::core::Imgbuf::isReferred </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<dl class="todo"><dt><b><a class="el" href="todo.html#_todo000010">Todo:</a></b></dt><dd>Comment </dd></dl>
<p>Implemented in <a class="el" href="classdw_1_1fltk_1_1FltkImgbuf.html#ae57649ed4e40e3d23037dcf4d9d046b6">dw::fltk::FltkImgbuf</a>.</p>
<p>Referenced by <a class="el" href="dw__imgbuf__mem__test_8cc.html#a1056f407c57f9c4dd5c9777872b3f872">solution2()</a>.</p>
</div>
</div>
<a class="anchor" id="ae068c23751cfd78268480072871ab784"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual bool dw::core::Imgbuf::lastReference </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<dl class="todo"><dt><b><a class="el" href="todo.html#_todo000008">Todo:</a></b></dt><dd>Comment </dd></dl>
<p>Implemented in <a class="el" href="classdw_1_1fltk_1_1FltkImgbuf.html#a2d8a25fd944c414742b9e4ced06e0855">dw::fltk::FltkImgbuf</a>.</p>
<p>Referenced by <a class="el" href="dw__imgbuf__mem__test_8cc.html#af564fe368140ad188f818d9ad8d3266b">solution1()</a>.</p>
</div>
</div>
<a class="anchor" id="a21b004879b62236989b3d9020f0ee2a7"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void dw::core::Imgbuf::newScan </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Implemented in <a class="el" href="classdw_1_1fltk_1_1FltkImgbuf.html#aaa4e2da28ec8be3e6f1c8e9f9b3f0c2b">dw::fltk::FltkImgbuf</a>.</p>
</div>
</div>
<a class="anchor" id="a18f8070e47aefd58eaa24708cfa3de1a"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void dw::core::Imgbuf::ref </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Implemented in <a class="el" href="classdw_1_1fltk_1_1FltkImgbuf.html#a9caf20b900600e69f026f1fa2a9cbb41">dw::fltk::FltkImgbuf</a>.</p>
<p>Referenced by <a class="el" href="classdw_1_1Image.html#aba1218df074496b12176464c43022f7c">dw::Image::setBuffer()</a>, and <a class="el" href="dw__imgbuf__mem__test_8cc.html#af564fe368140ad188f818d9ad8d3266b">solution1()</a>.</p>
</div>
</div>
<a class="anchor" id="a69f7b999918293dc3a9b97ae0d0d09da"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void dw::core::Imgbuf::setCMap </td>
<td>(</td>
<td class="paramtype">int * </td>
<td class="paramname"><em>colors</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>num_colors</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Implemented in <a class="el" href="classdw_1_1fltk_1_1FltkImgbuf.html#a02a0f7fdbf64ac69e24f0776e19a110c">dw::fltk::FltkImgbuf</a>.</p>
</div>
</div>
<a class="anchor" id="a7f53b6374bb87c861790a12a47fb3048"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void dw::core::Imgbuf::setDeleteOnUnref </td>
<td>(</td>
<td class="paramtype">bool </td>
<td class="paramname"><em>deleteOnUnref</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<dl class="todo"><dt><b><a class="el" href="todo.html#_todo000009">Todo:</a></b></dt><dd>Comment </dd></dl>
<p>Implemented in <a class="el" href="classdw_1_1fltk_1_1FltkImgbuf.html#a539e05a1fea4cd287083fd7747ff6f06">dw::fltk::FltkImgbuf</a>.</p>
<p>Referenced by <a class="el" href="dw__imgbuf__mem__test_8cc.html#a1056f407c57f9c4dd5c9777872b3f872">solution2()</a>.</p>
</div>
</div>
<a class="anchor" id="ab5003fc515d777fdad9ff893b4bd557b"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void dw::core::Imgbuf::unref </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Implemented in <a class="el" href="classdw_1_1fltk_1_1FltkImgbuf.html#a33d7ac879868da99b996447d645dd3d9">dw::fltk::FltkImgbuf</a>.</p>
<p>Referenced by <a class="el" href="classdw_1_1Image.html#aba1218df074496b12176464c43022f7c">dw::Image::setBuffer()</a>, <a class="el" href="classdw_1_1Image.html#a4d0604bb2fbdc8a700a4813825ca931c">dw::Image::sizeAllocateImpl()</a>, <a class="el" href="dw__imgbuf__mem__test_8cc.html#af564fe368140ad188f818d9ad8d3266b">solution1()</a>, <a class="el" href="dw__imgbuf__mem__test_8cc.html#a1056f407c57f9c4dd5c9777872b3f872">solution2()</a>, and <a class="el" href="dw__imgbuf__mem__test_8cc.html#a31bd52927522a80afe86cd087d127c39">solution3()</a>.</p>
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>dw/<a class="el" href="imgbuf_8hh_source.html">imgbuf.hh</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sat May 28 2016 11:47:44 for Dillo by  <a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.8
</small></address>
</body>
</html>
|