2 * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
3 * Copyright (C) 2013 - Scilab Enterprises - Calixte DENIZET
5 * This file must be used under the terms of the CeCILL.
6 * This source file is licensed as described in the file COPYING, which
7 * you should have received as part of this distribution. The terms
8 * are also available at
9 * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
16 #include "dynlib_graphic_objects.h"
21 MATPLOT_HM1_UChar = 1,
22 MATPLOT_HM1_Double = 2,
24 MATPLOT_HM3_UChar = 4,
25 MATPLOT_HM3_Double = 5,
27 MATPLOT_HM4_UChar = 7,
28 MATPLOT_HM4_Double = 8,
57 MATPLOT_RGBA_4444 = 10,
58 MATPLOT_RGBA_5551 = 11,
65 MATPLOT_GL_RGB_RGBA = 1,
68 MATPLOT_GL_GRAY_16 = 4,
70 MATPLOT_GL_RGBA_REV = 6,
72 MATPLOT_GL_RGB_332 = 8,
74 MATPLOT_GL_GREEN = 10,
76 MATPLOT_GL_INTENSITY = 12,
77 MATPLOT_GL_RGBA_4444 = 13,
78 MATPLOT_GL_RGBA_5551 = 14,
79 MATPLOT_GL_RGB_FLOAT = 15,
80 MATPLOT_GL_RGBA_FLOAT = 16,
81 MATPLOT_GL_GRAY_FLOAT = 17,
82 MATPLOT_GL_RED_16 = 18,
83 MATPLOT_GL_GREEN_16 = 19,
84 MATPLOT_GL_BLUE_16 = 20,
85 MATPLOT_GL_RED_FLOAT = 21,
86 MATPLOT_GL_GREEN_FLOAT = 22,
87 MATPLOT_GL_BLUE_FLOAT = 23,
88 MATPLOT_GL_RGBA_BYTE = 24
92 * Build an integer which contains the given info
93 * @param[in] datatype the data type
94 * @param[in] dataorder the data order
95 * @param[in] imagetype the image type
98 GRAPHIC_OBJECTS_IMPEXP int buildMatplotType(DataType datatype, DataOrder dataorder, ImageType imagetype);