cake
/
libcasio
Archived
1
1
Fork 0
This repository has been archived on 2024-03-16. You can view files and clone it, but cannot push or open issues or pull requests.
libcasio/include/libcasio/fontchar.h

44 lines
1.6 KiB
C
Raw Permalink Normal View History

2017-06-12 01:06:23 +02:00
/* ****************************************************************************
2018-04-24 01:28:49 +02:00
* libcasio/char.h -- libcasio FONTCHARACTER management.
2017-06-12 01:06:23 +02:00
* Copyright (C) 2017 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
*
* This file is part of libcasio.
* libcasio is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation; either version 3.0 of the License,
* or (at your option) any later version.
*
* libcasio is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with libcasio; if not, see <http://www.gnu.org/licenses/>.
* ************************************************************************* */
2018-04-24 01:28:49 +02:00
#ifndef LIBCASIO_FONTCHAR_H
# define LIBCASIO_FONTCHAR_H
# include "cdefs.h"
2017-06-12 01:06:23 +02:00
CASIO_BEGIN_NAMESPACE
2018-04-24 01:28:49 +02:00
typedef casio_uint16_t FONTCHARACTER;
2017-06-12 01:06:23 +02:00
2018-04-24 01:28:49 +02:00
/* A multi-character should resolve as a maximum of 16 characters. */
2018-05-04 21:19:12 +02:00
2018-04-24 01:28:49 +02:00
# define CASIO_FONTCHAR_MULTI_MAX 16
2017-06-12 01:06:23 +02:00
CASIO_BEGIN_DECLS
CASIO_EXTERN(int) casio_is_fontchar_lead
2018-04-24 01:28:49 +02:00
OF((int casio__code));
CASIO_EXTERN(int) casio_fontchar_to_uni
2018-04-24 01:28:49 +02:00
OF((casio_uint16_t casio__code, casio_uint32_t *casio__uni));
CASIO_EXTERN(int) casio_uni_to_fontchar
2018-04-24 01:28:49 +02:00
OF((casio_uint32_t const *casio__uni, casio_uint16_t casio__code));
CASIO_END_DECLS
CASIO_END_NAMESPACE
2018-04-24 01:28:49 +02:00
#endif /* LIBCASIO_CHAR_H */