enesim  0.0.23.1
Drawinglibrary
Data Structures | Defines | Enumerations
Definitions
Shapes

Data Structures

struct  Enesim_Renderer_Shape_Stroke_Dash

Defines

#define ENESIM_RENDERER_SHAPE_DRAW_MODE_STROKE_FILL   (ENESIM_RENDERER_SHAPE_DRAW_MODE_FILL | ENESIM_RENDERER_SHAPE_DRAW_MODE_STROKE)
#define ENESIM_RENDERER_SHAPE_STROKE_CAPS   (ENESIM_RENDERER_SHAPE_STROKE_CAP_SQUARE + 1)
#define ENESIM_RENDERER_SHAPE_STROKE_JOINS   (ENESIM_RENDERER_SHAPE_STROKE_JOIN_BEVEL + 1)
#define ENESIM_RENDERER_SHAPE_FILL_RULES   (ENESIM_RENDERER_SHAPE_FILL_RULE_EVEN_ODD + 1)

Enumerations

enum  Enesim_Renderer_Shape_Feature {
  ENESIM_RENDERER_SHAPE_FEATURE_FILL_RENDERER = 1,
  ENESIM_RENDERER_SHAPE_FEATURE_STROKE_RENDERER = 2,
  ENESIM_RENDERER_SHAPE_FEATURE_STROKE_LOCATION = 4,
  ENESIM_RENDERER_SHAPE_FEATURE_STROKE_DASH = 8
}
enum  Enesim_Renderer_Shape_Draw_Mode {
  ENESIM_RENDERER_SHAPE_DRAW_MODE_FILL = 1,
  ENESIM_RENDERER_SHAPE_DRAW_MODE_STROKE = 2
}
enum  Enesim_Renderer_Shape_Stroke_Location {
  ENESIM_RENDERER_SHAPE_STROKE_LOCATION_INSIDE,
  ENESIM_RENDERER_SHAPE_STROKE_LOCATION_OUTSIDE,
  ENESIM_RENDERER_SHAPE_STROKE_LOCATION_CENTER
}
enum  Enesim_Renderer_Shape_Stroke_Cap {
  ENESIM_RENDERER_SHAPE_STROKE_CAP_BUTT,
  ENESIM_RENDERER_SHAPE_STROKE_CAP_ROUND,
  ENESIM_RENDERER_SHAPE_STROKE_CAP_SQUARE
}
enum  Enesim_Renderer_Shape_Stroke_Join {
  ENESIM_RENDERER_SHAPE_STROKE_JOIN_MITER,
  ENESIM_RENDERER_SHAPE_STROKE_JOIN_ROUND,
  ENESIM_RENDERER_SHAPE_STROKE_JOIN_BEVEL
}
enum  Enesim_Renderer_Shape_Fill_Rule {
  ENESIM_RENDERER_SHAPE_FILL_RULE_NON_ZERO,
  ENESIM_RENDERER_SHAPE_FILL_RULE_EVEN_ODD
}

Define Documentation

The number of caps

The number of joins

The number of fill rules


Enumeration Type Documentation

Flags that specify the shape features

Enumerator:
ENESIM_RENDERER_SHAPE_FEATURE_FILL_RENDERER 

The shape renderer can use another renderer for filling

ENESIM_RENDERER_SHAPE_FEATURE_STROKE_RENDERER 

The shape renderer can use another renderer for stroking

ENESIM_RENDERER_SHAPE_FEATURE_STROKE_LOCATION 

The shape renderer can locate the stroke

ENESIM_RENDERER_SHAPE_FEATURE_STROKE_DASH 

The shape renderer can have a dashed stroke

Flag that specifiy the drawing mode of the shape renderer

Enumerator:
ENESIM_RENDERER_SHAPE_DRAW_MODE_FILL 

The shape renderer will fill

ENESIM_RENDERER_SHAPE_DRAW_MODE_STROKE 

The shape renderer will stroke

Location of the stroke

Enumerator:
ENESIM_RENDERER_SHAPE_STROKE_LOCATION_INSIDE 

The stroke is growed from the border of the shape to the inside

ENESIM_RENDERER_SHAPE_STROKE_LOCATION_OUTSIDE 

The stroke is growed from the border of the shape to the outside

ENESIM_RENDERER_SHAPE_STROKE_LOCATION_CENTER 

The stroke is centered on the border of the shape

Stroke cap type

Enumerator:
ENESIM_RENDERER_SHAPE_STROKE_CAP_BUTT 

The butt cap

ENESIM_RENDERER_SHAPE_STROKE_CAP_ROUND 

The round cap

ENESIM_RENDERER_SHAPE_STROKE_CAP_SQUARE 

The square cap

Stroke join type

Enumerator:
ENESIM_RENDERER_SHAPE_STROKE_JOIN_MITER 

The miter join

ENESIM_RENDERER_SHAPE_STROKE_JOIN_ROUND 

The round join

ENESIM_RENDERER_SHAPE_STROKE_JOIN_BEVEL 

The bevel join

Fill rule mode

Enumerator:
ENESIM_RENDERER_SHAPE_FILL_RULE_NON_ZERO 

The non zero fill rule

ENESIM_RENDERER_SHAPE_FILL_RULE_EVEN_ODD 

The even odd fill rule

 All Data Structures Variables