---
name: "thwctype.h"
section: "3"
platform: "linux"
package: "libthai-dev"
version: "0.1.6-1+etch1"
release: "Debian 4.0 (Etch)"
platforms: ["linux"]
url: "https://new.carta.tech/thwctype.h"
---

# thwctype.h(3)

## NAME

thai/thwctype.h -

## Detailed Description

Thai wide-char character classifications.

## SYNOPSIS

### Functions

int **th\_wcistis** (**thwchar\_t** wc)\
 *Is the wide character convertible to a valid TIS-620 code?*  int **th\_wcisthai** (**thwchar\_t** wc)\
 *Is the wide character a Thai character?*  int **th\_wciseng** (**thwchar\_t** wc)\
 *Is the wide character an English character?*  int **th\_wcisthcons** (**thwchar\_t** wc)\
 *Is the wide character a Thai consonant?*  int **th\_wcisthvowel** (**thwchar\_t** wc)\
 *Is the wide character a Thai vowel?*  int **th\_wcisthtone** (**thwchar\_t** wc)\
 *Is the wide character a Thai tone mark?*  int **th\_wcisthdiac** (**thwchar\_t** wc)\
 *Is the wide character a Thai diacritic?*  int **th\_wcisthdigit** (**thwchar\_t** wc)\
 *Is the character a Thai digit?*  int **th\_wcisthpunct** (**thwchar\_t** wc)\
 *Is the character a Thai punctuation?*  int **th\_wcistaillesscons** (**thwchar\_t** wc)\
 *Is the wide character a Thai consonant that fits the x-height?*  int **th\_wcisovershootcons** (**thwchar\_t** wc)\
 *Is the wide character a Thai consonant with stem above ascender?*  int **th\_wcisundershootcons** (**thwchar\_t** wc)\
 *Is the wide character a Thai consonant with stem below baseline?*  int **th\_wcisundersplitcons** (**thwchar\_t** wc)\
 *Is the wide character a Thai consonant with split part below baseline?*  int **th\_wcisldvowel** (**thwchar\_t** wc)\
 *Is the wide character a Thai leading vowel?*  int **th\_wcisflvowel** (**thwchar\_t** wc)\
 *Is the wide character a Thai following vowel?*  int **th\_wcisupvowel** (**thwchar\_t** wc)\
 *Is the wide character a Thai upper vowel?*  int **th\_wcisblvowel** (**thwchar\_t** wc)\
 *Is the wide character a Thai below vowel?*  int **th\_wcchlevel** (**thwchar\_t** wc)\
 *Position for rendering:.*

## Function Documentation

### int th\_wcchlevel (thwchar\_t wc)

Position for rendering:.

- •

  3 = above/top

- •

  2 = top

- •

  1 = above

- •

  0 = base

- •

  \-1 = below

### int th\_wcistis (thwchar\_t wc)

Is the wide character convertible to a valid TIS-620 code?

TIS-620 here means US-ASCII plus TIS-620 extension.

## Author

Generated automatically by Doxygen for libthai from the source code.
