|
10 | 10 | // ReSharper disable UnusedType.Global |
11 | 11 | // ReSharper disable UnusedMember.Global |
12 | 12 |
|
13 | | -namespace RenderEngine.Interfaces; |
14 | | - |
15 | | -/// <summary> |
16 | | -/// Interface for our ImageToolkit |
17 | | -/// </summary> |
18 | | -public interface IImageToolkit |
| 13 | +namespace RenderEngine.Interfaces |
19 | 14 | { |
20 | 15 | /// <summary> |
21 | | - /// From int to array. |
| 16 | + /// Interface for our ImageToolkit |
22 | 17 | /// </summary> |
23 | | - /// <param name="width">The width.</param> |
24 | | - /// <param name="height">The height.</param> |
25 | | - /// <param name="bits">The bits.</param> |
26 | | - /// <returns>Image array data as UnmanagedImageBuffer.</returns> |
27 | | - UnmanagedImageBuffer FromIntArray(int width, int height, int[] bits); |
| 18 | + public interface IImageToolkit |
| 19 | + { |
| 20 | + /// <summary> |
| 21 | + /// From int to array. |
| 22 | + /// </summary> |
| 23 | + /// <param name="width">The width.</param> |
| 24 | + /// <param name="height">The height.</param> |
| 25 | + /// <param name="bits">The bits.</param> |
| 26 | + /// <returns>Image array data as UnmanagedImageBuffer.</returns> |
| 27 | + UnmanagedImageBuffer FromIntArray(int width, int height, int[] bits); |
28 | 28 |
|
29 | | - /// <summary> |
30 | | - /// Converts to int array. |
31 | | - /// </summary> |
32 | | - /// <param name="buffer">The buffer.</param> |
33 | | - /// <returns>Image array data from UnmanagedImageBuffer.</returns> |
34 | | - int[] ToIntArray(UnmanagedImageBuffer buffer); |
| 29 | + /// <summary> |
| 30 | + /// Converts to int array. |
| 31 | + /// </summary> |
| 32 | + /// <param name="buffer">The buffer.</param> |
| 33 | + /// <returns>Image array data from UnmanagedImageBuffer.</returns> |
| 34 | + int[] ToIntArray(UnmanagedImageBuffer buffer); |
35 | 35 |
|
36 | | - /// <summary> |
37 | | - /// Creates the layered container. |
38 | | - /// </summary> |
39 | | - /// <param name="width">The width.</param> |
40 | | - /// <param name="height">The height.</param> |
41 | | - /// <returns>A layered ImageContainer</returns> |
42 | | - LayeredImageContainer CreateLayeredContainer(int width, int height); |
| 36 | + /// <summary> |
| 37 | + /// Creates the layered container. |
| 38 | + /// </summary> |
| 39 | + /// <param name="width">The width.</param> |
| 40 | + /// <param name="height">The height.</param> |
| 41 | + /// <returns>A layered ImageContainer</returns> |
| 42 | + LayeredImageContainer CreateLayeredContainer(int width, int height); |
43 | 43 |
|
44 | | - /// <summary> |
45 | | - /// Creates from layers. |
46 | | - /// </summary> |
47 | | - /// <param name="layers">The layers.</param> |
48 | | - /// <returns>A layered ImageContainer</returns> |
49 | | - LayeredImageContainer CreateFromLayers(params UnmanagedImageBuffer[] layers); |
| 44 | + /// <summary> |
| 45 | + /// Creates from layers. |
| 46 | + /// </summary> |
| 47 | + /// <param name="layers">The layers.</param> |
| 48 | + /// <returns>A layered ImageContainer</returns> |
| 49 | + LayeredImageContainer CreateFromLayers(params UnmanagedImageBuffer[] layers); |
50 | 50 |
|
51 | | - /// <summary> |
52 | | - /// Composites the specified container. |
53 | | - /// </summary> |
54 | | - /// <param name="container">The container.</param> |
55 | | - /// <returns>A lUnmanagedImageBuffer from LayeredImageContainer.</returns> |
56 | | - UnmanagedImageBuffer Composite(LayeredImageContainer container); |
| 51 | + /// <summary> |
| 52 | + /// Composites the specified container. |
| 53 | + /// </summary> |
| 54 | + /// <param name="container">The container.</param> |
| 55 | + /// <returns>A lUnmanagedImageBuffer from LayeredImageContainer.</returns> |
| 56 | + UnmanagedImageBuffer Composite(LayeredImageContainer container); |
57 | 57 |
|
58 | | - /// <summary> |
59 | | - /// Merges the layers. |
60 | | - /// </summary> |
61 | | - /// <param name="container">The container.</param> |
62 | | - /// <param name="layerIndices">The layer indices.</param> |
63 | | - /// <param name="insertAt">The insert at.</param> |
64 | | - void MergeLayers(LayeredImageContainer container, int[] layerIndices, int insertAt); |
| 58 | + /// <summary> |
| 59 | + /// Merges the layers. |
| 60 | + /// </summary> |
| 61 | + /// <param name="container">The container.</param> |
| 62 | + /// <param name="layerIndices">The layer indices.</param> |
| 63 | + /// <param name="insertAt">The insert at.</param> |
| 64 | + void MergeLayers(LayeredImageContainer container, int[] layerIndices, int insertAt); |
| 65 | + } |
65 | 66 | } |
0 commit comments