plastimatch
Loading...
Searching...
No Matches
xpm_p.h
Go to the documentation of this file.
1/* -----------------------------------------------------------------------
2 See COPYRIGHT.TXT and LICENSE.TXT for copyright and license information
3 ----------------------------------------------------------------------- */
4#ifndef _xpm_p_h_
5#define _xpm_p_h_
6
7#include "xpm.h"
8
10public:
11 int width; /* Image Width */
12 int height; /* Image Height */
13 int num_pix; /* Width * Height */
14 int num_colors; /* Number of Colors in Palette */
15 int cpp; /* Characters per Pixel */
16 char* color_code; /* User Defined Color Codes */
17 int* colors; /* Actual Color Codes */
18 char* img; /* Pixel Data */
19};
20
22public:
23 enum xpm_brushes type; /* Type of shape */
24 char color; /* Color Code */
25 int x_pos; /* X Postion */
26 int y_pos; /* Y Postion */
27 int width; /* Width */
28 int height; /* Height */
29 int rad; /* Radius */
30 int hparm; /* Misc 1 */
31 int lparm; /* Misc 2 */
32};
33
34#endif
Definition xpm_p.h:21
char color
Definition xpm_p.h:24
int rad
Definition xpm_p.h:29
int width
Definition xpm_p.h:27
int x_pos
Definition xpm_p.h:25
int hparm
Definition xpm_p.h:30
enum xpm_brushes type
Definition xpm_p.h:23
int lparm
Definition xpm_p.h:31
int height
Definition xpm_p.h:28
int y_pos
Definition xpm_p.h:26
Definition xpm_p.h:9
int num_pix
Definition xpm_p.h:13
int cpp
Definition xpm_p.h:15
int width
Definition xpm_p.h:11
char * img
Definition xpm_p.h:18
int * colors
Definition xpm_p.h:17
int height
Definition xpm_p.h:12
char * color_code
Definition xpm_p.h:16
int num_colors
Definition xpm_p.h:14
xpm_brushes
Definition xpm.h:12