enesim  0.0.23.1
Drawinglibrary
Modules | Defines | Enumerations
Basic types

Basic types. More...

Modules

 Argb
 

Argb definition.


 Color
 

Color definition.


 Alpha
 

Alpha definition.


 Figures
 

Figure definition.


 Matrices type
 

Matrix types.


 Matrices in fixed point
 

Fixed point matrices operations.


 Matrices in floating point
 

Matrix definition and operations.


 Paths
 

Path definition.


 Quadrangles
 

Quadrangles operations.


 Rectangle
 

Rectangle definition and operations.


Defines

#define ENESIM_ANGLE_LAST   (ENESIM_ANGLE_CW_270 + 1)
#define ENESIM_ROP_LAST   (ENESIM_ROP_FILL + 1)
#define ENESIM_QUALITY_LAST   (ENESIM_QUALITY_FAST + 1)
#define ENESIM_CHANNEL_LAST   (ENESIM_CHANNEL_LUMINANCE + 1)
#define ENESIM_ALPHA_HINT_LAST   (ENESIM_ALPHA_HINT_OPAQUE + 1)
#define ENESIM_REPEAT_MODE_LAST   (ENESIM_REPEAT_MODE_REPEAT + 1)
#define ENESIM_BACKEND_LAST   (ENESIM_BACKEND_OPENGL + 1)

Enumerations

enum  Enesim_Angle {
  ENESIM_ANGLE_NONE,
  ENESIM_ANGLE_CW_90,
  ENESIM_ANGLE_CW_180,
  ENESIM_ANGLE_CW_270
}
enum  Enesim_Rop {
  ENESIM_ROP_BLEND,
  ENESIM_ROP_FILL
}
enum  Enesim_Quality {
  ENESIM_QUALITY_BEST,
  ENESIM_QUALITY_GOOD,
  ENESIM_QUALITY_FAST
}
enum  Enesim_Priority {
  ENESIM_PRIORITY_NONE = 0,
  ENESIM_PRIORITY_MARGINAL = 64,
  ENESIM_PRIORITY_SECONDARY = 128,
  ENESIM_PRIORITY_PRIMARY = 256
}
enum  Enesim_Channel {
  ENESIM_CHANNEL_RED,
  ENESIM_CHANNEL_GREEN,
  ENESIM_CHANNEL_BLUE,
  ENESIM_CHANNEL_ALPHA,
  ENESIM_CHANNEL_LUMINANCE
}
enum  Enesim_Alpha_Hint {
  ENESIM_ALPHA_HINT_NORMAL,
  ENESIM_ALPHA_HINT_SPARSE,
  ENESIM_ALPHA_HINT_OPAQUE
}
enum  Enesim_Repeat_Mode {
  ENESIM_REPEAT_MODE_RESTRICT,
  ENESIM_REPEAT_MODE_PAD,
  ENESIM_REPEAT_MODE_REFLECT,
  ENESIM_REPEAT_MODE_REPEAT
}
enum  Enesim_Backend {
  ENESIM_BACKEND_INVALID,
  ENESIM_BACKEND_SOFTWARE,
  ENESIM_BACKEND_OPENCL,
  ENESIM_BACKEND_OPENGL
}

Detailed Description

Basic types.


Enumeration Type Documentation

Angle enumeration

Enumerator:
ENESIM_ANGLE_NONE 

0 degrees angle

ENESIM_ANGLE_CW_90 

90 degrees angle CW

ENESIM_ANGLE_CW_180 

180 degrees angle CW

ENESIM_ANGLE_CW_270 

270 degrees angle CW

enum Enesim_Rop

Raster operations at pixel level

Enumerator:
ENESIM_ROP_BLEND 

D = S + D(1 - Sa)

ENESIM_ROP_FILL 

D = S

Quality values

Enumerator:
ENESIM_QUALITY_BEST 

Best quality

ENESIM_QUALITY_GOOD 

Good quality

ENESIM_QUALITY_FAST 

Lower quality, fastest

Priorities

RGBA Channels

Enumerator:
ENESIM_CHANNEL_RED 

Red channel

ENESIM_CHANNEL_GREEN 

Green channel

ENESIM_CHANNEL_BLUE 

Blue channel

ENESIM_CHANNEL_ALPHA 

Alpha channel

ENESIM_CHANNEL_LUMINANCE 

Luminance to alpha, with 0.2125, 0.7154 and 0.0721 coefficients

Alpha hints

Enumerator:
ENESIM_ALPHA_HINT_NORMAL 

Alpha can be in the whole range

ENESIM_ALPHA_HINT_SPARSE 

Alpha is sparsed only, that is or 0 or 255

ENESIM_ALPHA_HINT_OPAQUE 

Alpha is always 255

Repeat modes

The backend used for drawing

Enumerator:
ENESIM_BACKEND_INVALID 

Invalid backend

ENESIM_BACKEND_SOFTWARE 

Software based backend

ENESIM_BACKEND_OPENCL 

OpenCL based backend (not working)

ENESIM_BACKEND_OPENGL 

OpenGL based backend (experimental)

 All Data Structures Variables