#ifndef HB_CFF_INTERP_CS_COMMON_HH
#define HB_CFF_INTERP_CS_COMMON_HH
#include "hb.hh"
#include "hb-cff-interp-common.hh"
namespace CFF {
usingnamespaceOT;
enum cs_type_t { … };
struct call_context_t
{ … };
const unsigned int kMaxCallLimit = …;
struct call_stack_t : cff_stack_t<call_context_t, kMaxCallLimit> { … };
template <typename SUBRS>
struct biased_subrs_t
{ … };
struct point_t
{ … };
template <typename ARG, typename SUBRS>
struct cs_interp_env_t : interp_env_t<ARG>
{ … };
template <typename ENV, typename PARAM>
struct path_procs_null_t
{ … };
template <typename ARG, typename OPSET, typename ENV, typename PARAM, typename PATH=path_procs_null_t<ENV, PARAM>>
struct cs_opset_t : opset_t<ARG>
{
static void process_op (op_code_t op, ENV &env, PARAM& param)
{ … }
static void process_hstem (op_code_t op, ENV &env, PARAM& param)
{ … }
static void process_vstem (op_code_t op, ENV &env, PARAM& param)
{ … }
static void process_hintmask (op_code_t op, ENV &env, PARAM& param)
{ … }
static void process_post_flex (op_code_t op, ENV &env, PARAM& param)
{ … }
static void check_width (op_code_t op, ENV &env, PARAM& param)
{ … }
static void process_post_move (op_code_t op, ENV &env, PARAM& param)
{ … }
static void process_post_path (op_code_t op, ENV &env, PARAM& param)
{ … }
static void flush_args_and_op (op_code_t op, ENV &env, PARAM& param)
{ … }
static void flush_args (ENV &env, PARAM& param)
{ … }
static void flush_op (op_code_t op, ENV &env, PARAM& param)
{ … }
static void flush_hintmask (op_code_t op, ENV &env, PARAM& param)
{ … }
static bool is_number_op (op_code_t op)
{ … }
protected:
typedef opset_t<ARG> SUPER;
};
template <typename PATH, typename ENV, typename PARAM>
struct path_procs_t
{ … };
template <typename ENV, typename OPSET, typename PARAM>
struct cs_interpreter_t : interpreter_t<ENV>
{ … };
}
#endif