Visualization Library 2.0.0-b5

A lightweight C++ OpenGL middleware for 2D/3D graphics

VL     Star     Watch     Fork     Issue

[Download] [Tutorials] [All Classes] [Grouped Classes]
Classes | Typedefs | Functions
cf2stack.h File Reference

Go to the source code of this file.

Classes

struct  CF2_StackNumber_
 
struct  CF2_StackRec_
 

Typedefs

typedef FT_BEGIN_HEADER struct CF2_StackNumber_ CF2_StackNumber
 
typedef struct CF2_StackRec_ CF2_StackRec
 
typedef struct CF2_StackRec_CF2_Stack
 

Functions

 cf2_stack_init (FT_Memory memory, FT_Error *error)
 
 cf2_stack_free (CF2_Stack stack)
 
 cf2_stack_count (CF2_Stack stack)
 
 cf2_stack_pushInt (CF2_Stack stack, CF2_Int val)
 
 cf2_stack_pushFixed (CF2_Stack stack, CF2_Fixed val)
 
 cf2_stack_popInt (CF2_Stack stack)
 
 cf2_stack_popFixed (CF2_Stack stack)
 
 cf2_stack_getReal (CF2_Stack stack, CF2_UInt idx)
 
 cf2_stack_clear (CF2_Stack stack)
 

Typedef Documentation

◆ CF2_Stack

typedef struct CF2_StackRec_ * CF2_Stack

◆ CF2_StackNumber

◆ CF2_StackRec

typedef struct CF2_StackRec_ CF2_StackRec

Function Documentation

◆ cf2_stack_clear()

cf2_stack_clear ( CF2_Stack  stack)

Definition at line 199 of file cf2stack.c.

◆ cf2_stack_count()

cf2_stack_count ( CF2_Stack  stack)

Definition at line 88 of file cf2stack.c.

References CF2_UInt, and FT_LOCAL_DEF.

Referenced by cf2_stack_getReal().

◆ cf2_stack_free()

cf2_stack_free ( CF2_Stack  stack)

Definition at line 74 of file cf2stack.c.

References CF2_UInt, FT_FREE, and FT_LOCAL_DEF.

◆ cf2_stack_getReal()

cf2_stack_getReal ( CF2_Stack  stack,
CF2_UInt  idx 
)

◆ cf2_stack_init()

cf2_stack_init ( FT_Memory  memory,
FT_Error error 
)

◆ cf2_stack_popFixed()

cf2_stack_popFixed ( CF2_Stack  stack)

◆ cf2_stack_popInt()

cf2_stack_popInt ( CF2_Stack  stack)

Definition at line 128 of file cf2stack.c.

References CF2_Fixed, CF2_NumberInt, CF2_SET_ERROR, and FT_LOCAL_DEF.

◆ cf2_stack_pushFixed()

cf2_stack_pushFixed ( CF2_Stack  stack,
CF2_Fixed  val 
)

Definition at line 111 of file cf2stack.c.

References CF2_Int, CF2_NumberFixed, CF2_OPERAND_STACK_SIZE, CF2_SET_ERROR, and FT_LOCAL_DEF.

◆ cf2_stack_pushInt()

cf2_stack_pushInt ( CF2_Stack  stack,
CF2_Int  val 
)

Definition at line 95 of file cf2stack.c.

References CF2_NumberInt, CF2_OPERAND_STACK_SIZE, CF2_SET_ERROR, and FT_LOCAL_DEF.