1 <?xml version="1.0"?>
\r
4 <name>WriteableBitmapEx</name>
\r
7 <member name="T:System.Windows.Media.Imaging.WriteableBitmapExtensions">
\r
9 Collection of interchange extension methods for the Silverlight WriteableBitmap class.
\r
12 Collection of draw extension methods for the Silverlight WriteableBitmap class.
\r
15 Collection of draw extension methods for the Silverlight WriteableBitmap class.
\r
18 Collection of blit (copy) extension methods for the Silverlight WriteableBitmap class.
\r
21 Collection of draw extension methods for the Silverlight WriteableBitmap class.
\r
24 Collection of draw spline extension methods for the Silverlight WriteableBitmap class.
\r
27 Collection of transformation extension methods for the Silverlight WriteableBitmap class.
\r
30 <member name="M:System.Windows.Media.Imaging.WriteableBitmapExtensions.ToByteArray(System.Windows.Media.Imaging.WriteableBitmap,System.Int32,System.Int32)">
\r
32 Copies the Pixels from the WriteableBitmap into a ARGB byte array starting at a specific Pixels index.
\r
34 <param name="bmp">The WriteableBitmap.</param>
\r
35 <param name="offset">The starting Pixels index.</param>
\r
36 <param name="count">The number of Pixels to copy.</param>
\r
37 <returns>The color buffer as byte ARGB values.</returns>
\r
39 <member name="M:System.Windows.Media.Imaging.WriteableBitmapExtensions.ToByteArray(System.Windows.Media.Imaging.WriteableBitmap,System.Int32)">
\r
41 Copies the Pixels from the WriteableBitmap into a ARGB byte array.
\r
43 <param name="bmp">The WriteableBitmap.</param>
\r
44 <param name="count">The number of pixels to copy.</param>
\r
45 <returns>The color buffer as byte ARGB values.</returns>
\r
47 <member name="M:System.Windows.Media.Imaging.WriteableBitmapExtensions.ToByteArray(System.Windows.Media.Imaging.WriteableBitmap)">
\r
49 Copies all the Pixels from the WriteableBitmap into a ARGB byte array.
\r
51 <param name="bmp">The WriteableBitmap.</param>
\r
52 <returns>The color buffer as byte ARGB values.</returns>
\r
54 <member name="M:System.Windows.Media.Imaging.WriteableBitmapExtensions.FromByteArray(System.Windows.Media.Imaging.WriteableBitmap,System.Byte[],System.Int32,System.Int32)">
\r
56 Copies color information from an ARGB byte array into this WriteableBitmap starting at a specific buffer index.
\r
58 <param name="bmp">The WriteableBitmap.</param>
\r
59 <param name="offset">The starting index in the buffer.</param>
\r
60 <param name="count">The number of bytes to copy from the buffer.</param>
\r
61 <param name="buffer">The color buffer as byte ARGB values.</param>
\r
62 <returns>The WriteableBitmap that was passed as parameter.</returns>
\r
64 <member name="M:System.Windows.Media.Imaging.WriteableBitmapExtensions.FromByteArray(System.Windows.Media.Imaging.WriteableBitmap,System.Byte[],System.Int32)">
\r
66 Copies color information from an ARGB byte array into this WriteableBitmap.
\r
68 <param name="bmp">The WriteableBitmap.</param>
\r
69 <param name="count">The number of bytes to copy from the buffer.</param>
\r
70 <param name="buffer">The color buffer as byte ARGB values.</param>
\r
71 <returns>The WriteableBitmap that was passed as parameter.</returns>
\r
73 <member name="M:System.Windows.Media.Imaging.WriteableBitmapExtensions.FromByteArray(System.Windows.Media.Imaging.WriteableBitmap,System.Byte[])">
\r
75 Copies all the color information from an ARGB byte array into this WriteableBitmap.
\r
77 <param name="bmp">The WriteableBitmap.</param>
\r
78 <param name="buffer">The color buffer as byte ARGB values.</param>
\r
79 <returns>The WriteableBitmap that was passed as parameter.</returns>
\r
81 <member name="M:System.Windows.Media.Imaging.WriteableBitmapExtensions.WriteTga(System.Windows.Media.Imaging.WriteableBitmap,System.IO.Stream)">
\r
83 Writes the WriteableBitmap as a TGA image to a stream.
\r
84 Used with permission from Nokola: http://nokola.com/blog/post/2010/01/21/Quick-and-Dirty-Output-of-WriteableBitmap-as-TGA-Image.aspx
\r
86 <param name="bmp">The WriteableBitmap.</param>
\r
87 <param name="destination">The destination stream.</param>
\r
89 <member name="M:System.Windows.Media.Imaging.WriteableBitmapExtensions.FromResource(System.Windows.Media.Imaging.WriteableBitmap,System.String)">
\r
91 Loads an image from the applications resource file and fills this WriteableBitmap with it.
\r
93 <param name="bmp">The WriteableBitmap.</param>
\r
94 <param name="relativePath">Only the relative path to the resource file. The assembly name is retrieved automatically.</param>
\r
95 <returns>The WriteableBitmap that was passed as parameter.</returns>
\r
97 <member name="M:System.Windows.Media.Imaging.WriteableBitmapExtensions.DrawLineBresenham(System.Windows.Media.Imaging.WriteableBitmap,System.Int32,System.Int32,System.Int32,System.Int32,System.Windows.Media.Color)">
\r
99 Draws a colored line by connecting two points using the Bresenham algorithm.
\r
101 <param name="bmp">The WriteableBitmap.</param>
\r
102 <param name="x1">The x-coordinate of the start point.</param>
\r
103 <param name="y1">The y-coordinate of the start point.</param>
\r
104 <param name="x2">The x-coordinate of the end point.</param>
\r
105 <param name="y2">The y-coordinate of the end point.</param>
\r
106 <param name="color">The color for the line.</param>
\r
108 <member name="M:System.Windows.Media.Imaging.WriteableBitmapExtensions.DrawLineBresenham(System.Windows.Media.Imaging.WriteableBitmap,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32)">
\r
110 Draws a colored line by connecting two points using the Bresenham algorithm.
\r
112 <param name="bmp">The WriteableBitmap.</param>
\r
113 <param name="x1">The x-coordinate of the start point.</param>
\r
114 <param name="y1">The y-coordinate of the start point.</param>
\r
115 <param name="x2">The x-coordinate of the end point.</param>
\r
116 <param name="y2">The y-coordinate of the end point.</param>
\r
117 <param name="color">The color for the line.</param>
\r
119 <member name="M:System.Windows.Media.Imaging.WriteableBitmapExtensions.DrawLineDDA(System.Windows.Media.Imaging.WriteableBitmap,System.Int32,System.Int32,System.Int32,System.Int32,System.Windows.Media.Color)">
\r
121 Draws a colored line by connecting two points using a DDA algorithm (Digital Differential Analyzer).
\r
123 <param name="bmp">The WriteableBitmap.</param>
\r
124 <param name="x1">The x-coordinate of the start point.</param>
\r
125 <param name="y1">The y-coordinate of the start point.</param>
\r
126 <param name="x2">The x-coordinate of the end point.</param>
\r
127 <param name="y2">The y-coordinate of the end point.</param>
\r
128 <param name="color">The color for the line.</param>
\r
130 <member name="M:System.Windows.Media.Imaging.WriteableBitmapExtensions.DrawLineDDA(System.Windows.Media.Imaging.WriteableBitmap,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32)">
\r
132 Draws a colored line by connecting two points using a DDA algorithm (Digital Differential Analyzer).
\r
134 <param name="bmp">The WriteableBitmap.</param>
\r
135 <param name="x1">The x-coordinate of the start point.</param>
\r
136 <param name="y1">The y-coordinate of the start point.</param>
\r
137 <param name="x2">The x-coordinate of the end point.</param>
\r
138 <param name="y2">The y-coordinate of the end point.</param>
\r
139 <param name="color">The color for the line.</param>
\r
141 <member name="M:System.Windows.Media.Imaging.WriteableBitmapExtensions.DrawLine(System.Windows.Media.Imaging.WriteableBitmap,System.Int32,System.Int32,System.Int32,System.Int32,System.Windows.Media.Color)">
\r
143 Draws a colored line by connecting two points using an optimized DDA.
\r
145 <param name="bmp">The WriteableBitmap.</param>
\r
146 <param name="x1">The x-coordinate of the start point.</param>
\r
147 <param name="y1">The y-coordinate of the start point.</param>
\r
148 <param name="x2">The x-coordinate of the end point.</param>
\r
149 <param name="y2">The y-coordinate of the end point.</param>
\r
150 <param name="color">The color for the line.</param>
\r
152 <member name="M:System.Windows.Media.Imaging.WriteableBitmapExtensions.DrawLine(System.Windows.Media.Imaging.WriteableBitmap,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32)">
\r
154 Draws a colored line by connecting two points using an optimized DDA.
\r
156 <param name="bmp">The WriteableBitmap.</param>
\r
157 <param name="x1">The x-coordinate of the start point.</param>
\r
158 <param name="y1">The y-coordinate of the start point.</param>
\r
159 <param name="x2">The x-coordinate of the end point.</param>
\r
160 <param name="y2">The y-coordinate of the end point.</param>
\r
161 <param name="color">The color for the line.</param>
\r
163 <member name="M:System.Windows.Media.Imaging.WriteableBitmapExtensions.DrawLine(System.Int32[],System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32)">
\r
165 Draws a colored line by connecting two points using an optimized DDA.
\r
166 Uses the pixels array and the width directly for best performance.
\r
168 <param name="pixels">An array containing the pixels as int RGBA value.</param>
\r
169 <param name="pixelWidth">The width of one scanline in the pixels array.</param>
\r
170 <param name="pixelHeight">The height of the bitmap.</param>
\r
171 <param name="x1">The x-coordinate of the start point.</param>
\r
172 <param name="y1">The y-coordinate of the start point.</param>
\r
173 <param name="x2">The x-coordinate of the end point.</param>
\r
174 <param name="y2">The y-coordinate of the end point.</param>
\r
175 <param name="color">The color for the line.</param>
\r
177 <member name="M:System.Windows.Media.Imaging.WriteableBitmapExtensions.DrawPolyline(System.Windows.Media.Imaging.WriteableBitmap,System.Int32[],System.Windows.Media.Color)">
\r
179 Draws a polyline. Add the first point also at the end of the array if the line should be closed.
\r
181 <param name="bmp">The WriteableBitmap.</param>
\r
182 <param name="points">The points of the polyline in x and y pairs, therefore the array is interpreted as (x1, y1, x2, y2, ..., xn, yn).</param>
\r
183 <param name="color">The color for the line.</param>
\r
185 <member name="M:System.Windows.Media.Imaging.WriteableBitmapExtensions.DrawPolyline(System.Windows.Media.Imaging.WriteableBitmap,System.Int32[],System.Int32)">
\r
187 Draws a polyline. Add the first point also at the end of the array if the line should be closed.
\r
189 <param name="bmp">The WriteableBitmap.</param>
\r
190 <param name="points">The points of the polyline in x and y pairs, therefore the array is interpreted as (x1, y1, x2, y2, ..., xn, yn).</param>
\r
191 <param name="color">The color for the line.</param>
\r
193 <member name="M:System.Windows.Media.Imaging.WriteableBitmapExtensions.DrawTriangle(System.Windows.Media.Imaging.WriteableBitmap,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Windows.Media.Color)">
\r
197 <param name="bmp">The WriteableBitmap.</param>
\r
198 <param name="x1">The x-coordinate of the 1st point.</param>
\r
199 <param name="y1">The y-coordinate of the 1st point.</param>
\r
200 <param name="x2">The x-coordinate of the 2nd point.</param>
\r
201 <param name="y2">The y-coordinate of the 2nd point.</param>
\r
202 <param name="x3">The x-coordinate of the 3rd point.</param>
\r
203 <param name="y3">The y-coordinate of the 3rd point.</param>
\r
204 <param name="color">The color.</param>
\r
206 <member name="M:System.Windows.Media.Imaging.WriteableBitmapExtensions.DrawTriangle(System.Windows.Media.Imaging.WriteableBitmap,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32)">
\r
210 <param name="bmp">The WriteableBitmap.</param>
\r
211 <param name="x1">The x-coordinate of the 1st point.</param>
\r
212 <param name="y1">The y-coordinate of the 1st point.</param>
\r
213 <param name="x2">The x-coordinate of the 2nd point.</param>
\r
214 <param name="y2">The y-coordinate of the 2nd point.</param>
\r
215 <param name="x3">The x-coordinate of the 3rd point.</param>
\r
216 <param name="y3">The y-coordinate of the 3rd point.</param>
\r
217 <param name="color">The color.</param>
\r
219 <member name="M:System.Windows.Media.Imaging.WriteableBitmapExtensions.DrawQuad(System.Windows.Media.Imaging.WriteableBitmap,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Windows.Media.Color)">
\r
223 <param name="bmp">The WriteableBitmap.</param>
\r
224 <param name="x1">The x-coordinate of the 1st point.</param>
\r
225 <param name="y1">The y-coordinate of the 1st point.</param>
\r
226 <param name="x2">The x-coordinate of the 2nd point.</param>
\r
227 <param name="y2">The y-coordinate of the 2nd point.</param>
\r
228 <param name="x3">The x-coordinate of the 3rd point.</param>
\r
229 <param name="y3">The y-coordinate of the 3rd point.</param>
\r
230 <param name="x4">The x-coordinate of the 4th point.</param>
\r
231 <param name="y4">The y-coordinate of the 4th point.</param>
\r
232 <param name="color">The color.</param>
\r
234 <member name="M:System.Windows.Media.Imaging.WriteableBitmapExtensions.DrawQuad(System.Windows.Media.Imaging.WriteableBitmap,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32)">
\r
238 <param name="bmp">The WriteableBitmap.</param>
\r
239 <param name="x1">The x-coordinate of the 1st point.</param>
\r
240 <param name="y1">The y-coordinate of the 1st point.</param>
\r
241 <param name="x2">The x-coordinate of the 2nd point.</param>
\r
242 <param name="y2">The y-coordinate of the 2nd point.</param>
\r
243 <param name="x3">The x-coordinate of the 3rd point.</param>
\r
244 <param name="y3">The y-coordinate of the 3rd point.</param>
\r
245 <param name="x4">The x-coordinate of the 4th point.</param>
\r
246 <param name="y4">The y-coordinate of the 4th point.</param>
\r
247 <param name="color">The color.</param>
\r
249 <member name="M:System.Windows.Media.Imaging.WriteableBitmapExtensions.DrawRectangle(System.Windows.Media.Imaging.WriteableBitmap,System.Int32,System.Int32,System.Int32,System.Int32,System.Windows.Media.Color)">
\r
252 x2 has to be greater than x1 and y2 has to be greater than y1.
\r
254 <param name="bmp">The WriteableBitmap.</param>
\r
255 <param name="x1">The x-coordinate of the bounding rectangle's left side.</param>
\r
256 <param name="y1">The y-coordinate of the bounding rectangle's top side.</param>
\r
257 <param name="x2">The x-coordinate of the bounding rectangle's right side.</param>
\r
258 <param name="y2">The y-coordinate of the bounding rectangle's bottom side.</param>
\r
259 <param name="color">The color.</param>
\r
261 <member name="M:System.Windows.Media.Imaging.WriteableBitmapExtensions.DrawRectangle(System.Windows.Media.Imaging.WriteableBitmap,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32)">
\r
264 x2 has to be greater than x1 and y2 has to be greater than y1.
\r
266 <param name="bmp">The WriteableBitmap.</param>
\r
267 <param name="x1">The x-coordinate of the bounding rectangle's left side.</param>
\r
268 <param name="y1">The y-coordinate of the bounding rectangle's top side.</param>
\r
269 <param name="x2">The x-coordinate of the bounding rectangle's right side.</param>
\r
270 <param name="y2">The y-coordinate of the bounding rectangle's bottom side.</param>
\r
271 <param name="color">The color.</param>
\r
273 <member name="M:System.Windows.Media.Imaging.WriteableBitmapExtensions.DrawEllipse(System.Windows.Media.Imaging.WriteableBitmap,System.Int32,System.Int32,System.Int32,System.Int32,System.Windows.Media.Color)">
\r
275 A Fast Bresenham Type Algorithm For Drawing Ellipses http://homepage.smc.edu/kennedy_john/belipse.pdf
\r
276 x2 has to be greater than x1 and y2 has to be greater than y1.
\r
278 <param name="bmp">The WriteableBitmap.</param>
\r
279 <param name="x1">The x-coordinate of the bounding rectangle's left side.</param>
\r
280 <param name="y1">The y-coordinate of the bounding rectangle's top side.</param>
\r
281 <param name="x2">The x-coordinate of the bounding rectangle's right side.</param>
\r
282 <param name="y2">The y-coordinate of the bounding rectangle's bottom side.</param>
\r
283 <param name="color">The color for the line.</param>
\r
285 <member name="M:System.Windows.Media.Imaging.WriteableBitmapExtensions.DrawEllipse(System.Windows.Media.Imaging.WriteableBitmap,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32)">
\r
287 A Fast Bresenham Type Algorithm For Drawing Ellipses http://homepage.smc.edu/kennedy_john/belipse.pdf
\r
288 x2 has to be greater than x1 and y2 has to be greater than y1.
\r
290 <param name="bmp">The WriteableBitmap.</param>
\r
291 <param name="x1">The x-coordinate of the bounding rectangle's left side.</param>
\r
292 <param name="y1">The y-coordinate of the bounding rectangle's top side.</param>
\r
293 <param name="x2">The x-coordinate of the bounding rectangle's right side.</param>
\r
294 <param name="y2">The y-coordinate of the bounding rectangle's bottom side.</param>
\r
295 <param name="color">The color for the line.</param>
\r
297 <member name="M:System.Windows.Media.Imaging.WriteableBitmapExtensions.DrawEllipseCentered(System.Windows.Media.Imaging.WriteableBitmap,System.Int32,System.Int32,System.Int32,System.Int32,System.Windows.Media.Color)">
\r
299 A Fast Bresenham Type Algorithm For Drawing Ellipses http://homepage.smc.edu/kennedy_john/belipse.pdf
\r
300 Uses a different parameter representation than DrawEllipse().
\r
302 <param name="bmp">The WriteableBitmap.</param>
\r
303 <param name="xc">The x-coordinate of the ellipses center.</param>
\r
304 <param name="yc">The y-coordinate of the ellipses center.</param>
\r
305 <param name="xr">The radius of the ellipse in x-direction.</param>
\r
306 <param name="yr">The radius of the ellipse in y-direction.</param>
\r
307 <param name="color">The color for the line.</param>
\r
309 <member name="M:System.Windows.Media.Imaging.WriteableBitmapExtensions.DrawEllipseCentered(System.Windows.Media.Imaging.WriteableBitmap,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32)">
\r
311 A Fast Bresenham Type Algorithm For Drawing Ellipses http://homepage.smc.edu/kennedy_john/belipse.pdf
\r
312 Uses a different parameter representation than DrawEllipse().
\r
314 <param name="bmp">The WriteableBitmap.</param>
\r
315 <param name="xc">The x-coordinate of the ellipses center.</param>
\r
316 <param name="yc">The y-coordinate of the ellipses center.</param>
\r
317 <param name="xr">The radius of the ellipse in x-direction.</param>
\r
318 <param name="yr">The radius of the ellipse in y-direction.</param>
\r
319 <param name="color">The color for the line.</param>
\r
321 <member name="M:System.Windows.Media.Imaging.WriteableBitmapExtensions.Clear(System.Windows.Media.Imaging.WriteableBitmap,System.Windows.Media.Color)">
\r
323 Fills the whole WriteableBitmap with a color.
\r
325 <param name="bmp">The WriteableBitmap.</param>
\r
326 <param name="color">The color used for filling.</param>
\r
328 <member name="M:System.Windows.Media.Imaging.WriteableBitmapExtensions.Clear(System.Windows.Media.Imaging.WriteableBitmap)">
\r
330 Fills the whole WriteableBitmap with an empty color (0).
\r
332 <param name="bmp">The WriteableBitmap.</param>
\r
334 <member name="M:System.Windows.Media.Imaging.WriteableBitmapExtensions.Clone(System.Windows.Media.Imaging.WriteableBitmap)">
\r
336 Clones the specified WriteableBitmap.
\r
338 <param name="bmp">The WriteableBitmap.</param>
\r
339 <returns>A copy of the WriteableBitmap.</returns>
\r
341 <member name="M:System.Windows.Media.Imaging.WriteableBitmapExtensions.ForEach(System.Windows.Media.Imaging.WriteableBitmap,System.Func{System.Int32,System.Int32,System.Windows.Media.Color})">
\r
343 Applies the given function to all the pixels of the bitmap in
\r
344 order to set their color.
\r
346 <param name="bmp">The WriteableBitmap.</param>
\r
347 <param name="func">The function to apply. With parameters x, y and a color as a result</param>
\r
349 <member name="M:System.Windows.Media.Imaging.WriteableBitmapExtensions.ForEach(System.Windows.Media.Imaging.WriteableBitmap,System.Func{System.Int32,System.Int32,System.Windows.Media.Color,System.Windows.Media.Color})">
\r
351 Applies the given function to all the pixels of the bitmap in
\r
352 order to set their color.
\r
354 <param name="bmp">The WriteableBitmap.</param>
\r
355 <param name="func">The function to apply. With parameters x, y, source color and a color as a result</param>
\r
357 <member name="M:System.Windows.Media.Imaging.WriteableBitmapExtensions.GetPixeli(System.Windows.Media.Imaging.WriteableBitmap,System.Int32,System.Int32)">
\r
359 Gets the color of the pixel at the x, y coordinate as integer.
\r
361 <param name="bmp">The WriteableBitmap.</param>
\r
362 <param name="x">The x coordinate of the pixel.</param>
\r
363 <param name="y">The y coordinate of the pixel.</param>
\r
364 <returns>The color of the pixel at x, y.</returns>
\r
366 <member name="M:System.Windows.Media.Imaging.WriteableBitmapExtensions.GetPixel(System.Windows.Media.Imaging.WriteableBitmap,System.Int32,System.Int32)">
\r
368 Gets the color of the pixel at the x, y coordinate as a Color struct.
\r
370 <param name="bmp">The WriteableBitmap.</param>
\r
371 <param name="x">The x coordinate of the pixel.</param>
\r
372 <param name="y">The y coordinate of the pixel.</param>
\r
373 <returns>The color of the pixel at x, y as a Color struct.</returns>
\r
375 <member name="M:System.Windows.Media.Imaging.WriteableBitmapExtensions.SetPixeli(System.Windows.Media.Imaging.WriteableBitmap,System.Int32,System.Byte,System.Byte,System.Byte)">
\r
377 Sets the color of the pixel using a precalculated index (faster).
\r
379 <param name="bmp">The WriteableBitmap.</param>
\r
380 <param name="index">The coordinate index.</param>
\r
381 <param name="r">The red value of the color.</param>
\r
382 <param name="g">The green value of the color.</param>
\r
383 <param name="b">The blue value of the color.</param>
\r
385 <member name="M:System.Windows.Media.Imaging.WriteableBitmapExtensions.SetPixel(System.Windows.Media.Imaging.WriteableBitmap,System.Int32,System.Int32,System.Byte,System.Byte,System.Byte)">
\r
387 Sets the color of the pixel.
\r
389 <param name="bmp">The WriteableBitmap.</param>
\r
390 <param name="x">The x coordinate (row).</param>
\r
391 <param name="y">The y coordinate (column).</param>
\r
392 <param name="r">The red value of the color.</param>
\r
393 <param name="g">The green value of the color.</param>
\r
394 <param name="b">The blue value of the color.</param>
\r
396 <member name="M:System.Windows.Media.Imaging.WriteableBitmapExtensions.SetPixeli(System.Windows.Media.Imaging.WriteableBitmap,System.Int32,System.Byte,System.Byte,System.Byte,System.Byte)">
\r
398 Sets the color of the pixel including the alpha value and using a precalculated index (faster).
\r
400 <param name="bmp">The WriteableBitmap.</param>
\r
401 <param name="index">The coordinate index.</param>
\r
402 <param name="a">The alpha value of the color.</param>
\r
403 <param name="r">The red value of the color.</param>
\r
404 <param name="g">The green value of the color.</param>
\r
405 <param name="b">The blue value of the color.</param>
\r
407 <member name="M:System.Windows.Media.Imaging.WriteableBitmapExtensions.SetPixel(System.Windows.Media.Imaging.WriteableBitmap,System.Int32,System.Int32,System.Byte,System.Byte,System.Byte,System.Byte)">
\r
409 Sets the color of the pixel including the alpha value.
\r
411 <param name="bmp">The WriteableBitmap.</param>
\r
412 <param name="x">The x coordinate (row).</param>
\r
413 <param name="y">The y coordinate (column).</param>
\r
414 <param name="a">The alpha value of the color.</param>
\r
415 <param name="r">The red value of the color.</param>
\r
416 <param name="g">The green value of the color.</param>
\r
417 <param name="b">The blue value of the color.</param>
\r
419 <member name="M:System.Windows.Media.Imaging.WriteableBitmapExtensions.SetPixeli(System.Windows.Media.Imaging.WriteableBitmap,System.Int32,System.Windows.Media.Color)">
\r
421 Sets the color of the pixel using a precalculated index (faster).
\r
423 <param name="bmp">The WriteableBitmap.</param>
\r
424 <param name="index">The coordinate index.</param>
\r
425 <param name="color">The color.</param>
\r
427 <member name="M:System.Windows.Media.Imaging.WriteableBitmapExtensions.SetPixel(System.Windows.Media.Imaging.WriteableBitmap,System.Int32,System.Int32,System.Windows.Media.Color)">
\r
429 Sets the color of the pixel.
\r
431 <param name="bmp">The WriteableBitmap.</param>
\r
432 <param name="x">The x coordinate (row).</param>
\r
433 <param name="y">The y coordinate (column).</param>
\r
434 <param name="color">The color.</param>
\r
436 <member name="M:System.Windows.Media.Imaging.WriteableBitmapExtensions.SetPixeli(System.Windows.Media.Imaging.WriteableBitmap,System.Int32,System.Byte,System.Windows.Media.Color)">
\r
438 Sets the color of the pixel using an extra alpha value and a precalculated index (faster).
\r
440 <param name="bmp">The WriteableBitmap.</param>
\r
441 <param name="index">The coordinate index.</param>
\r
442 <param name="a">The alpha value of the color.</param>
\r
443 <param name="color">The color.</param>
\r
445 <member name="M:System.Windows.Media.Imaging.WriteableBitmapExtensions.SetPixel(System.Windows.Media.Imaging.WriteableBitmap,System.Int32,System.Int32,System.Byte,System.Windows.Media.Color)">
\r
447 Sets the color of the pixel using an extra alpha value.
\r
449 <param name="bmp">The WriteableBitmap.</param>
\r
450 <param name="x">The x coordinate (row).</param>
\r
451 <param name="y">The y coordinate (column).</param>
\r
452 <param name="a">The alpha value of the color.</param>
\r
453 <param name="color">The color.</param>
\r
455 <member name="M:System.Windows.Media.Imaging.WriteableBitmapExtensions.SetPixeli(System.Windows.Media.Imaging.WriteableBitmap,System.Int32,System.Int32)">
\r
457 Sets the color of the pixel using a precalculated index (faster).
\r
459 <param name="bmp">The WriteableBitmap.</param>
\r
460 <param name="index">The coordinate index.</param>
\r
461 <param name="color">The color.</param>
\r
463 <member name="M:System.Windows.Media.Imaging.WriteableBitmapExtensions.SetPixel(System.Windows.Media.Imaging.WriteableBitmap,System.Int32,System.Int32,System.Int32)">
\r
465 Sets the color of the pixel.
\r
467 <param name="bmp">The WriteableBitmap.</param>
\r
468 <param name="x">The x coordinate (row).</param>
\r
469 <param name="y">The y coordinate (column).</param>
\r
470 <param name="color">The color.</param>
\r
472 <member name="M:System.Windows.Media.Imaging.WriteableBitmapExtensions.Blit(System.Windows.Media.Imaging.WriteableBitmap,System.Windows.Rect,System.Windows.Media.Imaging.WriteableBitmap,System.Windows.Rect,System.Windows.Media.Imaging.WriteableBitmapExtensions.BlendMode)">
\r
474 Copies (blits) the pixels from the WriteableBitmap source to the destination WriteableBitmap (this).
\r
476 <param name="bmp">The destination WriteableBitmap.</param>
\r
477 <param name="destRect">The rectangle that defines the destination region.</param>
\r
478 <param name="source">The source WriteableBitmap.</param>
\r
479 <param name="sourceRect">The rectangle that will be copied from the source to the destination.</param>
\r
480 <param name="BlendMode">The blending mode <see cref="T:System.Windows.Media.Imaging.WriteableBitmapExtensions.BlendMode"/>.</param>
\r
482 <member name="M:System.Windows.Media.Imaging.WriteableBitmapExtensions.Blit(System.Windows.Media.Imaging.WriteableBitmap,System.Windows.Rect,System.Windows.Media.Imaging.WriteableBitmap,System.Windows.Rect)">
\r
484 Copies (blits) the pixels from the WriteableBitmap source to the destination WriteableBitmap (this).
\r
486 <param name="bmp">The destination WriteableBitmap.</param>
\r
487 <param name="destRect">The rectangle that defines the destination region.</param>
\r
488 <param name="source">The source WriteableBitmap.</param>
\r
489 <param name="sourceRect">The rectangle that will be copied from the source to the destination.</param>
\r
491 <member name="M:System.Windows.Media.Imaging.WriteableBitmapExtensions.Blit(System.Windows.Media.Imaging.WriteableBitmap,System.Windows.Point,System.Windows.Media.Imaging.WriteableBitmap,System.Windows.Rect,System.Windows.Media.Color,System.Windows.Media.Imaging.WriteableBitmapExtensions.BlendMode)">
\r
493 Copies (blits) the pixels from the WriteableBitmap source to the destination WriteableBitmap (this).
\r
495 <param name="bmp">The destination WriteableBitmap.</param>
\r
496 <param name="destPosition">The destination position in the destination bitmap.</param>
\r
497 <param name="source">The source WriteableBitmap.</param>
\r
498 <param name="sourceRect">The rectangle that will be copied from the source to the destination.</param>
\r
499 <param name="color">If not Colors.White, will tint the source image. A partially transparent color and the image will be drawn partially transparent.</param>
\r
500 <param name="BlendMode">The blending mode <see cref="T:System.Windows.Media.Imaging.WriteableBitmapExtensions.BlendMode"/>.</param>
\r
502 <member name="M:System.Windows.Media.Imaging.WriteableBitmapExtensions.Blit(System.Windows.Media.Imaging.WriteableBitmap,System.Windows.Rect,System.Windows.Media.Imaging.WriteableBitmap,System.Windows.Rect,System.Windows.Media.Color,System.Windows.Media.Imaging.WriteableBitmapExtensions.BlendMode)">
\r
504 Copies (blits) the pixels from the WriteableBitmap source to the destination WriteableBitmap (this).
\r
506 <param name="bmp">The destination WriteableBitmap.</param>
\r
507 <param name="destRect">The rectangle that defines the destination region.</param>
\r
508 <param name="source">The source WriteableBitmap.</param>
\r
509 <param name="sourceRect">The rectangle that will be copied from the source to the destination.</param>
\r
510 <param name="color">If not Colors.White, will tint the source image. A partially transparent color and the image will be drawn partially transparent.</param>
\r
511 <param name="BlendMode">The blending mode <see cref="T:System.Windows.Media.Imaging.WriteableBitmapExtensions.BlendMode"/>.</param>
\r
513 <member name="M:System.Windows.Media.Imaging.WriteableBitmapExtensions.FillRectangle(System.Windows.Media.Imaging.WriteableBitmap,System.Int32,System.Int32,System.Int32,System.Int32,System.Windows.Media.Color)">
\r
515 Draws a filled rectangle.
\r
516 x2 has to be greater than x1 and y2 has to be greater than y1.
\r
518 <param name="bmp">The WriteableBitmap.</param>
\r
519 <param name="x1">The x-coordinate of the bounding rectangle's left side.</param>
\r
520 <param name="y1">The y-coordinate of the bounding rectangle's top side.</param>
\r
521 <param name="x2">The x-coordinate of the bounding rectangle's right side.</param>
\r
522 <param name="y2">The y-coordinate of the bounding rectangle's bottom side.</param>
\r
523 <param name="color">The color.</param>
\r
525 <member name="M:System.Windows.Media.Imaging.WriteableBitmapExtensions.FillRectangle(System.Windows.Media.Imaging.WriteableBitmap,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32)">
\r
527 Draws a filled rectangle.
\r
528 x2 has to be greater than x1 and y2 has to be greater than y1.
\r
530 <param name="bmp">The WriteableBitmap.</param>
\r
531 <param name="x1">The x-coordinate of the bounding rectangle's left side.</param>
\r
532 <param name="y1">The y-coordinate of the bounding rectangle's top side.</param>
\r
533 <param name="x2">The x-coordinate of the bounding rectangle's right side.</param>
\r
534 <param name="y2">The y-coordinate of the bounding rectangle's bottom side.</param>
\r
535 <param name="color">The color.</param>
\r
537 <member name="M:System.Windows.Media.Imaging.WriteableBitmapExtensions.FillEllipse(System.Windows.Media.Imaging.WriteableBitmap,System.Int32,System.Int32,System.Int32,System.Int32,System.Windows.Media.Color)">
\r
539 A Fast Bresenham Type Algorithm For Drawing filled ellipses http://homepage.smc.edu/kennedy_john/belipse.pdf
\r
540 x2 has to be greater than x1 and y2 has to be greater than y1.
\r
542 <param name="bmp">The WriteableBitmap.</param>
\r
543 <param name="x1">The x-coordinate of the bounding rectangle's left side.</param>
\r
544 <param name="y1">The y-coordinate of the bounding rectangle's top side.</param>
\r
545 <param name="x2">The x-coordinate of the bounding rectangle's right side.</param>
\r
546 <param name="y2">The y-coordinate of the bounding rectangle's bottom side.</param>
\r
547 <param name="color">The color for the line.</param>
\r
549 <member name="M:System.Windows.Media.Imaging.WriteableBitmapExtensions.FillEllipse(System.Windows.Media.Imaging.WriteableBitmap,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32)">
\r
551 A Fast Bresenham Type Algorithm For Drawing filled ellipses http://homepage.smc.edu/kennedy_john/belipse.pdf
\r
552 x2 has to be greater than x1 and y2 has to be greater than y1.
\r
554 <param name="bmp">The WriteableBitmap.</param>
\r
555 <param name="x1">The x-coordinate of the bounding rectangle's left side.</param>
\r
556 <param name="y1">The y-coordinate of the bounding rectangle's top side.</param>
\r
557 <param name="x2">The x-coordinate of the bounding rectangle's right side.</param>
\r
558 <param name="y2">The y-coordinate of the bounding rectangle's bottom side.</param>
\r
559 <param name="color">The color for the line.</param>
\r
561 <member name="M:System.Windows.Media.Imaging.WriteableBitmapExtensions.FillEllipseCentered(System.Windows.Media.Imaging.WriteableBitmap,System.Int32,System.Int32,System.Int32,System.Int32,System.Windows.Media.Color)">
\r
563 A Fast Bresenham Type Algorithm For Drawing filled ellipses http://homepage.smc.edu/kennedy_john/belipse.pdf
\r
564 Uses a different parameter representation than DrawEllipse().
\r
566 <param name="bmp">The WriteableBitmap.</param>
\r
567 <param name="xc">The x-coordinate of the ellipses center.</param>
\r
568 <param name="yc">The y-coordinate of the ellipses center.</param>
\r
569 <param name="xr">The radius of the ellipse in x-direction.</param>
\r
570 <param name="yr">The radius of the ellipse in y-direction.</param>
\r
571 <param name="color">The color for the line.</param>
\r
573 <member name="M:System.Windows.Media.Imaging.WriteableBitmapExtensions.FillEllipseCentered(System.Windows.Media.Imaging.WriteableBitmap,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32)">
\r
575 A Fast Bresenham Type Algorithm For Drawing filled ellipses http://homepage.smc.edu/kennedy_john/belipse.pdf
\r
576 Uses a different parameter representation than DrawEllipse().
\r
578 <param name="bmp">The WriteableBitmap.</param>
\r
579 <param name="xc">The x-coordinate of the ellipses center.</param>
\r
580 <param name="yc">The y-coordinate of the ellipses center.</param>
\r
581 <param name="xr">The radius of the ellipse in x-direction.</param>
\r
582 <param name="yr">The radius of the ellipse in y-direction.</param>
\r
583 <param name="color">The color for the line.</param>
\r
585 <member name="M:System.Windows.Media.Imaging.WriteableBitmapExtensions.FillPolygon(System.Windows.Media.Imaging.WriteableBitmap,System.Int32[],System.Windows.Media.Color)">
\r
587 Draws a filled polygon. Add the first point also at the end of the array if the line should be closed.
\r
589 <param name="bmp">The WriteableBitmap.</param>
\r
590 <param name="points">The points of the polygon in x and y pairs, therefore the array is interpreted as (x1, y1, x2, y2, ..., xn, yn).</param>
\r
591 <param name="color">The color for the line.</param>
\r
593 <member name="M:System.Windows.Media.Imaging.WriteableBitmapExtensions.FillPolygon(System.Windows.Media.Imaging.WriteableBitmap,System.Int32[],System.Int32)">
\r
595 Draws a filled polygon. Add the first point also at the end of the array if the line should be closed.
\r
597 <param name="bmp">The WriteableBitmap.</param>
\r
598 <param name="points">The points of the polygon in x and y pairs, therefore the array is interpreted as (x1, y1, x2, y2, ..., xn, yn).</param>
\r
599 <param name="color">The color for the line.</param>
\r
601 <member name="M:System.Windows.Media.Imaging.WriteableBitmapExtensions.FillQuad(System.Windows.Media.Imaging.WriteableBitmap,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Windows.Media.Color)">
\r
603 Draws a filled quad.
\r
605 <param name="bmp">The WriteableBitmap.</param>
\r
606 <param name="x1">The x-coordinate of the 1st point.</param>
\r
607 <param name="y1">The y-coordinate of the 1st point.</param>
\r
608 <param name="x2">The x-coordinate of the 2nd point.</param>
\r
609 <param name="y2">The y-coordinate of the 2nd point.</param>
\r
610 <param name="x3">The x-coordinate of the 3rd point.</param>
\r
611 <param name="y3">The y-coordinate of the 3rd point.</param>
\r
612 <param name="x4">The x-coordinate of the 4th point.</param>
\r
613 <param name="y4">The y-coordinate of the 4th point.</param>
\r
614 <param name="color">The color.</param>
\r
616 <member name="M:System.Windows.Media.Imaging.WriteableBitmapExtensions.FillQuad(System.Windows.Media.Imaging.WriteableBitmap,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32)">
\r
618 Draws a filled quad.
\r
620 <param name="bmp">The WriteableBitmap.</param>
\r
621 <param name="x1">The x-coordinate of the 1st point.</param>
\r
622 <param name="y1">The y-coordinate of the 1st point.</param>
\r
623 <param name="x2">The x-coordinate of the 2nd point.</param>
\r
624 <param name="y2">The y-coordinate of the 2nd point.</param>
\r
625 <param name="x3">The x-coordinate of the 3rd point.</param>
\r
626 <param name="y3">The y-coordinate of the 3rd point.</param>
\r
627 <param name="x4">The x-coordinate of the 4th point.</param>
\r
628 <param name="y4">The y-coordinate of the 4th point.</param>
\r
629 <param name="color">The color.</param>
\r
631 <member name="M:System.Windows.Media.Imaging.WriteableBitmapExtensions.FillTriangle(System.Windows.Media.Imaging.WriteableBitmap,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Windows.Media.Color)">
\r
633 Draws a filled triangle.
\r
635 <param name="bmp">The WriteableBitmap.</param>
\r
636 <param name="x1">The x-coordinate of the 1st point.</param>
\r
637 <param name="y1">The y-coordinate of the 1st point.</param>
\r
638 <param name="x2">The x-coordinate of the 2nd point.</param>
\r
639 <param name="y2">The y-coordinate of the 2nd point.</param>
\r
640 <param name="x3">The x-coordinate of the 3rd point.</param>
\r
641 <param name="y3">The y-coordinate of the 3rd point.</param>
\r
642 <param name="color">The color.</param>
\r
644 <member name="M:System.Windows.Media.Imaging.WriteableBitmapExtensions.FillTriangle(System.Windows.Media.Imaging.WriteableBitmap,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32)">
\r
646 Draws a filled triangle.
\r
648 <param name="bmp">The WriteableBitmap.</param>
\r
649 <param name="x1">The x-coordinate of the 1st point.</param>
\r
650 <param name="y1">The y-coordinate of the 1st point.</param>
\r
651 <param name="x2">The x-coordinate of the 2nd point.</param>
\r
652 <param name="y2">The y-coordinate of the 2nd point.</param>
\r
653 <param name="x3">The x-coordinate of the 3rd point.</param>
\r
654 <param name="y3">The y-coordinate of the 3rd point.</param>
\r
655 <param name="color">The color.</param>
\r
657 <member name="M:System.Windows.Media.Imaging.WriteableBitmapExtensions.ComputeBezierPoints(System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32[],System.Int32,System.Int32)">
\r
659 Draws a filled, cubic Beziér spline defined by start, end and two control points.
\r
661 <param name="x1">The x-coordinate of the start point.</param>
\r
662 <param name="y1">The y-coordinate of the start point.</param>
\r
663 <param name="cx1">The x-coordinate of the 1st control point.</param>
\r
664 <param name="cy1">The y-coordinate of the 1st control point.</param>
\r
665 <param name="cx2">The x-coordinate of the 2nd control point.</param>
\r
666 <param name="cy2">The y-coordinate of the 2nd control point.</param>
\r
667 <param name="x2">The x-coordinate of the end point.</param>
\r
668 <param name="y2">The y-coordinate of the end point.</param>
\r
669 <param name="color">The color.</param>
\r
670 <param name="pixels">The pixels array.</param>
\r
671 <param name="w">The width of the bitmap.</param>
\r
672 <param name="h">The height of the bitmap.</param>
\r
674 <member name="M:System.Windows.Media.Imaging.WriteableBitmapExtensions.FillBeziers(System.Windows.Media.Imaging.WriteableBitmap,System.Int32[],System.Windows.Media.Color)">
\r
676 Draws a series of filled, cubic Beziér splines each defined by start, end and two control points.
\r
677 The ending point of the previous curve is used as starting point for the next.
\r
678 Therfore the inital curve needs four points and the subsequent 3 (2 control and 1 end point).
\r
680 <param name="bmp">The WriteableBitmap.</param>
\r
681 <param name="points">The points for the curve in x and y pairs, therefore the array is interpreted as (x1, y1, cx1, cy1, cx2, cy2, x2, y2, cx3, cx4 ..., xn, yn).</param>
\r
682 <param name="color">The color for the spline.</param>
\r
684 <member name="M:System.Windows.Media.Imaging.WriteableBitmapExtensions.FillBeziers(System.Windows.Media.Imaging.WriteableBitmap,System.Int32[],System.Int32)">
\r
686 Draws a series of filled, cubic Beziér splines each defined by start, end and two control points.
\r
687 The ending point of the previous curve is used as starting point for the next.
\r
688 Therfore the inital curve needs four points and the subsequent 3 (2 control and 1 end point).
\r
690 <param name="bmp">The WriteableBitmap.</param>
\r
691 <param name="points">The points for the curve in x and y pairs, therefore the array is interpreted as (x1, y1, cx1, cy1, cx2, cy2, x2, y2, cx3, cx4 ..., xn, yn).</param>
\r
692 <param name="color">The color for the spline.</param>
\r
694 <member name="M:System.Windows.Media.Imaging.WriteableBitmapExtensions.ComputeSegmentPoints(System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Single,System.Int32,System.Int32[],System.Int32,System.Int32)">
\r
696 Computes the discrete segment points of a Cardinal spline (cubic) defined by four control points.
\r
698 <param name="x1">The x-coordinate of the 1st control point.</param>
\r
699 <param name="y1">The y-coordinate of the 1st control point.</param>
\r
700 <param name="x2">The x-coordinate of the 2nd control point.</param>
\r
701 <param name="y2">The y-coordinate of the 2nd control point.</param>
\r
702 <param name="x3">The x-coordinate of the 3rd control point.</param>
\r
703 <param name="y3">The y-coordinate of the 3rd control point.</param>
\r
704 <param name="x4">The x-coordinate of the 4th control point.</param>
\r
705 <param name="y4">The y-coordinate of the 4th control point.</param>
\r
706 <param name="tension">The tension of the curve defines the shape. Usually between 0 and 1. 0 would be a straight line.</param>
\r
707 <param name="color">The color.</param>
\r
708 <param name="pixels">The pixels array.</param>
\r
709 <param name="w">The width of the bitmap.</param>
\r
710 <param name="h">The height of the bitmap.</param>
\r
712 <member name="M:System.Windows.Media.Imaging.WriteableBitmapExtensions.FillCurve(System.Windows.Media.Imaging.WriteableBitmap,System.Int32[],System.Single,System.Windows.Media.Color)">
\r
714 Draws a filled Cardinal spline (cubic) defined by a point collection.
\r
715 The cardinal spline passes through each point in the collection.
\r
717 <param name="bmp">The WriteableBitmap.</param>
\r
718 <param name="points">The points for the curve in x and y pairs, therefore the array is interpreted as (x1, y1, x2, y2, x3, y3, x4, y4, x1, x2 ..., xn, yn).</param>
\r
719 <param name="tension">The tension of the curve defines the shape. Usually between 0 and 1. 0 would be a straight line.</param>
\r
720 <param name="color">The color for the spline.</param>
\r
722 <member name="M:System.Windows.Media.Imaging.WriteableBitmapExtensions.FillCurve(System.Windows.Media.Imaging.WriteableBitmap,System.Int32[],System.Single,System.Int32)">
\r
724 Draws a filled Cardinal spline (cubic) defined by a point collection.
\r
725 The cardinal spline passes through each point in the collection.
\r
727 <param name="bmp">The WriteableBitmap.</param>
\r
728 <param name="points">The points for the curve in x and y pairs, therefore the array is interpreted as (x1, y1, x2, y2, x3, y3, x4, y4, x1, x2 ..., xn, yn).</param>
\r
729 <param name="tension">The tension of the curve defines the shape. Usually between 0 and 1. 0 would be a straight line.</param>
\r
730 <param name="color">The color for the spline.</param>
\r
732 <member name="M:System.Windows.Media.Imaging.WriteableBitmapExtensions.FillCurveClosed(System.Windows.Media.Imaging.WriteableBitmap,System.Int32[],System.Single,System.Windows.Media.Color)">
\r
734 Draws a filled, closed Cardinal spline (cubic) defined by a point collection.
\r
735 The cardinal spline passes through each point in the collection.
\r
737 <param name="bmp">The WriteableBitmap.</param>
\r
738 <param name="points">The points for the curve in x and y pairs, therefore the array is interpreted as (x1, y1, x2, y2, x3, y3, x4, y4, x1, x2 ..., xn, yn).</param>
\r
739 <param name="tension">The tension of the curve defines the shape. Usually between 0 and 1. 0 would be a straight line.</param>
\r
740 <param name="color">The color for the spline.</param>
\r
742 <member name="M:System.Windows.Media.Imaging.WriteableBitmapExtensions.FillCurveClosed(System.Windows.Media.Imaging.WriteableBitmap,System.Int32[],System.Single,System.Int32)">
\r
744 Draws a filled, closed Cardinal spline (cubic) defined by a point collection.
\r
745 The cardinal spline passes through each point in the collection.
\r
747 <param name="bmp">The WriteableBitmap.</param>
\r
748 <param name="points">The points for the curve in x and y pairs, therefore the array is interpreted as (x1, y1, x2, y2, x3, y3, x4, y4, x1, x2 ..., xn, yn).</param>
\r
749 <param name="tension">The tension of the curve defines the shape. Usually between 0 and 1. 0 would be a straight line.</param>
\r
750 <param name="color">The color for the spline.</param>
\r
752 <member name="M:System.Windows.Media.Imaging.WriteableBitmapExtensions.DrawBezier(System.Windows.Media.Imaging.WriteableBitmap,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Windows.Media.Color)">
\r
754 Draws a cubic Beziér spline defined by start, end and two control points.
\r
756 <param name="bmp">The WriteableBitmap.</param>
\r
757 <param name="x1">The x-coordinate of the start point.</param>
\r
758 <param name="y1">The y-coordinate of the start point.</param>
\r
759 <param name="cx1">The x-coordinate of the 1st control point.</param>
\r
760 <param name="cy1">The y-coordinate of the 1st control point.</param>
\r
761 <param name="cx2">The x-coordinate of the 2nd control point.</param>
\r
762 <param name="cy2">The y-coordinate of the 2nd control point.</param>
\r
763 <param name="x2">The x-coordinate of the end point.</param>
\r
764 <param name="y2">The y-coordinate of the end point.</param>
\r
765 <param name="color">The color.</param>
\r
767 <member name="M:System.Windows.Media.Imaging.WriteableBitmapExtensions.DrawBezier(System.Windows.Media.Imaging.WriteableBitmap,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32)">
\r
769 Draws a cubic Beziér spline defined by start, end and two control points.
\r
771 <param name="bmp">The WriteableBitmap.</param>
\r
772 <param name="x1">The x-coordinate of the start point.</param>
\r
773 <param name="y1">The y-coordinate of the start point.</param>
\r
774 <param name="cx1">The x-coordinate of the 1st control point.</param>
\r
775 <param name="cy1">The y-coordinate of the 1st control point.</param>
\r
776 <param name="cx2">The x-coordinate of the 2nd control point.</param>
\r
777 <param name="cy2">The y-coordinate of the 2nd control point.</param>
\r
778 <param name="x2">The x-coordinate of the end point.</param>
\r
779 <param name="y2">The y-coordinate of the end point.</param>
\r
780 <param name="color">The color.</param>
\r
782 <member name="M:System.Windows.Media.Imaging.WriteableBitmapExtensions.DrawBeziers(System.Windows.Media.Imaging.WriteableBitmap,System.Int32[],System.Windows.Media.Color)">
\r
784 Draws a series of cubic Beziér splines each defined by start, end and two control points.
\r
785 The ending point of the previous curve is used as starting point for the next.
\r
786 Therfore the inital curve needs four points and the subsequent 3 (2 control and 1 end point).
\r
788 <param name="bmp">The WriteableBitmap.</param>
\r
789 <param name="points">The points for the curve in x and y pairs, therefore the array is interpreted as (x1, y1, cx1, cy1, cx2, cy2, x2, y2, cx3, cx4 ..., xn, yn).</param>
\r
790 <param name="color">The color for the spline.</param>
\r
792 <member name="M:System.Windows.Media.Imaging.WriteableBitmapExtensions.DrawBeziers(System.Windows.Media.Imaging.WriteableBitmap,System.Int32[],System.Int32)">
\r
794 Draws a series of cubic Beziér splines each defined by start, end and two control points.
\r
795 The ending point of the previous curve is used as starting point for the next.
\r
796 Therfore the inital curve needs four points and the subsequent 3 (2 control and 1 end point).
\r
798 <param name="bmp">The WriteableBitmap.</param>
\r
799 <param name="points">The points for the curve in x and y pairs, therefore the array is interpreted as (x1, y1, cx1, cy1, cx2, cy2, x2, y2, cx3, cx4 ..., xn, yn).</param>
\r
800 <param name="color">The color for the spline.</param>
\r
802 <member name="M:System.Windows.Media.Imaging.WriteableBitmapExtensions.DrawCurveSegment(System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Single,System.Int32,System.Int32[],System.Int32,System.Int32)">
\r
804 Draws a segment of a Cardinal spline (cubic) defined by four control points.
\r
806 <param name="x1">The x-coordinate of the 1st control point.</param>
\r
807 <param name="y1">The y-coordinate of the 1st control point.</param>
\r
808 <param name="x2">The x-coordinate of the 2nd control point.</param>
\r
809 <param name="y2">The y-coordinate of the 2nd control point.</param>
\r
810 <param name="x3">The x-coordinate of the 3rd control point.</param>
\r
811 <param name="y3">The y-coordinate of the 3rd control point.</param>
\r
812 <param name="x4">The x-coordinate of the 4th control point.</param>
\r
813 <param name="y4">The y-coordinate of the 4th control point.</param>
\r
814 <param name="tension">The tension of the curve defines the shape. Usually between 0 and 1. 0 would be a straight line.</param>
\r
815 <param name="color">The color.</param>
\r
816 <param name="pixels">The pixels array.</param>
\r
817 <param name="w">The width of the bitmap.</param>
\r
818 <param name="h">The height of the bitmap.</param>
\r
820 <member name="M:System.Windows.Media.Imaging.WriteableBitmapExtensions.DrawCurve(System.Windows.Media.Imaging.WriteableBitmap,System.Int32[],System.Single,System.Windows.Media.Color)">
\r
822 Draws a Cardinal spline (cubic) defined by a point collection.
\r
823 The cardinal spline passes through each point in the collection.
\r
825 <param name="bmp">The WriteableBitmap.</param>
\r
826 <param name="points">The points for the curve in x and y pairs, therefore the array is interpreted as (x1, y1, x2, y2, x3, y3, x4, y4, x1, x2 ..., xn, yn).</param>
\r
827 <param name="tension">The tension of the curve defines the shape. Usually between 0 and 1. 0 would be a straight line.</param>
\r
828 <param name="color">The color for the spline.</param>
\r
830 <member name="M:System.Windows.Media.Imaging.WriteableBitmapExtensions.DrawCurve(System.Windows.Media.Imaging.WriteableBitmap,System.Int32[],System.Single,System.Int32)">
\r
832 Draws a Cardinal spline (cubic) defined by a point collection.
\r
833 The cardinal spline passes through each point in the collection.
\r
835 <param name="bmp">The WriteableBitmap.</param>
\r
836 <param name="points">The points for the curve in x and y pairs, therefore the array is interpreted as (x1, y1, x2, y2, x3, y3, x4, y4, x1, x2 ..., xn, yn).</param>
\r
837 <param name="tension">The tension of the curve defines the shape. Usually between 0 and 1. 0 would be a straight line.</param>
\r
838 <param name="color">The color for the spline.</param>
\r
840 <member name="M:System.Windows.Media.Imaging.WriteableBitmapExtensions.DrawCurveClosed(System.Windows.Media.Imaging.WriteableBitmap,System.Int32[],System.Single,System.Windows.Media.Color)">
\r
842 Draws a closed Cardinal spline (cubic) defined by a point collection.
\r
843 The cardinal spline passes through each point in the collection.
\r
845 <param name="bmp">The WriteableBitmap.</param>
\r
846 <param name="points">The points for the curve in x and y pairs, therefore the array is interpreted as (x1, y1, x2, y2, x3, y3, x4, y4, x1, x2 ..., xn, yn).</param>
\r
847 <param name="tension">The tension of the curve defines the shape. Usually between 0 and 1. 0 would be a straight line.</param>
\r
848 <param name="color">The color for the spline.</param>
\r
850 <member name="M:System.Windows.Media.Imaging.WriteableBitmapExtensions.DrawCurveClosed(System.Windows.Media.Imaging.WriteableBitmap,System.Int32[],System.Single,System.Int32)">
\r
852 Draws a closed Cardinal spline (cubic) defined by a point collection.
\r
853 The cardinal spline passes through each point in the collection.
\r
855 <param name="bmp">The WriteableBitmap.</param>
\r
856 <param name="points">The points for the curve in x and y pairs, therefore the array is interpreted as (x1, y1, x2, y2, x3, y3, x4, y4, x1, x2 ..., xn, yn).</param>
\r
857 <param name="tension">The tension of the curve defines the shape. Usually between 0 and 1. 0 would be a straight line.</param>
\r
858 <param name="color">The color for the spline.</param>
\r
860 <member name="M:System.Windows.Media.Imaging.WriteableBitmapExtensions.Crop(System.Windows.Media.Imaging.WriteableBitmap,System.Int32,System.Int32,System.Int32,System.Int32)">
\r
862 Creates a new cropped WriteableBitmap.
\r
864 <param name="bmp">The WriteableBitmap.</param>
\r
865 <param name="x">The x coordinate of the rectangle that defines the crop region.</param>
\r
866 <param name="y">The y coordinate of the rectangle that defines the crop region.</param>
\r
867 <param name="width">The width of the rectangle that defines the crop region.</param>
\r
868 <param name="height">The height of the rectangle that defines the crop region.</param>
\r
869 <returns>A new WriteableBitmap that is a cropped version of the input.</returns>
\r
871 <member name="M:System.Windows.Media.Imaging.WriteableBitmapExtensions.Crop(System.Windows.Media.Imaging.WriteableBitmap,System.Windows.Rect)">
\r
873 Creates a new cropped WriteableBitmap.
\r
875 <param name="bmp">The WriteableBitmap.</param>
\r
876 <param name="region">The rectangle that defines the crop region.</param>
\r
877 <returns>A new WriteableBitmap that is a cropped version of the input.</returns>
\r
879 <member name="M:System.Windows.Media.Imaging.WriteableBitmapExtensions.Resize(System.Windows.Media.Imaging.WriteableBitmap,System.Int32,System.Int32,System.Windows.Media.Imaging.WriteableBitmapExtensions.Interpolation)">
\r
881 Creates a new resized WriteableBitmap.
\r
883 <param name="bmp">The WriteableBitmap.</param>
\r
884 <param name="width">The new desired width.</param>
\r
885 <param name="height">The new desired height.</param>
\r
886 <param name="interpolation">The interpolation method that should be used.</param>
\r
887 <returns>A new WriteableBitmap that is a resized version of the input.</returns>
\r
889 <member name="T:System.Windows.Media.Imaging.WriteableBitmapExtensions.BlendMode">
\r
894 <member name="F:System.Windows.Media.Imaging.WriteableBitmapExtensions.BlendMode.Alpha">
\r
896 Alpha blendiing uses the alpha channel to combine the source and destination.
\r
899 <member name="F:System.Windows.Media.Imaging.WriteableBitmapExtensions.BlendMode.Additive">
\r
901 Additive blending adds the colors of the source and the destination.
\r
904 <member name="F:System.Windows.Media.Imaging.WriteableBitmapExtensions.BlendMode.Subtractive">
\r
906 Subtractive blending subtracts the source color from the destination.
\r
909 <member name="F:System.Windows.Media.Imaging.WriteableBitmapExtensions.BlendMode.Mask">
\r
911 Uses the source color as a mask.
\r
914 <member name="F:System.Windows.Media.Imaging.WriteableBitmapExtensions.BlendMode.Multiply">
\r
916 Multiplies the source color with the destination color.
\r
919 <member name="F:System.Windows.Media.Imaging.WriteableBitmapExtensions.BlendMode.None">
\r
921 No blending just copies the pixels from the source.
\r
924 <member name="T:System.Windows.Media.Imaging.WriteableBitmapExtensions.Interpolation">
\r
926 The interpolation method.
\r
929 <member name="F:System.Windows.Media.Imaging.WriteableBitmapExtensions.Interpolation.NearestNeighbor">
\r
931 The nearest neighbor algorithm simply selects the color of the nearest pixel.
\r
934 <member name="F:System.Windows.Media.Imaging.WriteableBitmapExtensions.Interpolation.Bilinear">
\r
936 Linear interpolation in 2D using the average of 3 neighboring pixels.
\r