Cobbletext  0.2.0
Complex text layout and rendering engine
Classes | Macros | Typedefs
advance_info.h File Reference
#include <stdint.h>
#include "common.h"
Include dependency graph for advance_info.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  CobbletextAdvanceInfo
 Representation of a pen drawing instruction. More...
 

Macros

#define COBBLETEXT_ADVANCE_TYPE_INVALID   0
 This value shouldn't happen. More...
 
#define COBBLETEXT_ADVANCE_TYPE_GLYPH   1
 Draw a glyph. More...
 
#define COBBLETEXT_ADVANCE_TYPE_INLINE_OBJECT   2
 Draw an inline object. More...
 
#define COBBLETEXT_ADVANCE_TYPE_LINE_BREAK   3
 Pen movement to position a new line. More...
 
#define COBBLETEXT_ADVANCE_TYPE_BIDI   4
 Pen movement to position to draw bidirectional text. More...
 
#define COBBLETEXT_ADVANCE_TYPE_LAYOUT   5
 General purpose pen movement. More...
 

Typedefs

typedef uint8_t CobbletextAdvanceType
 Type of information contained in #CobbletextAdvanceInfo. More...
 

Macro Definition Documentation

◆ COBBLETEXT_ADVANCE_TYPE_BIDI

#define COBBLETEXT_ADVANCE_TYPE_BIDI   4

Pen movement to position to draw bidirectional text.

◆ COBBLETEXT_ADVANCE_TYPE_GLYPH

#define COBBLETEXT_ADVANCE_TYPE_GLYPH   1

Draw a glyph.

◆ COBBLETEXT_ADVANCE_TYPE_INLINE_OBJECT

#define COBBLETEXT_ADVANCE_TYPE_INLINE_OBJECT   2

Draw an inline object.

◆ COBBLETEXT_ADVANCE_TYPE_INVALID

#define COBBLETEXT_ADVANCE_TYPE_INVALID   0

This value shouldn't happen.

◆ COBBLETEXT_ADVANCE_TYPE_LAYOUT

#define COBBLETEXT_ADVANCE_TYPE_LAYOUT   5

General purpose pen movement.

◆ COBBLETEXT_ADVANCE_TYPE_LINE_BREAK

#define COBBLETEXT_ADVANCE_TYPE_LINE_BREAK   3

Pen movement to position a new line.

Typedef Documentation

◆ CobbletextAdvanceType

typedef uint8_t CobbletextAdvanceType

Type of information contained in #CobbletextAdvanceInfo.

One of:

  • #COBBLETEXT_ADVANCE_TYPE_INVALID
  • #COBBLETEXT_ADVANCE_TYPE_GLYPH
  • #COBBLETEXT_ADVANCE_TYPE_INLINE_OBJECT
  • #COBBLETEXT_ADVANCE_TYPE_LINE_BREAK
  • #COBBLETEXT_ADVANCE_TYPE_BIDI
  • #COBBLETEXT_ADVANCE_TYPE_LAYOUT