Newer
Older
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
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<?xml version="1.0"?>
<doc>
<assembly>
<name>SharpDX.Direct2D1</name>
</assembly>
<members>
<member name="T:SharpDX.Direct2D1.AnalysisTransform">
<summary>
<p>Supplies data to an analysis effect.</p>
</summary>
<remarks>
<p> This interface can be implemented by either an <strong><see cref="T:SharpDX.Direct2D1.DrawTransform" /></strong> or an <strong><see cref="T:SharpDX.Direct2D1.ComputeTransform" /></strong>.</p>
</remarks>
<!-- No matching elements were found for the following include tag --><include file=".\..\..\Documentation\CodeComments.xml" path="/comments/comment[@id='ID2D1AnalysisTransform']/*" />
<msdn-id>hh404347</msdn-id>
<unmanaged>ID2D1AnalysisTransform</unmanaged>
<unmanaged-short>ID2D1AnalysisTransform</unmanaged-short>
</member>
<member name="M:SharpDX.Direct2D1.AnalysisTransform.ProcessAnalysisResults(SharpDX.DataStream)">
<summary>
Supplies the analysis data to an analysis transform.
</summary>
<param name="analysisData"><para>The data that the transform will analyze.</para></param>
<remarks>
The output of the transform will be copied to CPU-accessible memory by the imaging effects system before being passed to the implementation.If this call fails, the corresponding <see cref="T:SharpDX.Direct2D1.Effect"/> instance is placed into an error state and fails to draw.
</remarks>
<unmanaged>HRESULT ID2D1AnalysisTransform::ProcessAnalysisResults([In, Buffer] const unsigned char* analysisData,[In] unsigned int analysisDataCount)</unmanaged>
</member>
<member name="M:SharpDX.Direct2D1.AnalysisTransform.ProcessAnalysisResults``1(``0)">
<summary>
Supplies the analysis data to an analysis transform.
</summary>
<param name="analysisData"><para>The data that the transform will analyze.</para></param>
<remarks>
The output of the transform will be copied to CPU-accessible memory by the imaging effects system before being passed to the implementation.If this call fails, the corresponding <see cref="T:SharpDX.Direct2D1.Effect"/> instance is placed into an error state and fails to draw.
</remarks>
<unmanaged>HRESULT ID2D1AnalysisTransform::ProcessAnalysisResults([In, Buffer] const unsigned char* analysisData,[In] unsigned int analysisDataCount)</unmanaged>
</member>
<member name="M:SharpDX.Direct2D1.AnalysisTransform.ProcessAnalysisResults``1(``0[])">
<summary>
Supplies the analysis data to an analysis transform.
</summary>
<param name="analysisData"><para>The data that the transform will analyze.</para></param>
<remarks>
The output of the transform will be copied to CPU-accessible memory by the imaging effects system before being passed to the implementation.If this call fails, the corresponding <see cref="T:SharpDX.Direct2D1.Effect"/> instance is placed into an error state and fails to draw.
</remarks>
<unmanaged>HRESULT ID2D1AnalysisTransform::ProcessAnalysisResults([In, Buffer] const unsigned char* analysisData,[In] unsigned int analysisDataCount)</unmanaged>
</member>
<member name="M:SharpDX.Direct2D1.AnalysisTransform.#ctor(System.IntPtr)">
<summary>
Initializes a new instance of the <see cref="T:SharpDX.Direct2D1.AnalysisTransform"/> class.
</summary>
<param name="nativePtr">The native pointer.</param>
</member>
<member name="M:SharpDX.Direct2D1.AnalysisTransform.op_Explicit(System.IntPtr)~SharpDX.Direct2D1.AnalysisTransform">
<summary>
Performs an explicit conversion from <see cref="T:System.IntPtr"/> to <see cref="T:SharpDX.Direct2D1.AnalysisTransform"/>. (This method is a shortcut to <see cref="P:SharpDX.CppObject.NativePointer"/>)
</summary>
<param name="nativePointer">The native pointer.</param>
<returns>
The result of the conversion.
</returns>
</member>
<member name="M:SharpDX.Direct2D1.AnalysisTransform.ProcessAnalysisResults(System.IntPtr,System.Int32)">
<summary>
<p>Supplies the analysis data to an analysis transform.</p>
</summary>
<param name="analysisData"><dd> <p>The data that the transform will analyze.</p> </dd></param>
<param name="analysisDataCount"><dd> <p>The size of the analysis data.</p> </dd></param>
<returns><p>If the method succeeds, it returns <strong><see cref="F:SharpDX.Result.Ok" /></strong>. If it fails, it returns an <strong><see cref="T:SharpDX.Result" /></strong> error code.</p></returns>
<remarks>
<p>The output of the transform will be copied to CPU-accessible memory by the imaging effects system before being passed to the implementation.</p><p> If this call fails, the corresponding <strong><see cref="T:SharpDX.Direct2D1.Effect" /></strong> instance is placed into an error state and fails to draw.</p>
</remarks>
<!-- No matching elements were found for the following include tag --><include file=".\..\..\Documentation\CodeComments.xml" path="/comments/comment[@id='ID2D1AnalysisTransform::ProcessAnalysisResults']/*" />
<msdn-id>hh404348</msdn-id>
<unmanaged>HRESULT ID2D1AnalysisTransform::ProcessAnalysisResults([In, Buffer] const void* analysisData,[In] unsigned int analysisDataCount)</unmanaged>
<unmanaged-short>ID2D1AnalysisTransform::ProcessAnalysisResults</unmanaged-short>
</member>
<member name="T:SharpDX.Direct2D1.AssemblyDoc">
<summary>
The <see cref="A:SharpDX.Direct2D1"/> assembly provides managed API for <see cref="N:SharpDX.Direct2D1"/>, <see cref="N:SharpDX.DirectWrite"/> and <see cref="N:SharpDX.WIC"/>.
</summary>
<msdn-id>ee663274</msdn-id>
<unmanaged>Direct2D1 / DirectWrite</unmanaged>
<unmanaged-short>Direct2D1 / DirectWrite</unmanaged-short>
</member>
<member name="T:SharpDX.Direct2D1.Bitmap">
<summary>
<p>Represents a bitmap that has been bound to an <strong><see cref="T:SharpDX.Direct2D1.RenderTarget" /></strong>.</p>
</summary>
<!-- No matching elements were found for the following include tag --><include file=".\..\..\Documentation\CodeComments.xml" path="/comments/comment[@id='ID2D1Bitmap']/*" />
<msdn-id>dd371109</msdn-id>
<unmanaged>ID2D1Bitmap</unmanaged>
<unmanaged-short>ID2D1Bitmap</unmanaged-short>
</member>
<member name="M:SharpDX.Direct2D1.Bitmap.#ctor(SharpDX.Direct2D1.RenderTarget,SharpDX.Size2)">
<summary>
Creates a Direct2D bitmap from a pointer to in-memory source data.
</summary>
<param name="renderTarget">an instance of <see cref = "T:SharpDX.Direct2D1.RenderTarget" /></param>
<param name="size">The dimension of the bitmap to create in pixels.</param>
<msdn-id>dd371800</msdn-id>
<unmanaged>HRESULT ID2D1RenderTarget::CreateBitmap([In] D2D_SIZE_U size,[In, Optional] const void* srcData,[In] unsigned int pitch,[In] const D2D1_BITMAP_PROPERTIES* bitmapProperties,[Out, Fast] ID2D1Bitmap** bitmap)</unmanaged>
<unmanaged-short>ID2D1RenderTarget::CreateBitmap</unmanaged-short>
</member>
<member name="M:SharpDX.Direct2D1.Bitmap.#ctor(SharpDX.Direct2D1.RenderTarget,SharpDX.Size2,SharpDX.Direct2D1.BitmapProperties)">
<summary>
Creates a Direct2D bitmap from a pointer to in-memory source data.
</summary>
<param name="renderTarget">an instance of <see cref = "T:SharpDX.Direct2D1.RenderTarget" /></param>
<param name="size">The dimension of the bitmap to create in pixels.</param>
<param name="bitmapProperties">The pixel format and dots per inch (DPI) of the bitmap to create.</param>
<msdn-id>dd371800</msdn-id>
<unmanaged>HRESULT ID2D1RenderTarget::CreateBitmap([In] D2D_SIZE_U size,[In, Optional] const void* srcData,[In] unsigned int pitch,[In] const D2D1_BITMAP_PROPERTIES* bitmapProperties,[Out, Fast] ID2D1Bitmap** bitmap)</unmanaged>
<unmanaged-short>ID2D1RenderTarget::CreateBitmap</unmanaged-short>
</member>
<member name="M:SharpDX.Direct2D1.Bitmap.#ctor(SharpDX.Direct2D1.RenderTarget,SharpDX.Size2,SharpDX.DataPointer,System.Int32)">
<summary>
Creates a Direct2D bitmap from a pointer to in-memory source data.
</summary>
<param name="renderTarget">an instance of <see cref = "T:SharpDX.Direct2D1.RenderTarget" /></param>
<param name="size">The dimension of the bitmap to create in pixels.</param>
<param name="dataPointer">A pointer to the memory location of the image data, or NULL to create an uninitialized bitmap.</param>
<param name="pitch">The byte count of each scanline, which is equal to (the image width in pixels * the number of bytes per pixel) + memory padding. If srcData is NULL, this value is ignored. (Note that pitch is also sometimes called stride.)</param>
<msdn-id>dd371800</msdn-id>
<unmanaged>HRESULT ID2D1RenderTarget::CreateBitmap([In] D2D_SIZE_U size,[In, Optional] const void* srcData,[In] unsigned int pitch,[In] const D2D1_BITMAP_PROPERTIES* bitmapProperties,[Out, Fast] ID2D1Bitmap** bitmap)</unmanaged>
<unmanaged-short>ID2D1RenderTarget::CreateBitmap</unmanaged-short>
</member>
<member name="M:SharpDX.Direct2D1.Bitmap.#ctor(SharpDX.Direct2D1.RenderTarget,SharpDX.Size2,SharpDX.DataPointer,System.Int32,SharpDX.Direct2D1.BitmapProperties)">
<summary>
Creates a Direct2D bitmap from a pointer to in-memory source data.
</summary>
<param name="renderTarget">an instance of <see cref = "T:SharpDX.Direct2D1.RenderTarget" /></param>
<param name="size">The dimension of the bitmap to create in pixels.</param>
<param name="dataPointer">A pointer to the memory location of the image data, or NULL to create an uninitialized bitmap.</param>
<param name="pitch">The byte count of each scanline, which is equal to (the image width in pixels * the number of bytes per pixel) + memory padding. If srcData is NULL, this value is ignored. (Note that pitch is also sometimes called stride.)</param>
<param name="bitmapProperties">The pixel format and dots per inch (DPI) of the bitmap to create.</param>
<msdn-id>dd371800</msdn-id>
<unmanaged>HRESULT ID2D1RenderTarget::CreateBitmap([In] D2D_SIZE_U size,[In, Optional] const void* srcData,[In] unsigned int pitch,[In] const D2D1_BITMAP_PROPERTIES* bitmapProperties,[Out, Fast] ID2D1Bitmap** bitmap)</unmanaged>
<unmanaged-short>ID2D1RenderTarget::CreateBitmap</unmanaged-short>
</member>
<member name="M:SharpDX.Direct2D1.Bitmap.#ctor(SharpDX.Direct2D1.RenderTarget,SharpDX.Direct2D1.Bitmap)">
<summary>
Creates an <see cref="T:SharpDX.Direct2D1.Bitmap"/> whose data is shared with another resource.
</summary>
<param name="renderTarget">an instance of <see cref = "T:SharpDX.Direct2D1.RenderTarget" /></param>
<param name="bitmap">An <see cref="T:SharpDX.Direct2D1.Bitmap"/> that contains the data to share with the new ID2D1Bitmap. For more information, see the Remarks section.</param>
<msdn-id>dd371865</msdn-id>
<unmanaged>HRESULT ID2D1RenderTarget::CreateSharedBitmap([In] const GUID& riid,[In] void* data,[In, Optional] const D2D1_BITMAP_PROPERTIES* bitmapProperties,[Out, Fast] ID2D1Bitmap** bitmap)</unmanaged>
<unmanaged-short>ID2D1RenderTarget::CreateSharedBitmap</unmanaged-short>
</member>
<member name="M:SharpDX.Direct2D1.Bitmap.#ctor(SharpDX.Direct2D1.RenderTarget,SharpDX.Direct2D1.Bitmap,System.Nullable{SharpDX.Direct2D1.BitmapProperties})">
<summary>
Creates an <see cref="T:SharpDX.Direct2D1.Bitmap"/> whose data is shared with another resource.
</summary>
<param name="renderTarget">an instance of <see cref = "T:SharpDX.Direct2D1.RenderTarget" /></param>
<param name="bitmap">An <see cref="T:SharpDX.Direct2D1.Bitmap"/> that contains the data to share with the new ID2D1Bitmap. For more information, see the Remarks section.</param>
<param name="bitmapProperties">The pixel format and DPI of the bitmap to create . The <see cref="T:SharpDX.DXGI.Format"/> portion of the pixel format must match the <see cref="T:SharpDX.DXGI.Format"/> of data or the method will fail, but the alpha modes don't have to match. To prevent a mismatch, you can pass NULL or the value obtained from the {{D2D1::PixelFormat}} helper function. The DPI settings do not have to match those of data. If both dpiX and dpiY are 0.0f, the default DPI, 96, is used.</param>
<msdn-id>dd371865</msdn-id>
<unmanaged>HRESULT ID2D1RenderTarget::CreateSharedBitmap([In] const GUID& riid,[In] void* data,[In, Optional] const D2D1_BITMAP_PROPERTIES* bitmapProperties,[Out, Fast] ID2D1Bitmap** bitmap)</unmanaged>
<unmanaged-short>ID2D1RenderTarget::CreateSharedBitmap</unmanaged-short>
</member>
<member name="M:SharpDX.Direct2D1.Bitmap.#ctor(SharpDX.Direct2D1.RenderTarget,SharpDX.DXGI.Surface)">
<summary>
Creates an <see cref="T:SharpDX.Direct2D1.Bitmap"/> whose data is shared with another resource.
</summary>
<param name="renderTarget">an instance of <see cref = "T:SharpDX.Direct2D1.RenderTarget" /></param>
<param name="surface">An <see cref="T:SharpDX.DXGI.Surface"/> that contains the data to share with the new ID2D1Bitmap. For more information, see the Remarks section.</param>
<msdn-id>dd371865</msdn-id>
<unmanaged>HRESULT ID2D1RenderTarget::CreateSharedBitmap([In] const GUID& riid,[In] void* data,[In, Optional] const D2D1_BITMAP_PROPERTIES* bitmapProperties,[Out, Fast] ID2D1Bitmap** bitmap)</unmanaged>
<unmanaged-short>ID2D1RenderTarget::CreateSharedBitmap</unmanaged-short>
</member>
<member name="M:SharpDX.Direct2D1.Bitmap.#ctor(SharpDX.Direct2D1.RenderTarget,SharpDX.DXGI.Surface,System.Nullable{SharpDX.Direct2D1.BitmapProperties})">
<summary>
Creates an <see cref="T:SharpDX.Direct2D1.Bitmap"/> whose data is shared with another resource.
</summary>
<param name="renderTarget">an instance of <see cref = "T:SharpDX.Direct2D1.RenderTarget" /></param>
<param name="surface">An <see cref="T:SharpDX.DXGI.Surface"/> that contains the data to share with the new ID2D1Bitmap. For more information, see the Remarks section.</param>
<param name="bitmapProperties">The pixel format and DPI of the bitmap to create . The <see cref="T:SharpDX.DXGI.Format"/> portion of the pixel format must match the <see cref="T:SharpDX.DXGI.Format"/> of data or the method will fail, but the alpha modes don't have to match. To prevent a mismatch, you can pass NULL or the value obtained from the {{D2D1::PixelFormat}} helper function. The DPI settings do not have to match those of data. If both dpiX and dpiY are 0.0f, the default DPI, 96, is used.</param>
<msdn-id>dd371865</msdn-id>
<unmanaged>HRESULT ID2D1RenderTarget::CreateSharedBitmap([In] const GUID& riid,[In] void* data,[In, Optional] const D2D1_BITMAP_PROPERTIES* bitmapProperties,[Out, Fast] ID2D1Bitmap** bitmap)</unmanaged>
<unmanaged-short>ID2D1RenderTarget::CreateSharedBitmap</unmanaged-short>
</member>
<member name="M:SharpDX.Direct2D1.Bitmap.#ctor(SharpDX.Direct2D1.RenderTarget,SharpDX.WIC.BitmapLock)">
<summary>
Creates an <see cref="T:SharpDX.Direct2D1.Bitmap"/> that points to the bitmap data already stored in the <see cref="T:SharpDX.WIC.BitmapLock"/>.
</summary>
<param name="renderTarget">An instance of <see cref="T:SharpDX.Direct2D1.RenderTarget" />.</param>
<param name="bitmapLock">An <see cref="T:SharpDX.Direct2D1.RenderTarget" /> that contains the data to share with the new <see cref="T:SharpDX.Direct2D1.Bitmap"/>.</param>
<msdn-id>dd371865</msdn-id>
<unmanaged>HRESULT ID2D1RenderTarget::CreateSharedBitmap([In] const GUID& riid,[In] void* data,[In, Optional] const D2D1_BITMAP_PROPERTIES* bitmapProperties,[Out, Fast] ID2D1Bitmap** bitmap)</unmanaged>
<unmanaged-short>ID2D1RenderTarget::CreateSharedBitmap</unmanaged-short>
</member>
<member name="M:SharpDX.Direct2D1.Bitmap.#ctor(SharpDX.Direct2D1.RenderTarget,SharpDX.WIC.BitmapLock,System.Nullable{SharpDX.Direct2D1.BitmapProperties})">
<summary>
Creates an <see cref="T:SharpDX.Direct2D1.Bitmap"/> that points to the bitmap data already stored in the <see cref="T:SharpDX.WIC.BitmapLock"/>.
</summary>
<param name="renderTarget">An instance of <see cref="T:SharpDX.Direct2D1.RenderTarget" />.</param>
<param name="bitmapLock">An <see cref="T:SharpDX.Direct2D1.RenderTarget" /> that contains the data to share with the new <see cref="T:SharpDX.Direct2D1.Bitmap"/>.</param>
<param name="bitmapProperties">The pixel format and DPI of the bitmap to create . The <see cref="T:SharpDX.DXGI.Format"/> portion of the pixel format must match the <see cref="T:SharpDX.DXGI.Format"/> of data or the method will fail, but the alpha modes don't have to match. To prevent a mismatch, you can pass NULL or the value obtained from the {{D2D1::PixelFormat}} helper function. The DPI settings do not have to match those of data. If both dpiX and dpiY are 0.0f, the default DPI, 96, is used.</param>
<msdn-id>dd371865</msdn-id>
<unmanaged>HRESULT ID2D1RenderTarget::CreateSharedBitmap([In] const GUID& riid,[In] void* data,[In, Optional] const D2D1_BITMAP_PROPERTIES* bitmapProperties,[Out, Fast] ID2D1Bitmap** bitmap)</unmanaged>
<unmanaged-short>ID2D1RenderTarget::CreateSharedBitmap</unmanaged-short>
</member>
<member name="M:SharpDX.Direct2D1.Bitmap.New``1(SharpDX.Direct2D1.RenderTarget,SharpDX.Size2,``0[],SharpDX.Direct2D1.BitmapProperties)">
<summary>
Creates a Direct2D bitmap from a pointer to in-memory source data.
</summary>
<param name="renderTarget">an instance of <see cref = "T:SharpDX.Direct2D1.RenderTarget" /></param>
<param name="size">The dimension of the bitmap to create in pixels.</param>
<param name="pixelDatas">A pointer to an array of pixel data. The size of the array must be equal to sizeof(pixel) * Size.Width * Height.</param>
<param name="bitmapProperties">The pixel format and dots per inch (DPI) of the bitmap to create.</param>
<msdn-id>dd371800</msdn-id>
<unmanaged>HRESULT ID2D1RenderTarget::CreateBitmap([In] D2D_SIZE_U size,[In, Optional] const void* srcData,[In] unsigned int pitch,[In] const D2D1_BITMAP_PROPERTIES* bitmapProperties,[Out, Fast] ID2D1Bitmap** bitmap)</unmanaged>
<unmanaged-short>ID2D1RenderTarget::CreateBitmap</unmanaged-short>
</member>
<member name="M:SharpDX.Direct2D1.Bitmap.FromWicBitmap(SharpDX.Direct2D1.RenderTarget,SharpDX.WIC.BitmapSource)">
<summary>
Creates a Bitmap from a WIC bitmap.
</summary>
<param name="renderTarget">The render target.</param>
<param name="wicBitmapSource">A reference to a <see cref="T:SharpDX.WIC.BitmapSource"/> WIC bitmap.</param>
<returns></returns>
<msdn-id>dd371797</msdn-id>
<unmanaged>HRESULT ID2D1RenderTarget::CreateBitmapFromWicBitmap([In] IWICBitmapSource* wicBitmapSource,[In, Optional] const D2D1_BITMAP_PROPERTIES* bitmapProperties,[Out] ID2D1Bitmap** bitmap)</unmanaged>
<unmanaged-short>ID2D1RenderTarget::CreateBitmapFromWicBitmap</unmanaged-short>
</member>
<member name="M:SharpDX.Direct2D1.Bitmap.FromWicBitmap(SharpDX.Direct2D1.RenderTarget,SharpDX.WIC.BitmapSource,SharpDX.Direct2D1.BitmapProperties)">
<summary>
Creates a Bitmap from a WIC bitmap.
</summary>
<param name="renderTarget">The render target.</param>
<param name="wicBitmap">The WIC bitmap.</param>
<param name="bitmapProperties">The bitmap properties.</param>
<returns></returns>
<msdn-id>dd371797</msdn-id>
<unmanaged>HRESULT ID2D1RenderTarget::CreateBitmapFromWicBitmap([In] IWICBitmapSource* wicBitmapSource,[In, Optional] const D2D1_BITMAP_PROPERTIES* bitmapProperties,[Out] ID2D1Bitmap** bitmap)</unmanaged>
<unmanaged-short>ID2D1RenderTarget::CreateBitmapFromWicBitmap</unmanaged-short>
</member>
<member name="M:SharpDX.Direct2D1.Bitmap.CopyFromBitmap(SharpDX.Direct2D1.Bitmap)">
<summary>
Copies the specified region from the specified bitmap into the current bitmap.
</summary>
<remarks>
This method does not update the size of the current bitmap. If the contents of the source bitmap do not fit in the current bitmap, this method fails. Also, note that this method does not perform format conversion, and will fail if the bitmap formats do not match. Calling this method may cause the current batch to flush if the bitmap is active in the batch. If the batch that was flushed does not complete successfully, this method fails. However, this method does not clear the error state of the render target on which the batch was flushed. The failing <see cref="T:System.Int32"/> and tag state will be returned at the next call to {{EndDraw}} or {{Flush}}.
</remarks>
<param name="sourceBitmap">The bitmap to copy from. </param>
<returns>If the method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code. </returns>
<msdn-id>dd371152</msdn-id>
<unmanaged>HRESULT ID2D1Bitmap::CopyFromBitmap([In, Optional] const D2D_POINT_2U* destPoint,[In] ID2D1Bitmap* bitmap,[In, Optional] const D2D_RECT_U* srcRect)</unmanaged>
<unmanaged-short>ID2D1Bitmap::CopyFromBitmap</unmanaged-short>
</member>
<member name="M:SharpDX.Direct2D1.Bitmap.CopyFromBitmap(SharpDX.Direct2D1.Bitmap,SharpDX.Mathematics.Interop.RawPoint)">
<summary>
Copies the specified region from the specified bitmap into the current bitmap.
</summary>
<remarks>
This method does not update the size of the current bitmap. If the contents of the source bitmap do not fit in the current bitmap, this method fails. Also, note that this method does not perform format conversion, and will fail if the bitmap formats do not match. Calling this method may cause the current batch to flush if the bitmap is active in the batch. If the batch that was flushed does not complete successfully, this method fails. However, this method does not clear the error state of the render target on which the batch was flushed. The failing <see cref="T:System.Int32"/> and tag state will be returned at the next call to {{EndDraw}} or {{Flush}}.
</remarks>
<param name="sourceBitmap">The bitmap to copy from. </param>
<param name="destinationPoint">In the current bitmap, the upper-left corner of the area to which the region specified by srcRect is copied. </param>
<returns>If the method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code. </returns>
<msdn-id>dd371152</msdn-id>
<unmanaged>HRESULT ID2D1Bitmap::CopyFromBitmap([In, Optional] const D2D_POINT_2U* destPoint,[In] ID2D1Bitmap* bitmap,[In, Optional] const D2D_RECT_U* srcRect)</unmanaged>
<unmanaged-short>ID2D1Bitmap::CopyFromBitmap</unmanaged-short>
</member>
<member name="M:SharpDX.Direct2D1.Bitmap.CopyFromBitmap(SharpDX.Direct2D1.Bitmap,SharpDX.Mathematics.Interop.RawPoint,SharpDX.Mathematics.Interop.RawRectangle)">
<summary>
Copies the specified region from the specified bitmap into the current bitmap.
</summary>
<remarks>
This method does not update the size of the current bitmap. If the contents of the source bitmap do not fit in the current bitmap, this method fails. Also, note that this method does not perform format conversion, and will fail if the bitmap formats do not match. Calling this method may cause the current batch to flush if the bitmap is active in the batch. If the batch that was flushed does not complete successfully, this method fails. However, this method does not clear the error state of the render target on which the batch was flushed. The failing <see cref="T:System.Int32"/> and tag state will be returned at the next call to {{EndDraw}} or {{Flush}}.
</remarks>
<param name="sourceBitmap">The bitmap to copy from. </param>
<param name="sourceArea">The area of bitmap to copy. </param>
<param name="destinationPoint">In the current bitmap, the upper-left corner of the area to which the region specified by srcRect is copied. </param>
<returns>If the method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code. </returns>
<msdn-id>dd371152</msdn-id>
<unmanaged>HRESULT ID2D1Bitmap::CopyFromBitmap([In, Optional] const D2D_POINT_2U* destPoint,[In] ID2D1Bitmap* bitmap,[In, Optional] const D2D_RECT_U* srcRect)</unmanaged>
<unmanaged-short>ID2D1Bitmap::CopyFromBitmap</unmanaged-short>
</member>
<member name="M:SharpDX.Direct2D1.Bitmap.CopyFromMemory(System.IntPtr,System.Int32)">
<summary>
Copies the specified region from memory into the current bitmap.
</summary>
<remarks>
This method does not update the size of the current bitmap. If the contents of the source bitmap do not fit in the current bitmap, this method fails. Also, note that this method does not perform format conversion; the two bitmap formats should match. Passing this method invalid input, such as an invalid destination rectangle, can produce unpredictable results, such as a distorted image or device failure. Calling this method may cause the current batch to flush if the bitmap is active in the batch. If the batch that was flushed does not complete successfully, this method fails. However, this method does not clear the error state of the render target on which the batch was flushed. The failing <see cref="T:System.Int32"/> and tag state will be returned at the next call to {{EndDraw}} or {{Flush}}.
</remarks>
<param name="pointer">The data to copy. </param>
<param name="pitch">The stride, or pitch, of the source bitmap stored in srcData. The stride is the byte count of a scanline (one row of pixels in memory). The stride can be computed from the following formula: pixel width * bytes per pixel + memory padding. </param>
<returns>If the method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code. </returns>
<msdn-id>dd371155</msdn-id>
<unmanaged>HRESULT ID2D1Bitmap::CopyFromMemory([In, Optional] const D2D_RECT_U* dstRect,[In] const void* srcData,[In] unsigned int pitch)</unmanaged>
<unmanaged-short>ID2D1Bitmap::CopyFromMemory</unmanaged-short>
</member>
<member name="M:SharpDX.Direct2D1.Bitmap.CopyFromMemory(System.Byte[],System.Int32)">
<summary>
Copies the specified region from memory into the current bitmap.
</summary>
<remarks>
This method does not update the size of the current bitmap. If the contents of the source bitmap do not fit in the current bitmap, this method fails. Also, note that this method does not perform format conversion; the two bitmap formats should match. Passing this method invalid input, such as an invalid destination rectangle, can produce unpredictable results, such as a distorted image or device failure. Calling this method may cause the current batch to flush if the bitmap is active in the batch. If the batch that was flushed does not complete successfully, this method fails. However, this method does not clear the error state of the render target on which the batch was flushed. The failing <see cref="T:System.Int32"/> and tag state will be returned at the next call to {{EndDraw}} or {{Flush}}.
</remarks>
<param name="memory">The data to copy. </param>
<param name="pitch">The stride, or pitch, of the source bitmap stored in srcData. The stride is the byte count of a scanline (one row of pixels in memory). The stride can be computed from the following formula: pixel width * bytes per pixel + memory padding. </param>
<returns>If the method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code. </returns>
<msdn-id>dd371155</msdn-id>
<unmanaged>HRESULT ID2D1Bitmap::CopyFromMemory([In, Optional] const D2D_RECT_U* dstRect,[In] const void* srcData,[In] unsigned int pitch)</unmanaged>
<unmanaged-short>ID2D1Bitmap::CopyFromMemory</unmanaged-short>
</member>
<member name="M:SharpDX.Direct2D1.Bitmap.CopyFromMemory``1(``0[],System.Int32)">
<summary>
Copies the specified region from memory into the current bitmap.
</summary>
<remarks>
This method does not update the size of the current bitmap. If the contents of the source bitmap do not fit in the current bitmap, this method fails. Also, note that this method does not perform format conversion; the two bitmap formats should match. Passing this method invalid input, such as an invalid destination rectangle, can produce unpredictable results, such as a distorted image or device failure. Calling this method may cause the current batch to flush if the bitmap is active in the batch. If the batch that was flushed does not complete successfully, this method fails. However, this method does not clear the error state of the render target on which the batch was flushed. The failing <see cref="T:System.Int32"/> and tag state will be returned at the next call to {{EndDraw}} or {{Flush}}.
</remarks>
<param name="memory">The data to copy. </param>
<param name="pitch">The stride, or pitch, of the source bitmap stored in srcData. The stride is the byte count of a scanline (one row of pixels in memory). The stride can be computed from the following formula: pixel width * bytes per pixel + memory padding. </param>
<returns>If the method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code. </returns>
<msdn-id>dd371155</msdn-id>
<unmanaged>HRESULT ID2D1Bitmap::CopyFromMemory([In, Optional] const D2D_RECT_U* dstRect,[In] const void* srcData,[In] unsigned int pitch)</unmanaged>
<unmanaged-short>ID2D1Bitmap::CopyFromMemory</unmanaged-short>
</member>
<member name="M:SharpDX.Direct2D1.Bitmap.CopyFromMemory(System.IntPtr,System.Int32,SharpDX.Mathematics.Interop.RawRectangle)">
<summary>
Copies the specified region from memory into the current bitmap.
</summary>
<remarks>
This method does not update the size of the current bitmap. If the contents of the source bitmap do not fit in the current bitmap, this method fails. Also, note that this method does not perform format conversion; the two bitmap formats should match. Passing this method invalid input, such as an invalid destination rectangle, can produce unpredictable results, such as a distorted image or device failure. Calling this method may cause the current batch to flush if the bitmap is active in the batch. If the batch that was flushed does not complete successfully, this method fails. However, this method does not clear the error state of the render target on which the batch was flushed. The failing <see cref="T:System.Int32"/> and tag state will be returned at the next call to {{EndDraw}} or {{Flush}}.
</remarks>
<param name="pointer">The data to copy. </param>
<param name="pitch">The stride, or pitch, of the source bitmap stored in srcData. The stride is the byte count of a scanline (one row of pixels in memory). The stride can be computed from the following formula: pixel width * bytes per pixel + memory padding. </param>
<param name="destinationArea">In the current bitmap, the upper-left corner of the area to which the region specified by srcRect is copied. </param>
<returns>If the method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code. </returns>
<msdn-id>dd371155</msdn-id>
<unmanaged>HRESULT ID2D1Bitmap::CopyFromMemory([In, Optional] const D2D_RECT_U* dstRect,[In] const void* srcData,[In] unsigned int pitch)</unmanaged>
<unmanaged-short>ID2D1Bitmap::CopyFromMemory</unmanaged-short>
</member>
<member name="M:SharpDX.Direct2D1.Bitmap.CopyFromMemory(System.Byte[],System.Int32,SharpDX.Mathematics.Interop.RawRectangle)">
<summary>
Copies the specified region from memory into the current bitmap.
</summary>
<remarks>
This method does not update the size of the current bitmap. If the contents of the source bitmap do not fit in the current bitmap, this method fails. Also, note that this method does not perform format conversion; the two bitmap formats should match. Passing this method invalid input, such as an invalid destination rectangle, can produce unpredictable results, such as a distorted image or device failure. Calling this method may cause the current batch to flush if the bitmap is active in the batch. If the batch that was flushed does not complete successfully, this method fails. However, this method does not clear the error state of the render target on which the batch was flushed. The failing <see cref="T:System.Int32"/> and tag state will be returned at the next call to {{EndDraw}} or {{Flush}}.
</remarks>
<param name="memory">The data to copy. </param>
<param name="pitch">The stride, or pitch, of the source bitmap stored in srcData. The stride is the byte count of a scanline (one row of pixels in memory). The stride can be computed from the following formula: pixel width * bytes per pixel + memory padding. </param>
<param name="destinationArea">In the current bitmap, the upper-left corner of the area to which the region specified by srcRect is copied. </param>
<returns>If the method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code. </returns>
<msdn-id>dd371155</msdn-id>
<unmanaged>HRESULT ID2D1Bitmap::CopyFromMemory([In, Optional] const D2D_RECT_U* dstRect,[In] const void* srcData,[In] unsigned int pitch)</unmanaged>
<unmanaged-short>ID2D1Bitmap::CopyFromMemory</unmanaged-short>
</member>
<member name="M:SharpDX.Direct2D1.Bitmap.CopyFromMemory``1(``0[],System.Int32,SharpDX.Mathematics.Interop.RawRectangle)">
<summary>
Copies the specified region from memory into the current bitmap.
</summary>
<remarks>
This method does not update the size of the current bitmap. If the contents of the source bitmap do not fit in the current bitmap, this method fails. Also, note that this method does not perform format conversion; the two bitmap formats should match. Passing this method invalid input, such as an invalid destination rectangle, can produce unpredictable results, such as a distorted image or device failure. Calling this method may cause the current batch to flush if the bitmap is active in the batch. If the batch that was flushed does not complete successfully, this method fails. However, this method does not clear the error state of the render target on which the batch was flushed. The failing <see cref="T:System.Int32"/> and tag state will be returned at the next call to {{EndDraw}} or {{Flush}}.
</remarks>
<param name="memory">The data to copy. </param>
<param name="pitch">The stride, or pitch, of the source bitmap stored in srcData. The stride is the byte count of a scanline (one row of pixels in memory). The stride can be computed from the following formula: pixel width * bytes per pixel + memory padding. </param>
<param name="destinationArea">In the current bitmap, the upper-left corner of the area to which the region specified by srcRect is copied. </param>
<returns>If the method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code. </returns>
<msdn-id>dd371155</msdn-id>
<unmanaged>HRESULT ID2D1Bitmap::CopyFromMemory([In, Optional] const D2D_RECT_U* dstRect,[In] const void* srcData,[In] unsigned int pitch)</unmanaged>
<unmanaged-short>ID2D1Bitmap::CopyFromMemory</unmanaged-short>
</member>
<member name="M:SharpDX.Direct2D1.Bitmap.CopyFromRenderTarget(SharpDX.Direct2D1.RenderTarget)">
<summary>
Copies the specified region from the specified render target into the current bitmap.
</summary>
<remarks>
This method does not update the size of the current bitmap. If the contents of the source bitmap do not fit in the current bitmap, this method fails. Also, note that this method does not perform format conversion, and will fail if the bitmap formats do not match. Calling this method may cause the current batch to flush if the bitmap is active in the batch. If the batch that was flushed does not complete successfully, this method fails. However, this method does not clear the error state of the render target on which the batch was flushed. The failing <see cref="T:System.Int32"/> and tag state will be returned at the next call to {{EndDraw}} or {{Flush}}. All clips and layers must be popped off of the render target before calling this method. The method returns {{D2DERR_RENDER_TARGET_HAS_LAYER_OR_CLIPRECT}} if any clips or layers are currently applied to the render target.
</remarks>
<param name="renderTarget">The render target that contains the region to copy. </param>
<returns>If the method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code. </returns>
<msdn-id>dd371158</msdn-id>
<unmanaged>HRESULT ID2D1Bitmap::CopyFromRenderTarget([In, Optional] const D2D_POINT_2U* destPoint,[In] ID2D1RenderTarget* renderTarget,[In, Optional] const D2D_RECT_U* srcRect)</unmanaged>
<unmanaged-short>ID2D1Bitmap::CopyFromRenderTarget</unmanaged-short>
</member>
<member name="M:SharpDX.Direct2D1.Bitmap.CopyFromRenderTarget(SharpDX.Direct2D1.RenderTarget,SharpDX.Mathematics.Interop.RawPoint)">
<summary>
Copies the specified region from the specified render target into the current bitmap.
</summary>
<remarks>
This method does not update the size of the current bitmap. If the contents of the source bitmap do not fit in the current bitmap, this method fails. Also, note that this method does not perform format conversion, and will fail if the bitmap formats do not match. Calling this method may cause the current batch to flush if the bitmap is active in the batch. If the batch that was flushed does not complete successfully, this method fails. However, this method does not clear the error state of the render target on which the batch was flushed. The failing <see cref="T:System.Int32"/> and tag state will be returned at the next call to {{EndDraw}} or {{Flush}}. All clips and layers must be popped off of the render target before calling this method. The method returns {{D2DERR_RENDER_TARGET_HAS_LAYER_OR_CLIPRECT}} if any clips or layers are currently applied to the render target.
</remarks>
<param name="renderTarget">The render target that contains the region to copy. </param>
<param name="destinationPoint">In the current bitmap, the upper-left corner of the area to which the region specified by srcRect is copied. </param>
<returns>If the method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code. </returns>
<msdn-id>dd371158</msdn-id>
<unmanaged>HRESULT ID2D1Bitmap::CopyFromRenderTarget([In, Optional] const D2D_POINT_2U* destPoint,[In] ID2D1RenderTarget* renderTarget,[In, Optional] const D2D_RECT_U* srcRect)</unmanaged>
<unmanaged-short>ID2D1Bitmap::CopyFromRenderTarget</unmanaged-short>
</member>
<member name="M:SharpDX.Direct2D1.Bitmap.CopyFromRenderTarget(SharpDX.Direct2D1.RenderTarget,SharpDX.Mathematics.Interop.RawPoint,SharpDX.Mathematics.Interop.RawRectangle)">
<summary>
Copies the specified region from the specified render target into the current bitmap.
</summary>
<remarks>
This method does not update the size of the current bitmap. If the contents of the source bitmap do not fit in the current bitmap, this method fails. Also, note that this method does not perform format conversion, and will fail if the bitmap formats do not match. Calling this method may cause the current batch to flush if the bitmap is active in the batch. If the batch that was flushed does not complete successfully, this method fails. However, this method does not clear the error state of the render target on which the batch was flushed. The failing <see cref="T:System.Int32"/> and tag state will be returned at the next call to {{EndDraw}} or {{Flush}}. All clips and layers must be popped off of the render target before calling this method. The method returns {{D2DERR_RENDER_TARGET_HAS_LAYER_OR_CLIPRECT}} if any clips or layers are currently applied to the render target.
</remarks>
<param name="renderTarget">The render target that contains the region to copy. </param>
<param name="destinationPoint">In the current bitmap, the upper-left corner of the area to which the region specified by srcRect is copied. </param>
<param name="sourceArea">The area of renderTarget to copy. </param>
<returns>If the method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code. </returns>
<msdn-id>dd371158</msdn-id>
<unmanaged>HRESULT ID2D1Bitmap::CopyFromRenderTarget([In, Optional] const D2D_POINT_2U* destPoint,[In] ID2D1RenderTarget* renderTarget,[In, Optional] const D2D_RECT_U* srcRect)</unmanaged>
<unmanaged-short>ID2D1Bitmap::CopyFromRenderTarget</unmanaged-short>
</member>
<member name="M:SharpDX.Direct2D1.Bitmap.CopyFromStream(System.IO.Stream,System.Int32,System.Int32)">
<summary>
Copies the specified region from a stream into the current bitmap.
</summary>
<remarks>
This method does not update the size of the current bitmap. If the contents of the source bitmap do not fit in the current bitmap, this method fails. Also, note that this method does not perform format conversion; the two bitmap formats should match. Passing this method invalid input, such as an invalid destination rectangle, can produce unpredictable results, such as a distorted image or device failure. Calling this method may cause the current batch to flush if the bitmap is active in the batch. If the batch that was flushed does not complete successfully, this method fails. However, this method does not clear the error state of the render target on which the batch was flushed. The failing <see cref="T:System.Int32"/> and tag state will be returned at the next call to {{EndDraw}} or {{Flush}}.
</remarks>
<param name="stream">The stream to copy the data from. </param>
<param name="length">Length in bytes of the data to copy from the stream.</param>
<param name="pitch">The stride, or pitch, of the source bitmap stored in srcData. The stride is the byte count of a scanline (one row of pixels in memory). The stride can be computed from the following formula: pixel width * bytes per pixel + memory padding. </param>
<returns>If the method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code. </returns>
<msdn-id>dd371155</msdn-id>
<unmanaged>HRESULT ID2D1Bitmap::CopyFromMemory([In, Optional] const D2D_RECT_U* dstRect,[In] const void* srcData,[In] unsigned int pitch)</unmanaged>
<unmanaged-short>ID2D1Bitmap::CopyFromMemory</unmanaged-short>
</member>
<member name="M:SharpDX.Direct2D1.Bitmap.CopyFromStream(System.IO.Stream,System.Int32,System.Int32,SharpDX.Mathematics.Interop.RawRectangle)">
<summary>
Copies the specified region from a stream into the current bitmap.
</summary>
<remarks>
This method does not update the size of the current bitmap. If the contents of the source bitmap do not fit in the current bitmap, this method fails. Also, note that this method does not perform format conversion; the two bitmap formats should match. Passing this method invalid input, such as an invalid destination rectangle, can produce unpredictable results, such as a distorted image or device failure. Calling this method may cause the current batch to flush if the bitmap is active in the batch. If the batch that was flushed does not complete successfully, this method fails. However, this method does not clear the error state of the render target on which the batch was flushed. The failing <see cref="T:System.Int32"/> and tag state will be returned at the next call to {{EndDraw}} or {{Flush}}.
</remarks>
<param name="stream">The stream to copy the data from. </param>
<param name="length">Length in bytes of the data to copy from the stream.</param>
<param name="pitch">The stride, or pitch, of the source bitmap stored in srcData. The stride is the byte count of a scanline (one row of pixels in memory). The stride can be computed from the following formula: pixel width * bytes per pixel + memory padding. </param>
<param name="destinationArea">In the current bitmap, the upper-left corner of the area to which the region specified by srcRect is copied. </param>
<returns>If the method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code. </returns>
<msdn-id>dd371155</msdn-id>
<unmanaged>HRESULT ID2D1Bitmap::CopyFromMemory([In, Optional] const D2D_RECT_U* dstRect,[In] const void* srcData,[In] unsigned int pitch)</unmanaged>
<unmanaged-short>ID2D1Bitmap::CopyFromMemory</unmanaged-short>
</member>
<member name="P:SharpDX.Direct2D1.Bitmap.DotsPerInch">
<summary>
Return the dots per inch (DPI) of the bitmap.
</summary>
<value>The dots per inch (DPI) of the bitmap.</value>
</member>
<member name="M:SharpDX.Direct2D1.Bitmap.#ctor(System.IntPtr)">
<summary>
Initializes a new instance of the <see cref="T:SharpDX.Direct2D1.Bitmap"/> class.
</summary>
<param name="nativePtr">The native pointer.</param>
</member>
<member name="M:SharpDX.Direct2D1.Bitmap.op_Explicit(System.IntPtr)~SharpDX.Direct2D1.Bitmap">
<summary>
Performs an explicit conversion from <see cref="T:System.IntPtr"/> to <see cref="T:SharpDX.Direct2D1.Bitmap"/>. (This method is a shortcut to <see cref="P:SharpDX.CppObject.NativePointer"/>)
</summary>
<param name="nativePointer">The native pointer.</param>
<returns>
The result of the conversion.
</returns>
</member>
<member name="P:SharpDX.Direct2D1.Bitmap.Size">
<summary>
<p>Returns the size, in device-independent pixels (DIPs), of the bitmap.</p>
</summary>
<remarks>
<p>A DIP is 1/96?of an inch. To retrieve the size in device pixels, use the <strong><see cref="M:SharpDX.Direct2D1.Bitmap.GetPixelSize" /></strong> method.</p>
</remarks>
<!-- No matching elements were found for the following include tag --><include file=".\..\..\Documentation\CodeComments.xml" path="/comments/comment[@id='ID2D1Bitmap::GetSize']/*" />
<msdn-id>dd371170</msdn-id>
<unmanaged>GetSize</unmanaged>
<unmanaged-short>GetSize</unmanaged-short>
<unmanaged>D2D_SIZE_F ID2D1Bitmap::GetSize()</unmanaged>
</member>
<member name="P:SharpDX.Direct2D1.Bitmap.PixelSize">
<summary>
<p>Returns the size, in device-dependent units (pixels), of the bitmap.</p>
</summary>
<!-- No matching elements were found for the following include tag --><include file=".\..\..\Documentation\CodeComments.xml" path="/comments/comment[@id='ID2D1Bitmap::GetPixelSize']/*" />
<msdn-id>dd371167</msdn-id>
<unmanaged>GetPixelSize</unmanaged>
<unmanaged-short>GetPixelSize</unmanaged-short>
<unmanaged>D2D_SIZE_U ID2D1Bitmap::GetPixelSize()</unmanaged>
</member>
<member name="P:SharpDX.Direct2D1.Bitmap.PixelFormat">
<summary>
<p>Retrieves the pixel format and alpha mode of the bitmap.</p>
</summary>
<!-- No matching elements were found for the following include tag --><include file=".\..\..\Documentation\CodeComments.xml" path="/comments/comment[@id='ID2D1Bitmap::GetPixelFormat']/*" />
<msdn-id>dd371164</msdn-id>
<unmanaged>GetPixelFormat</unmanaged>
<unmanaged-short>GetPixelFormat</unmanaged-short>
<unmanaged>D2D1_PIXEL_FORMAT ID2D1Bitmap::GetPixelFormat()</unmanaged>
</member>
<member name="M:SharpDX.Direct2D1.Bitmap.GetSize">
<summary>
<p>Returns the size, in device-independent pixels (DIPs), of the bitmap.</p>
</summary>
<returns><p>The size, in DIPs, of the bitmap.</p></returns>
<remarks>
<p>A DIP is 1/96?of an inch. To retrieve the size in device pixels, use the <strong><see cref="M:SharpDX.Direct2D1.Bitmap.GetPixelSize" /></strong> method.</p>
</remarks>
<!-- No matching elements were found for the following include tag --><include file=".\..\..\Documentation\CodeComments.xml" path="/comments/comment[@id='ID2D1Bitmap::GetSize']/*" />
<msdn-id>dd371170</msdn-id>
<unmanaged>D2D_SIZE_F ID2D1Bitmap::GetSize()</unmanaged>
<unmanaged-short>ID2D1Bitmap::GetSize</unmanaged-short>
</member>
<member name="M:SharpDX.Direct2D1.Bitmap.GetPixelSize">
<summary>
<p>Returns the size, in device-dependent units (pixels), of the bitmap.</p>
</summary>
<returns><p>The size, in pixels, of the bitmap.</p></returns>
<!-- No matching elements were found for the following include tag --><include file=".\..\..\Documentation\CodeComments.xml" path="/comments/comment[@id='ID2D1Bitmap::GetPixelSize']/*" />
<msdn-id>dd371167</msdn-id>
<unmanaged>D2D_SIZE_U ID2D1Bitmap::GetPixelSize()</unmanaged>
<unmanaged-short>ID2D1Bitmap::GetPixelSize</unmanaged-short>
</member>
<member name="M:SharpDX.Direct2D1.Bitmap.GetPixelFormat">
<summary>
<p>Retrieves the pixel format and alpha mode of the bitmap.</p>
</summary>
<returns><p>The pixel format and alpha mode of the bitmap.</p></returns>
<!-- No matching elements were found for the following include tag --><include file=".\..\..\Documentation\CodeComments.xml" path="/comments/comment[@id='ID2D1Bitmap::GetPixelFormat']/*" />
<msdn-id>dd371164</msdn-id>
<unmanaged>D2D1_PIXEL_FORMAT ID2D1Bitmap::GetPixelFormat()</unmanaged>
<unmanaged-short>ID2D1Bitmap::GetPixelFormat</unmanaged-short>
</member>
<member name="M:SharpDX.Direct2D1.Bitmap.GetDpi(System.Single@,System.Single@)">
<summary>
<p>Return the dots per inch (DPI) of the bitmap.</p>
</summary>
<param name="dpiX"><dd> <p>The horizontal DPI of the image. You must allocate storage for this parameter.</p> </dd></param>
<param name="dpiY"><dd> <p>The vertical DPI of the image. You must allocate storage for this parameter.</p> </dd></param>
<!-- No matching elements were found for the following include tag --><include file=".\..\..\Documentation\CodeComments.xml" path="/comments/comment[@id='ID2D1Bitmap::GetDpi']/*" />
<msdn-id>dd371161</msdn-id>
<unmanaged>void ID2D1Bitmap::GetDpi([Out] float* dpiX,[Out] float* dpiY)</unmanaged>
<unmanaged-short>ID2D1Bitmap::GetDpi</unmanaged-short>
</member>
<member name="M:SharpDX.Direct2D1.Bitmap.CopyFromBitmap(System.Nullable{SharpDX.Mathematics.Interop.RawPoint},SharpDX.Direct2D1.Bitmap,System.Nullable{SharpDX.Mathematics.Interop.RawRectangle})">
<summary>
<p>Copies the specified region from the specified bitmap into the current bitmap. </p>
</summary>
<param name="destPoint"><dd> <p>In the current bitmap, the upper-left corner of the area to which the region specified by <em>srcRect</em> is copied.</p> </dd></param>
<param name="bitmap"><dd> <p>The bitmap to copy from.</p> </dd></param>
<param name="srcRect"><dd> <p>The area of <em>bitmap</em> to copy.</p> </dd></param>
<returns><p>If this method succeeds, it returns <strong><see cref="F:SharpDX.Result.Ok" /></strong>. Otherwise, it returns an <strong><see cref="T:SharpDX.Result" /></strong> error code.</p></returns>
<remarks>
<p>This method does not update the size of the current bitmap. If the contents of the source bitmap do not fit in the current bitmap, this method fails. Also, note that this method does not perform format conversion, and will fail if the bitmap formats do not match.</p><p>Calling this method may cause the current batch to flush if the bitmap is active in the batch. If the batch that was flushed does not complete successfully, this method fails. However, this method does not clear the error state of the render target on which the batch was flushed. The failing <strong><see cref="T:SharpDX.Result" /></strong> and tag state will be returned at the next call to <strong>EndDraw</strong> or <strong>Flush</strong>.</p><p>Starting with Windows?8.1, this method supports block compressed bitmaps. If you are using a block compressed format, the end coordinates of the <em>srcRect</em> parameter must be multiples of 4 or the method returns <strong>E_INVALIDARG</strong>.</p>
</remarks>
<!-- No matching elements were found for the following include tag --><include file=".\..\..\Documentation\CodeComments.xml" path="/comments/comment[@id='ID2D1Bitmap::CopyFromBitmap']/*" />
<msdn-id>dd371152</msdn-id>
<unmanaged>HRESULT ID2D1Bitmap::CopyFromBitmap([In, Optional] const D2D_POINT_2U* destPoint,[In] ID2D1Bitmap* bitmap,[In, Optional] const D2D_RECT_U* srcRect)</unmanaged>
<unmanaged-short>ID2D1Bitmap::CopyFromBitmap</unmanaged-short>
</member>
<member name="M:SharpDX.Direct2D1.Bitmap.CopyFromRenderTarget(System.Nullable{SharpDX.Mathematics.Interop.RawPoint},SharpDX.Direct2D1.RenderTarget,System.Nullable{SharpDX.Mathematics.Interop.RawRectangle})">
<summary>
<p>Copies the specified region from the specified render target into the current bitmap. </p>
</summary>
<param name="destPoint"><dd> <p>In the current bitmap, the upper-left corner of the area to which the region specified by <em>srcRect</em> is copied.</p> </dd></param>
<param name="renderTarget"><dd> <p>The render target that contains the region to copy.</p> </dd></param>
<param name="srcRect"><dd> <p>The area of <em>renderTarget</em> to copy.</p> </dd></param>
<returns><p>If this method succeeds, it returns <strong><see cref="F:SharpDX.Result.Ok" /></strong>. Otherwise, it returns an <strong><see cref="T:SharpDX.Result" /></strong> error code.</p></returns>
<remarks>
<p>This method does not update the size of the current bitmap. If the contents of the source bitmap do not fit in the current bitmap, this method fails. Also, note that this method does not perform format conversion, and will fail if the bitmap formats do not match.</p><p>Calling this method may cause the current batch to flush if the bitmap is active in the batch. If the batch that was flushed does not complete successfully, this method fails. However, this method does not clear the error state of the render target on which the batch was flushed. The failing <strong><see cref="T:SharpDX.Result" /></strong> and tag state will be returned at the next call to <strong>EndDraw</strong> or <strong>Flush</strong>. </p><p>All clips and layers must be popped off of the render target before calling this method. The method returns <strong><see cref="F:SharpDX.Direct2D1.ResultCode.RenderTargetHasLayerOrCliprect" /></strong> if any clips or layers are currently applied to the render target.</p>
</remarks>
<!-- No matching elements were found for the following include tag --><include file=".\..\..\Documentation\CodeComments.xml" path="/comments/comment[@id='ID2D1Bitmap::CopyFromRenderTarget']/*" />
<msdn-id>dd371158</msdn-id>
<unmanaged>HRESULT ID2D1Bitmap::CopyFromRenderTarget([In, Optional] const D2D_POINT_2U* destPoint,[In] ID2D1RenderTarget* renderTarget,[In, Optional] const D2D_RECT_U* srcRect)</unmanaged>
<unmanaged-short>ID2D1Bitmap::CopyFromRenderTarget</unmanaged-short>
</member>
<member name="M:SharpDX.Direct2D1.Bitmap.CopyFromMemory(System.Nullable{SharpDX.Mathematics.Interop.RawRectangle},System.IntPtr,System.Int32)">
<summary>
<p>Copies the specified region from memory into the current bitmap. </p>
</summary>
<param name="dstRect"><dd> <p>In the current bitmap, the upper-left corner of the area to which the region specified by <em>srcRect</em> is copied.</p> </dd></param>
<param name="srcData"><dd> <p>The data to copy.</p> </dd></param>
<param name="pitch"><dd> <p>The stride, or pitch, of the source bitmap stored in <em>srcData</em>. The stride is the byte count of a scanline (one row of pixels in memory). The stride can be computed from the following formula: pixel width * bytes per pixel + memory padding.</p> </dd></param>
<returns><p>If this method succeeds, it returns <strong><see cref="F:SharpDX.Result.Ok" /></strong>. Otherwise, it returns an <strong><see cref="T:SharpDX.Result" /></strong> error code.</p></returns>
<remarks>
<p>This method does not update the size of the current bitmap. If the contents of the source bitmap do not fit in the current bitmap, this method fails. Also, note that this method does not perform format conversion; the two bitmap formats should match. </p><p>If this method is passed invalid input (such as an invalid destination rectangle), can produce unpredictable results, such as a distorted image or device failure.</p><p>Calling this method may cause the current batch to flush if the bitmap is active in the batch. If the batch that was flushed does not complete successfully, this method fails. However, this method does not clear the error state of the render target on which the batch was flushed. The failing <strong><see cref="T:SharpDX.Result" /></strong> and tag state will be returned at the next call to <strong>EndDraw</strong> or <strong>Flush</strong>. </p><p>Starting with Windows?8.1, this method supports block compressed bitmaps. If you are using a block compressed format, the end coordinates of the <em>srcRect</em> parameter must be multiples of 4 or the method returns <strong>E_INVALIDARG</strong>.</p>
</remarks>
<!-- No matching elements were found for the following include tag --><include file=".\..\..\Documentation\CodeComments.xml" path="/comments/comment[@id='ID2D1Bitmap::CopyFromMemory']/*" />
<msdn-id>dd371155</msdn-id>
<unmanaged>HRESULT ID2D1Bitmap::CopyFromMemory([In, Optional] const D2D_RECT_U* dstRect,[In] const void* srcData,[In] unsigned int pitch)</unmanaged>
<unmanaged-short>ID2D1Bitmap::CopyFromMemory</unmanaged-short>
</member>
<member name="T:SharpDX.Direct2D1.Bitmap1">
<summary>
<p> Represents a bitmap that can be used as a surface for an <strong><see cref="T:SharpDX.Direct2D1.DeviceContext" /></strong> or mapped into system memory, and can contain additional color context information.</p>
</summary>
<!-- No matching elements were found for the following include tag --><include file=".\..\..\Documentation\CodeComments.xml" path="/comments/comment[@id='ID2D1Bitmap1']/*" />
<msdn-id>hh404349</msdn-id>
<unmanaged>ID2D1Bitmap1</unmanaged>
<unmanaged-short>ID2D1Bitmap1</unmanaged-short>
</member>
<member name="M:SharpDX.Direct2D1.Bitmap1.#ctor(SharpDX.Direct2D1.DeviceContext,SharpDX.Size2)">
<summary>
Creates a Direct2D bitmap from a pointer to in-memory source data.
</summary>
<param name="deviceContext">an instance of <see cref = "T:SharpDX.Direct2D1.RenderTarget" /></param>
<param name="size">The dimension of the bitmap to create in pixels.</param>
<unmanaged>HRESULT ID2D1DeviceContext::CreateBitmap([In] D2D_SIZE_U size,[In, Buffer, Optional] const void* sourceData,[In] unsigned int pitch,[In] const D2D1_BITMAP_PROPERTIES1* bitmapProperties,[Out, Fast] ID2D1Bitmap1** bitmap)</unmanaged>
</member>
<member name="M:SharpDX.Direct2D1.Bitmap1.#ctor(SharpDX.Direct2D1.DeviceContext,SharpDX.Size2,SharpDX.Direct2D1.BitmapProperties1)">
<summary>
Creates a Direct2D bitmap from a pointer to in-memory source data.
</summary>
<param name="deviceContext">an instance of <see cref = "T:SharpDX.Direct2D1.RenderTarget" /></param>
<param name="size">The dimension of the bitmap to create in pixels.</param>
<param name="bitmapProperties">The pixel format and dots per inch (DPI) of the bitmap to create.</param>
<unmanaged>HRESULT ID2D1DeviceContext::CreateBitmap([In] D2D_SIZE_U size,[In, Buffer, Optional] const void* sourceData,[In] unsigned int pitch,[In] const D2D1_BITMAP_PROPERTIES1* bitmapProperties,[Out, Fast] ID2D1Bitmap1** bitmap)</unmanaged>
</member>
<member name="M:SharpDX.Direct2D1.Bitmap1.#ctor(SharpDX.Direct2D1.DeviceContext,SharpDX.Size2,SharpDX.DataStream,System.Int32)">
<summary>
Creates a Direct2D bitmap from a pointer to in-memory source data.
</summary>
<param name="deviceContext">an instance of <see cref = "T:SharpDX.Direct2D1.RenderTarget" /></param>
<param name="size">The dimension of the bitmap to create in pixels.</param>
<param name="dataStream">A pointer to the memory location of the image data, or NULL to create an uninitialized bitmap.</param>
<param name="pitch">The byte count of each scanline, which is equal to (the image width in pixels * the number of bytes per pixel) + memory padding. If srcData is NULL, this value is ignored. (Note that pitch is also sometimes called stride.)</param>
<unmanaged>HRESULT ID2D1DeviceContext::CreateBitmap([In] D2D_SIZE_U size,[In, Buffer, Optional] const void* sourceData,[In] unsigned int pitch,[In] const D2D1_BITMAP_PROPERTIES1* bitmapProperties,[Out, Fast] ID2D1Bitmap1** bitmap)</unmanaged>
</member>
<member name="M:SharpDX.Direct2D1.Bitmap1.#ctor(SharpDX.Direct2D1.DeviceContext,SharpDX.Size2,SharpDX.DataStream,System.Int32,SharpDX.Direct2D1.BitmapProperties1)">
<summary>
Creates a Direct2D bitmap from a pointer to in-memory source data.
</summary>
<param name="deviceContext">an instance of <see cref = "T:SharpDX.Direct2D1.RenderTarget" /></param>
<param name="size">The dimension of the bitmap to create in pixels.</param>
<param name="dataStream">A pointer to the memory location of the image data, or NULL to create an uninitialized bitmap.</param>
<param name="pitch">The byte count of each scanline, which is equal to (the image width in pixels * the number of bytes per pixel) + memory padding. If srcData is NULL, this value is ignored. (Note that pitch is also sometimes called stride.)</param>
<param name="bitmapProperties">The pixel format and dots per inch (DPI) of the bitmap to create.</param>
<unmanaged>HRESULT ID2D1DeviceContext::CreateBitmap([In] D2D_SIZE_U size,[In, Buffer, Optional] const void* sourceData,[In] unsigned int pitch,[In] const D2D1_BITMAP_PROPERTIES1* bitmapProperties,[Out, Fast] ID2D1Bitmap1** bitmap)</unmanaged>
</member>
<member name="M:SharpDX.Direct2D1.Bitmap1.#ctor(SharpDX.Direct2D1.DeviceContext,SharpDX.DXGI.Surface)">
<summary>
Creates an <see cref="T:SharpDX.Direct2D1.Bitmap"/> whose data is shared with another resource.
</summary>
<param name="deviceContext">an instance of <see cref = "T:SharpDX.Direct2D1.RenderTarget" /></param>
<param name="surface">An <see cref="T:SharpDX.DXGI.Surface"/> that contains the data to share with the new ID2D1Bitmap. For more information, see the Remarks section.</param>
<unmanaged>HRESULT ID2D1DeviceContext::CreateBitmapFromDxgiSurface([In] IDXGISurface* surface,[In, Optional] const D2D1_BITMAP_PROPERTIES1* bitmapProperties,[Out, Fast] ID2D1Bitmap1** bitmap1)</unmanaged>
</member>
<member name="M:SharpDX.Direct2D1.Bitmap1.#ctor(SharpDX.Direct2D1.DeviceContext,SharpDX.DXGI.Surface,SharpDX.Direct2D1.BitmapProperties1)">
<summary>
Creates an <see cref="T:SharpDX.Direct2D1.Bitmap"/> whose data is shared with another resource.
</summary>
<param name="deviceContext">an instance of <see cref = "T:SharpDX.Direct2D1.RenderTarget" /></param>
<param name="surface">An <see cref="T:SharpDX.DXGI.Surface"/> that contains the data to share with the new ID2D1Bitmap. For more information, see the Remarks section.</param>
<param name="bitmapProperties">The pixel format and DPI of the bitmap to create . The <see cref="T:SharpDX.DXGI.Format"/> portion of the pixel format must match the <see cref="T:SharpDX.DXGI.Format"/> of data or the method will fail, but the alpha modes don't have to match. To prevent a mismatch, you can pass NULL or the value obtained from the {{D2D1::PixelFormat}} helper function. The DPI settings do not have to match those of data. If both dpiX and dpiY are 0.0f, the default DPI, 96, is used.</param>
<unmanaged>HRESULT ID2D1DeviceContext::CreateBitmapFromDxgiSurface([In] IDXGISurface* surface,[In, Optional] const D2D1_BITMAP_PROPERTIES1* bitmapProperties,[Out, Fast] ID2D1Bitmap1** bitmap1)</unmanaged>
</member>
<member name="M:SharpDX.Direct2D1.Bitmap1.FromWicBitmap(SharpDX.Direct2D1.DeviceContext,SharpDX.WIC.BitmapSource)">
<summary>
Creates a Bitmap from a WIC bitmap.
</summary>
<param name="deviceContext">The render target.</param>
<param name="wicBitmapSource">A reference to a <see cref="T:SharpDX.WIC.BitmapSource"/> WIC bitmap.</param>
<returns></returns>
<unmanaged>HRESULT ID2D1DeviceContext::CreateBitmapFromWicBitmap([In] IWICBitmapSource* wicBitmapSource,[In, Optional] const D2D1_BITMAP_PROPERTIES1* bitmapProperties,[Out] ID2D1Bitmap1** bitmap)</unmanaged>
</member>
<member name="M:SharpDX.Direct2D1.Bitmap1.FromWicBitmap(SharpDX.Direct2D1.DeviceContext,SharpDX.WIC.BitmapSource,SharpDX.Direct2D1.BitmapProperties1)">
<summary>
Creates a Bitmap from a WIC bitmap.
</summary>
<param name="deviceContext">The render target.</param>
<param name="wicBitmap">The WIC bitmap.</param>
<param name="bitmapProperties">The bitmap properties.</param>
<returns></returns>
<unmanaged>HRESULT ID2D1DeviceContext::CreateBitmapFromWicBitmap([In] IWICBitmapSource* wicBitmapSource,[In, Optional] const D2D1_BITMAP_PROPERTIES1* bitmapProperties,[Out] ID2D1Bitmap1** bitmap)</unmanaged>
</member>
<member name="M:SharpDX.Direct2D1.Bitmap1.Map(SharpDX.Direct2D1.MapOptions)">
<summary>
Maps the given bitmap into memory.
</summary>
<param name="options"><para>The options used in mapping the bitmap into memory.</para></param>
<returns>a reference to the rectangle that is mapped into memory</returns>
<remarks>
The bitmap must have been created with the <see cref="F:SharpDX.Direct2D1.MapOptions.Read" /> flag specified.The caller should try to unmap the memory as quickly as is feasible to release occupied DMA aperture memory.
</remarks>
<!-- Failed to insert some or all of included XML --><include file=".\..\Documentation\CodeComments.xml" path="/comments/comment[@id='ID2D1Bitmap1::Map']/*" />
<unmanaged>HRESULT ID2D1Bitmap1::Map([In] D2D1_MAP_OPTIONS options,[Out] D2D1_MAPPED_RECT* mappedRect)</unmanaged>
</member>
<member name="M:SharpDX.Direct2D1.Bitmap1.#ctor(System.IntPtr)">
<summary>
Initializes a new instance of the <see cref="T:SharpDX.Direct2D1.Bitmap1"/> class.
</summary>
<param name="nativePtr">The native pointer.</param>
</member>
<member name="M:SharpDX.Direct2D1.Bitmap1.op_Explicit(System.IntPtr)~SharpDX.Direct2D1.Bitmap1">
<summary>
Performs an explicit conversion from <see cref="T:System.IntPtr"/> to <see cref="T:SharpDX.Direct2D1.Bitmap1"/>. (This method is a shortcut to <see cref="P:SharpDX.CppObject.NativePointer"/>)
</summary>
<param name="nativePointer">The native pointer.</param>
<returns>
The result of the conversion.
</returns>
</member>
<member name="P:SharpDX.Direct2D1.Bitmap1.ColorContext">
<summary>
<p>Gets the color context information associated with the bitmap. </p>
</summary>
<remarks>
<p>If the bitmap was created without specifying a color context, the returned context is <strong><c>null</c></strong>.</p>
</remarks>
<!-- No matching elements were found for the following include tag --><include file=".\..\..\Documentation\CodeComments.xml" path="/comments/comment[@id='ID2D1Bitmap1::GetColorContext']/*" />
<msdn-id>hh404350</msdn-id>
<unmanaged>GetColorContext</unmanaged>
<unmanaged-short>GetColorContext</unmanaged-short>
<unmanaged>void ID2D1Bitmap1::GetColorContext([Out, Optional] ID2D1ColorContext** colorContext)</unmanaged>
</member>
<member name="P:SharpDX.Direct2D1.Bitmap1.Options">
<summary>
<p>Gets the options used in creating the bitmap.</p>
</summary>
<!-- No matching elements were found for the following include tag --><include file=".\..\..\Documentation\CodeComments.xml" path="/comments/comment[@id='ID2D1Bitmap1::GetOptions']/*" />
<msdn-id>hh404351</msdn-id>
<unmanaged>GetOptions</unmanaged>
<unmanaged-short>GetOptions</unmanaged-short>
<unmanaged>D2D1_BITMAP_OPTIONS ID2D1Bitmap1::GetOptions()</unmanaged>
</member>
<member name="P:SharpDX.Direct2D1.Bitmap1.Surface">
<summary>
<p>Gets either the surface that was specified when the bitmap was created, or the default surface created when the bitmap was created. </p>
</summary>
<remarks>
<p>The bitmap used must have been created from a DXGI surface render target, a derived render target, or a device context created from an <strong><see cref="T:SharpDX.Direct2D1.Device" /></strong>.</p><p>The returned surface can be used with Microsoft Direct3D or any other API that interoperates with shared surfaces. The application must transitively ensure that the surface is usable on the Direct3D device that is used in this context. For example, if using the surface with Direct2D then the Direct2D render target must have been created through <strong><see cref="M:SharpDX.Direct2D1.Factory.CreateDxgiSurfaceRenderTarget(SharpDX.DXGI.Surface,SharpDX.Direct2D1.RenderTargetProperties@,SharpDX.Direct2D1.RenderTarget)" /></strong> or on a device context created on the same device.</p>
</remarks>
<!-- No matching elements were found for the following include tag --><include file=".\..\..\Documentation\CodeComments.xml" path="/comments/comment[@id='ID2D1Bitmap1::GetSurface']/*" />
<msdn-id>hh404355</msdn-id>
<unmanaged>GetSurface</unmanaged>
<unmanaged-short>GetSurface</unmanaged-short>
<unmanaged>HRESULT ID2D1Bitmap1::GetSurface([Out, Optional] IDXGISurface** dxgiSurface)</unmanaged>
</member>
<member name="M:SharpDX.Direct2D1.Bitmap1.GetColorContext(SharpDX.Direct2D1.ColorContext@)">
<summary>
<p>Gets the color context information associated with the bitmap. </p>
</summary>
<param name="colorContext"><dd> <p>When this method returns, contains the address of a reference to the color context interface associated with the bitmap.</p> </dd></param>
<remarks>
<p>If the bitmap was created without specifying a color context, the returned context is <strong><c>null</c></strong>.</p>
</remarks>
<!-- No matching elements were found for the following include tag --><include file=".\..\..\Documentation\CodeComments.xml" path="/comments/comment[@id='ID2D1Bitmap1::GetColorContext']/*" />
<msdn-id>hh404350</msdn-id>
<unmanaged>void ID2D1Bitmap1::GetColorContext([Out, Optional] ID2D1ColorContext** colorContext)</unmanaged>
<unmanaged-short>ID2D1Bitmap1::GetColorContext</unmanaged-short>
</member>
<member name="M:SharpDX.Direct2D1.Bitmap1.GetOptions">
<summary>
<p>Gets the options used in creating the bitmap.</p>
</summary>
<returns><p>This method returns the options used.</p></returns>
<!-- No matching elements were found for the following include tag --><include file=".\..\..\Documentation\CodeComments.xml" path="/comments/comment[@id='ID2D1Bitmap1::GetOptions']/*" />
<msdn-id>hh404351</msdn-id>
<unmanaged>D2D1_BITMAP_OPTIONS ID2D1Bitmap1::GetOptions()</unmanaged>
<unmanaged-short>ID2D1Bitmap1::GetOptions</unmanaged-short>
</member>
<member name="M:SharpDX.Direct2D1.Bitmap1.GetSurface(SharpDX.DXGI.Surface@)">
<summary>
<p>Gets either the surface that was specified when the bitmap was created, or the default surface created when the bitmap was created. </p>
</summary>
<param name="dxgiSurface"><dd> <p>The underlying DXGI surface for the bitmap.</p> </dd></param>
<returns><p>The method returns an <strong><see cref="T:SharpDX.Result" /></strong>. Possible values include, but are not limited to, those in the following table.</p><table> <tr><th><see cref="T:SharpDX.Result" /></th><th>Description</th></tr> <tr><td><see cref="F:SharpDX.Result.Ok" /></td><td>No error occurred.</td></tr> <tr><td><see cref="F:SharpDX.Direct2D1.ResultCode.BitmapBoundAsTarget" /></td><td>Cannot draw with a bitmap that is currently bound as the target bitmap.</td></tr> </table><p>?</p></returns>
<remarks>
<p>The bitmap used must have been created from a DXGI surface render target, a derived render target, or a device context created from an <strong><see cref="T:SharpDX.Direct2D1.Device" /></strong>.</p><p>The returned surface can be used with Microsoft Direct3D or any other API that interoperates with shared surfaces. The application must transitively ensure that the surface is usable on the Direct3D device that is used in this context. For example, if using the surface with Direct2D then the Direct2D render target must have been created through <strong><see cref="M:SharpDX.Direct2D1.Factory.CreateDxgiSurfaceRenderTarget(SharpDX.DXGI.Surface,SharpDX.Direct2D1.RenderTargetProperties@,SharpDX.Direct2D1.RenderTarget)" /></strong> or on a device context created on the same device.</p>
</remarks>
<!-- No matching elements were found for the following include tag --><include file=".\..\..\Documentation\CodeComments.xml" path="/comments/comment[@id='ID2D1Bitmap1::GetSurface']/*" />
<msdn-id>hh404355</msdn-id>
<unmanaged>HRESULT ID2D1Bitmap1::GetSurface([Out, Optional] IDXGISurface** dxgiSurface)</unmanaged>
<unmanaged-short>ID2D1Bitmap1::GetSurface</unmanaged-short>
</member>
<member name="M:SharpDX.Direct2D1.Bitmap1.Map(SharpDX.Direct2D1.MapOptions,SharpDX.Direct2D1.MappedRectangle@)">
<summary>
<p>Maps the given bitmap into memory.</p>
</summary>
<param name="options"><dd> <p>The options used in mapping the bitmap into memory.</p> </dd></param>
<param name="mappedRect"><dd> <p>When this method returns, contains a reference to the rectangle that is mapped into memory.</p> </dd></param>
<returns><p>The method returns an <strong><see cref="T:SharpDX.Result" /></strong>. Possible values include, but are not limited to, those in the following table.</p><table> <tr><th><see cref="T:SharpDX.Result" /></th><th>Description</th></tr> <tr><td><see cref="F:SharpDX.Result.Ok" /></td><td>No error occurred.</td></tr> <tr><td>E_INVALIDARG</td><td>One or more arguments are not valid</td></tr> <tr><td>D3DERR_DEVICELOST</td><td>The device has been lost but cannot be reset at this time.</td></tr> </table><p>?</p></returns>
<remarks>
<strong>Note</strong>??You can't use bitmaps for some purposes while mapped. Particularly, the <strong><see cref="M:SharpDX.Direct2D1.Bitmap.CopyFromBitmap(SharpDX.Direct2D1.Bitmap)" /></strong> method doesn't work if either the source or destination bitmap is mapped.?<p>The bitmap must have been created with the <strong><see cref="F:SharpDX.Direct2D1.BitmapOptions.CpuRead" /></strong> flag specified.</p>
</remarks>
<!-- No matching elements were found for the following include tag --><include file=".\..\..\Documentation\CodeComments.xml" path="/comments/comment[@id='ID2D1Bitmap1::Map']/*" />
<msdn-id>hh404357</msdn-id>
<unmanaged>HRESULT ID2D1Bitmap1::Map([In] D2D1_MAP_OPTIONS options,[Out] D2D1_MAPPED_RECT* mappedRect)</unmanaged>
<unmanaged-short>ID2D1Bitmap1::Map</unmanaged-short>
</member>
<member name="M:SharpDX.Direct2D1.Bitmap1.Unmap">
<summary>
<p>Unmaps the bitmap from memory. </p>
</summary>
<returns><p>The method returns an <strong><see cref="T:SharpDX.Result" /></strong>. Possible values include, but are not limited to, those in the following table.</p><table> <tr><th><see cref="T:SharpDX.Result" /></th><th>Description</th></tr> <tr><td><see cref="F:SharpDX.Result.Ok" /></td><td>No error occurred.</td></tr> <tr><td>E_INVALIDARG</td><td>One or more arguments are not valid.</td></tr> <tr><td>E_POINTER</td><td>Pointer is not valid.</td></tr> </table><p>?</p></returns>
<remarks>
<p>Any memory returned from the <strong>Map</strong> call is now invalid and may be reclaimed by the operating system or used for other purposes. </p><p>The bitmap must have been previously mapped.</p>
</remarks>
<!-- No matching elements were found for the following include tag --><include file=".\..\..\Documentation\CodeComments.xml" path="/comments/comment[@id='ID2D1Bitmap1::Unmap']/*" />
<msdn-id>hh404359</msdn-id>
<unmanaged>HRESULT ID2D1Bitmap1::Unmap()</unmanaged>
<unmanaged-short>ID2D1Bitmap1::Unmap</unmanaged-short>
</member>
<member name="T:SharpDX.Direct2D1.BitmapBrush">
<summary>
<p>Paints an area with a bitmap.</p>
</summary>
<remarks>
<p> A bitmap brush is used to fill a geometry with a bitmap. Like all brushes, it defines an infinite plane of content. Because bitmaps are finite, the brush relies on an "extend mode" to determine how the plane is filled horizontally and vertically.</p>
</remarks>
<!-- No matching elements were found for the following include tag --><include file=".\..\..\Documentation\CodeComments.xml" path="/comments/comment[@id='ID2D1BitmapBrush']/*" />
<msdn-id>dd371122</msdn-id>
<unmanaged>ID2D1BitmapBrush</unmanaged>
<unmanaged-short>ID2D1BitmapBrush</unmanaged-short>
</member>
<member name="M:SharpDX.Direct2D1.BitmapBrush.#ctor(SharpDX.Direct2D1.RenderTarget,SharpDX.Direct2D1.Bitmap)">
<summary>
Creates an <see cref="T:SharpDX.Direct2D1.BitmapBrush"/> from the specified bitmap.
</summary>
<param name="renderTarget">an instance of <see cref = "T:SharpDX.Direct2D1.RenderTarget" /></param>
<param name="bitmap">The bitmap contents of the new brush.</param>
<unmanaged>HRESULT ID2D1RenderTarget::CreateBitmapBrush([In] ID2D1Bitmap* bitmap,[In, Optional] const D2D1_BITMAP_BRUSH_PROPERTIES* bitmapBrushProperties,[In, Optional] const D2D1_BRUSH_PROPERTIES* brushProperties,[Out, Fast] ID2D1BitmapBrush** bitmapBrush)</unmanaged>
</member>
<member name="M:SharpDX.Direct2D1.BitmapBrush.#ctor(SharpDX.Direct2D1.RenderTarget,SharpDX.Direct2D1.Bitmap,SharpDX.Direct2D1.BitmapBrushProperties)">
<summary>
Creates an <see cref="T:SharpDX.Direct2D1.BitmapBrush"/> from the specified bitmap.
</summary>
<param name="renderTarget">an instance of <see cref = "T:SharpDX.Direct2D1.RenderTarget" /></param>
<param name="bitmap">The bitmap contents of the new brush.</param>
<param name="bitmapBrushProperties">The extend modes and interpolation mode of the new brush, or NULL. If this parameter is NULL, the brush defaults to the <see cref="F:SharpDX.Direct2D1.ExtendMode.Clamp"/> horizontal and vertical extend modes and the <see cref="F:SharpDX.Direct2D1.BitmapInterpolationMode.Linear"/> interpolation mode. </param>
<unmanaged>HRESULT ID2D1RenderTarget::CreateBitmapBrush([In] ID2D1Bitmap* bitmap,[In, Optional] const D2D1_BITMAP_BRUSH_PROPERTIES* bitmapBrushProperties,[In, Optional] const D2D1_BRUSH_PROPERTIES* brushProperties,[Out, Fast] ID2D1BitmapBrush** bitmapBrush)</unmanaged>
</member>
<member name="M:SharpDX.Direct2D1.BitmapBrush.#ctor(SharpDX.Direct2D1.RenderTarget,SharpDX.Direct2D1.Bitmap,SharpDX.Direct2D1.BrushProperties)">
<summary>
Creates an <see cref="T:SharpDX.Direct2D1.BitmapBrush"/> from the specified bitmap.
</summary>
<param name="renderTarget">an instance of <see cref = "T:SharpDX.Direct2D1.RenderTarget" /></param>
<param name="bitmap">The bitmap contents of the new brush.</param>
<param name="brushProperties">The opacity and transform of the new brush, or NULL. If this parameter is NULL, the brush defaults to an opacity of 1.0f and its transform is the identity matrix.</param>
<unmanaged>HRESULT ID2D1RenderTarget::CreateBitmapBrush([In] ID2D1Bitmap* bitmap,[In, Optional] const D2D1_BITMAP_BRUSH_PROPERTIES* bitmapBrushProperties,[In, Optional] const D2D1_BRUSH_PROPERTIES* brushProperties,[Out, Fast] ID2D1BitmapBrush** bitmapBrush)</unmanaged>
</member>
<member name="M:SharpDX.Direct2D1.BitmapBrush.#ctor(SharpDX.Direct2D1.RenderTarget,SharpDX.Direct2D1.Bitmap,System.Nullable{SharpDX.Direct2D1.BitmapBrushProperties},System.Nullable{SharpDX.Direct2D1.BrushProperties})">
<summary>
Creates an <see cref="T:SharpDX.Direct2D1.BitmapBrush"/> from the specified bitmap.
</summary>
<param name="renderTarget">an instance of <see cref = "T:SharpDX.Direct2D1.RenderTarget" /></param>
<param name="bitmap">The bitmap contents of the new brush.</param>
<param name="bitmapBrushProperties">The extend modes and interpolation mode of the new brush, or NULL. If this parameter is NULL, the brush defaults to the <see cref="F:SharpDX.Direct2D1.ExtendMode.Clamp"/> horizontal and vertical extend modes and the <see cref="F:SharpDX.Direct2D1.BitmapInterpolationMode.Linear"/> interpolation mode. </param>
<param name="brushProperties">The opacity and transform of the new brush, or NULL. If this parameter is NULL, the brush defaults to an opacity of 1.0f and its transform is the identity matrix.</param>
<unmanaged>HRESULT ID2D1RenderTarget::CreateBitmapBrush([In] ID2D1Bitmap* bitmap,[In, Optional] const D2D1_BITMAP_BRUSH_PROPERTIES* bitmapBrushProperties,[In, Optional] const D2D1_BRUSH_PROPERTIES* brushProperties,[Out, Fast] ID2D1BitmapBrush** bitmapBrush)</unmanaged>
</member>
<member name="M:SharpDX.Direct2D1.BitmapBrush.#ctor(System.IntPtr)">
<summary>
Initializes a new instance of the <see cref="T:SharpDX.Direct2D1.BitmapBrush"/> class.
</summary>
<param name="nativePtr">The native pointer.</param>
</member>
<member name="M:SharpDX.Direct2D1.BitmapBrush.op_Explicit(System.IntPtr)~SharpDX.Direct2D1.BitmapBrush">
<summary>
Performs an explicit conversion from <see cref="T:System.IntPtr"/> to <see cref="T:SharpDX.Direct2D1.BitmapBrush"/>. (This method is a shortcut to <see cref="P:SharpDX.CppObject.NativePointer"/>)
</summary>
<param name="nativePointer">The native pointer.</param>
<returns>
The result of the conversion.
</returns>
</member>
<member name="P:SharpDX.Direct2D1.BitmapBrush.ExtendModeX">
<summary>
<p>Gets or sets the method by which the brush horizontally tiles those areas that extend past its bitmap. </p>
</summary>
<remarks>
<p>Like all brushes, <strong><see cref="T:SharpDX.Direct2D1.BitmapBrush" /></strong> defines an infinite plane of content. Because bitmaps are finite, it relies on an extend mode to determine how the plane is filled horizontally and vertically.</p>
</remarks>
<!-- No matching elements were found for the following include tag --><include file=".\..\..\Documentation\CodeComments.xml" path="/comments/comment[@id='ID2D1BitmapBrush::GetExtendModeX']/*" />
<msdn-id>dd371128</msdn-id>
<unmanaged>GetExtendModeX / SetExtendModeX</unmanaged>
<unmanaged-short>GetExtendModeX</unmanaged-short>
<unmanaged>D2D1_EXTEND_MODE ID2D1BitmapBrush::GetExtendModeX()</unmanaged>
</member>
<member name="P:SharpDX.Direct2D1.BitmapBrush.ExtendModeY">
<summary>
<p>Gets or sets the method by which the brush vertically tiles those areas that extend past its bitmap. </p>
</summary>
<remarks>
<p>Like all brushes, <strong><see cref="T:SharpDX.Direct2D1.BitmapBrush" /></strong> defines an infinite plane of content. Because bitmaps are finite, it relies on an extend mode to determine how the plane is filled horizontally and vertically.</p>
</remarks>
<!-- No matching elements were found for the following include tag --><include file=".\..\..\Documentation\CodeComments.xml" path="/comments/comment[@id='ID2D1BitmapBrush::GetExtendModeY']/*" />
<msdn-id>dd371132</msdn-id>
<unmanaged>GetExtendModeY / SetExtendModeY</unmanaged>
<unmanaged-short>GetExtendModeY</unmanaged-short>
<unmanaged>D2D1_EXTEND_MODE ID2D1BitmapBrush::GetExtendModeY()</unmanaged>
</member>
<member name="P:SharpDX.Direct2D1.BitmapBrush.InterpolationMode">
<summary>
<p>Gets or sets the interpolation method used when the brush bitmap is scaled or rotated. </p>
</summary>
<remarks>
<p>This method gets the interpolation mode of a bitmap, which is specified by the <strong><see cref="T:SharpDX.Direct2D1.BitmapInterpolationMode" /></strong> enumeration type. <strong><see cref="F:SharpDX.Direct2D1.BitmapInterpolationMode.NearestNeighbor" /></strong> represents nearest neighbor filtering. It looks up the bitmap pixel nearest to the current rendering pixel and chooses its exact color. <strong><see cref="F:SharpDX.Direct2D1.BitmapInterpolationMode.Linear" /></strong> represents linear filtering, and interpolates a color from the four nearest bitmap pixels.</p><p>The interpolation mode of a bitmap also affects subpixel translations. In a subpixel translation, linear interpolation positions the bitmap more precisely to the application request, but blurs the bitmap in the process. </p>
</remarks>
<!-- No matching elements were found for the following include tag --><include file=".\..\..\Documentation\CodeComments.xml" path="/comments/comment[@id='ID2D1BitmapBrush::GetInterpolationMode']/*" />
<msdn-id>dd371134</msdn-id>
<unmanaged>GetInterpolationMode / SetInterpolationMode</unmanaged>
<unmanaged-short>GetInterpolationMode</unmanaged-short>
<unmanaged>D2D1_BITMAP_INTERPOLATION_MODE ID2D1BitmapBrush::GetInterpolationMode()</unmanaged>
</member>
<member name="P:SharpDX.Direct2D1.BitmapBrush.Bitmap">
<summary>
<p>Gets or sets the bitmap source that this brush uses to paint.</p>
</summary>
<!-- No matching elements were found for the following include tag --><include file=".\..\..\Documentation\CodeComments.xml" path="/comments/comment[@id='ID2D1BitmapBrush::GetBitmap']/*" />
<msdn-id>dd371124</msdn-id>
<unmanaged>GetBitmap / SetBitmap</unmanaged>
<unmanaged-short>GetBitmap</unmanaged-short>
<unmanaged>void ID2D1BitmapBrush::GetBitmap([Out, Optional] ID2D1Bitmap** bitmap)</unmanaged>
</member>
<member name="M:SharpDX.Direct2D1.BitmapBrush.SetExtendModeX(SharpDX.Direct2D1.ExtendMode)">
<summary>
<p>Specifies how the brush horizontally tiles those areas that extend past its bitmap. </p>
</summary>
<param name="extendModeX"><dd> <p>A value that specifies how the brush horizontally tiles those areas that extend past its bitmap. </p> </dd></param>
<remarks>
<p>Sometimes, the bitmap for a bitmap brush doesn't completely fill the area being painted. When this happens, Direct2D uses the brush's horizontal (<strong>SetExtendModeX</strong>) and vertical (<strong>SetExtendModeY</strong>) extend mode settings to determine how to fill the remaining area.</p><p>The following illustration shows the results from every possible combination of the extend modes for an <strong><see cref="T:SharpDX.Direct2D1.BitmapBrush" /></strong>: <strong><see cref="F:SharpDX.Direct2D1.ExtendMode.Clamp" /></strong> (CLAMP), <strong><see cref="F:SharpDX.Direct2D1.ExtendMode.Wrap" /></strong> (WRAP), and <strong>D2D1_EXTEND_MIRROR</strong> (MIRROR).</p><p />
</remarks>
<!-- No matching elements were found for the following include tag --><include file=".\..\..\Documentation\CodeComments.xml" path="/comments/comment[@id='ID2D1BitmapBrush::SetExtendModeX']/*" />
<msdn-id>dd371139</msdn-id>
<unmanaged>void ID2D1BitmapBrush::SetExtendModeX([In] D2D1_EXTEND_MODE extendModeX)</unmanaged>
<unmanaged-short>ID2D1BitmapBrush::SetExtendModeX</unmanaged-short>
</member>
<member name="M:SharpDX.Direct2D1.BitmapBrush.SetExtendModeY(SharpDX.Direct2D1.ExtendMode)">
<summary>
<p>Specifies how the brush vertically tiles those areas that extend past its bitmap.</p>
</summary>
<param name="extendModeY"><dd> <p>A value that specifies how the brush vertically tiles those areas that extend past its bitmap.</p> </dd></param>
<remarks>
<p>Sometimes, the bitmap for a bitmap brush doesn't completely fill the area being painted. When this happens, Direct2D uses the brush's horizontal (<strong>SetExtendModeX</strong>) and vertical (<strong>SetExtendModeY</strong>) extend mode settings to determine how to fill the remaining area.</p><p>The following illustration shows the results from every possible combination of the extend modes for an <strong><see cref="T:SharpDX.Direct2D1.BitmapBrush" /></strong>: <strong><see cref="F:SharpDX.Direct2D1.ExtendMode.Clamp" /></strong> (CLAMP), <strong><see cref="F:SharpDX.Direct2D1.ExtendMode.Wrap" /></strong> (WRAP), and <strong>D2D1_EXTEND_MIRROR</strong> (MIRROR).</p><p />
</remarks>
<!-- No matching elements were found for the following include tag --><include file=".\..\..\Documentation\CodeComments.xml" path="/comments/comment[@id='ID2D1BitmapBrush::SetExtendModeY']/*" />
<msdn-id>dd371142</msdn-id>
<unmanaged>void ID2D1BitmapBrush::SetExtendModeY([In] D2D1_EXTEND_MODE extendModeY)</unmanaged>
<unmanaged-short>ID2D1BitmapBrush::SetExtendModeY</unmanaged-short>
</member>
<member name="M:SharpDX.Direct2D1.BitmapBrush.SetInterpolationMode(SharpDX.Direct2D1.BitmapInterpolationMode)">
<summary>
<p>Specifies the interpolation mode used when the brush bitmap is scaled or rotated.</p>
</summary>
<param name="interpolationMode"><dd> <p>The interpolation mode used when the brush bitmap is scaled or rotated.</p> </dd></param>
<remarks>
<p>This method sets the interpolation mode for a bitmap, which is an enum value that is specified in the <strong><see cref="T:SharpDX.Direct2D1.BitmapInterpolationMode" /></strong> enumeration type. <see cref="F:SharpDX.Direct2D1.BitmapInterpolationMode.NearestNeighbor" /> represents nearest neighbor filtering. It looks up the nearest bitmap pixel to the current rendering pixel and chooses its exact color. <see cref="F:SharpDX.Direct2D1.BitmapInterpolationMode.Linear" /> represents linear filtering, and interpolates a color from the four nearest bitmap pixels.</p><p>The interpolation mode of a bitmap also affects subpixel translations. In a subpixel translation, bilinear interpolation positions the bitmap more precisely to the application requests, but blurs the bitmap in the process. </p>
</remarks>
<!-- No matching elements were found for the following include tag --><include file=".\..\..\Documentation\CodeComments.xml" path="/comments/comment[@id='ID2D1BitmapBrush::SetInterpolationMode']/*" />
<msdn-id>dd371145</msdn-id>
<unmanaged>void ID2D1BitmapBrush::SetInterpolationMode([In] D2D1_BITMAP_INTERPOLATION_MODE interpolationMode)</unmanaged>
<unmanaged-short>ID2D1BitmapBrush::SetInterpolationMode</unmanaged-short>
</member>
<member name="M:SharpDX.Direct2D1.BitmapBrush.SetBitmap(SharpDX.Direct2D1.Bitmap)">
<summary>
<p>Specifies the bitmap source that this brush uses to paint. </p>
</summary>
<param name="bitmap"><dd> <p>The bitmap source used by the brush.</p> </dd></param>
<remarks>
<p>This method specifies the bitmap source that this brush uses to paint. The bitmap is not resized or rescaled automatically to fit the geometry that it fills. The bitmap stays at its native size. To resize or translate the bitmap, use the <strong>SetTransform</strong> method to apply a transform to the brush. </p><p>The native size of a bitmap is the width and height in bitmap pixels, divided by the bitmap DPI. This native size forms the base tile of the brush. To tile a subregion of the bitmap, you must generate a new bitmap containing this subregion and use <strong>SetBitmap</strong> to apply it to the brush.
</p>
</remarks>
<!-- No matching elements were found for the following include tag --><include file=".\..\..\Documentation\CodeComments.xml" path="/comments/comment[@id='ID2D1BitmapBrush::SetBitmap']/*" />
<msdn-id>dd371136</msdn-id>
<unmanaged>void ID2D1BitmapBrush::SetBitmap([In, Optional] ID2D1Bitmap* bitmap)</unmanaged>
<unmanaged-short>ID2D1BitmapBrush::SetBitmap</unmanaged-short>
</member>
<member name="M:SharpDX.Direct2D1.BitmapBrush.GetExtendModeX">
<summary>
<p> Gets the method by which the brush horizontally tiles those areas that extend past its bitmap. </p>
</summary>
<returns><p>A value that specifies how the brush horizontally tiles those areas that extend past its bitmap.</p></returns>
<remarks>
<p>Like all brushes, <strong><see cref="T:SharpDX.Direct2D1.BitmapBrush" /></strong> defines an infinite plane of content. Because bitmaps are finite, it relies on an extend mode to determine how the plane is filled horizontally and vertically.</p>
</remarks>
<!-- No matching elements were found for the following include tag --><include file=".\..\..\Documentation\CodeComments.xml" path="/comments/comment[@id='ID2D1BitmapBrush::GetExtendModeX']/*" />
<msdn-id>dd371128</msdn-id>
<unmanaged>D2D1_EXTEND_MODE ID2D1BitmapBrush::GetExtendModeX()</unmanaged>
<unmanaged-short>ID2D1BitmapBrush::GetExtendModeX</unmanaged-short>
</member>
<member name="M:SharpDX.Direct2D1.BitmapBrush.GetExtendModeY">
<summary>
<p> Gets the method by which the brush vertically tiles those areas that extend past its bitmap. </p>
</summary>
<returns><p>A value that specifies how the brush vertically tiles those areas that extend past its bitmap.</p></returns>
<remarks>
<p>Like all brushes, <strong><see cref="T:SharpDX.Direct2D1.BitmapBrush" /></strong> defines an infinite plane of content. Because bitmaps are finite, it relies on an extend mode to determine how the plane is filled horizontally and vertically.</p>
</remarks>
<!-- No matching elements were found for the following include tag --><include file=".\..\..\Documentation\CodeComments.xml" path="/comments/comment[@id='ID2D1BitmapBrush::GetExtendModeY']/*" />
<msdn-id>dd371132</msdn-id>
<unmanaged>D2D1_EXTEND_MODE ID2D1BitmapBrush::GetExtendModeY()</unmanaged>
<unmanaged-short>ID2D1BitmapBrush::GetExtendModeY</unmanaged-short>
</member>
<member name="M:SharpDX.Direct2D1.BitmapBrush.GetInterpolationMode">
<summary>
<p>Gets the interpolation method used when the brush bitmap is scaled or rotated. </p>
</summary>
<returns><p>The interpolation method used when the brush bitmap is scaled or rotated.</p></returns>
<remarks>
<p>This method gets the interpolation mode of a bitmap, which is specified by the <strong><see cref="T:SharpDX.Direct2D1.BitmapInterpolationMode" /></strong> enumeration type. <strong><see cref="F:SharpDX.Direct2D1.BitmapInterpolationMode.NearestNeighbor" /></strong> represents nearest neighbor filtering. It looks up the bitmap pixel nearest to the current rendering pixel and chooses its exact color. <strong><see cref="F:SharpDX.Direct2D1.BitmapInterpolationMode.Linear" /></strong> represents linear filtering, and interpolates a color from the four nearest bitmap pixels.</p><p>The interpolation mode of a bitmap also affects subpixel translations. In a subpixel translation, linear interpolation positions the bitmap more precisely to the application request, but blurs the bitmap in the process. </p>
</remarks>
<!-- No matching elements were found for the following include tag --><include file=".\..\..\Documentation\CodeComments.xml" path="/comments/comment[@id='ID2D1BitmapBrush::GetInterpolationMode']/*" />
<msdn-id>dd371134</msdn-id>
<unmanaged>D2D1_BITMAP_INTERPOLATION_MODE ID2D1BitmapBrush::GetInterpolationMode()</unmanaged>