QCAD
Open Source 2D CAD
Loading...
Searching...
No Matches
opennurbs_defines.cpp File Reference
#include "opennurbs.h"
#include "opennurbs_version.h"

Macros

#define OPENNURBS_VERSION_DEFINITION
 

Enumerations

enum  distance_display_mode { decimal = 0 , fractional = 1 , feet_inches = 2 }
 

Functions

static bool IsEnglishUnit (ON::unit_system us)
 
static int on__hack__tolower (int c)
 
static int on__hack__wcsicmp (const wchar_t *s1, const wchar_t *s2)
 
unsigned int ON_GetStringConversionWindowsCodePage ()
 
unsigned int ON_GetStringConversionWindowsLocaleID ()
 
int on_MultiByteToWideChar (const char *lpMultiByteStr, int cchMultiByte, wchar_t *lpWideCharStr, int cchWideChar)
 
unsigned int ON_SetStringConversionWindowsCodePage (unsigned int code_page)
 
unsigned int ON_SetStringConversionWindowsLocaleID (unsigned int locale_id, ON_BOOL32 bWin9X)
 
int on_stricmp (const char *s1, const char *s2)
 
char * on_strlwr (char *s)
 
char * on_strrev (char *s)
 
char * on_strupr (char *s)
 
int on_vsnprintf (char *buffer, size_t count, const char *format, va_list argptr)
 
int on_vsnwprintf (wchar_t *buffer, size_t count, const wchar_t *format, va_list argptr)
 
int on_wcsicmp (const wchar_t *s1, const wchar_t *s2)
 
wchar_t * on_wcslwr (wchar_t *s)
 
wchar_t * on_wcsrev (wchar_t *s)
 
wchar_t * on_wcsupr (wchar_t *s)
 
int on_WideCharToMultiByte (const wchar_t *lpWideCharStr, int cchWideChar, char *lpMultiByteStr, int cchMultiByte)
 

Variables

static unsigned int g_s__windows_code_page = 0
 
static unsigned int g_s__windows_locale_id = 0
 
static unsigned int g_s__windows_locale_os = 0
 

Macro Definition Documentation

◆ OPENNURBS_VERSION_DEFINITION

#define OPENNURBS_VERSION_DEFINITION

Enumeration Type Documentation

◆ distance_display_mode

Enumerator
decimal 
fractional 
feet_inches 

Function Documentation

◆ IsEnglishUnit()

static bool IsEnglishUnit ( ON::unit_system us)
static

◆ on__hack__tolower()

static int on__hack__tolower ( int c)
static

◆ on__hack__wcsicmp()

static int on__hack__wcsicmp ( const wchar_t * s1,
const wchar_t * s2 )
static

◆ ON_GetStringConversionWindowsCodePage()

unsigned int ON_GetStringConversionWindowsCodePage ( )

◆ ON_GetStringConversionWindowsLocaleID()

unsigned int ON_GetStringConversionWindowsLocaleID ( )

◆ on_MultiByteToWideChar()

int on_MultiByteToWideChar ( const char * lpMultiByteStr,
int cchMultiByte,
wchar_t * lpWideCharStr,
int cchWideChar )

◆ ON_SetStringConversionWindowsCodePage()

unsigned int ON_SetStringConversionWindowsCodePage ( unsigned int code_page)

◆ ON_SetStringConversionWindowsLocaleID()

unsigned int ON_SetStringConversionWindowsLocaleID ( unsigned int locale_id,
ON_BOOL32 bWin9X )

◆ on_stricmp()

int on_stricmp ( const char * s1,
const char * s2 )

◆ on_strlwr()

char * on_strlwr ( char * s)

◆ on_strrev()

char * on_strrev ( char * s)

◆ on_strupr()

char * on_strupr ( char * s)

◆ on_vsnprintf()

int on_vsnprintf ( char * buffer,
size_t count,
const char * format,
va_list argptr )

◆ on_vsnwprintf()

int on_vsnwprintf ( wchar_t * buffer,
size_t count,
const wchar_t * format,
va_list argptr )

◆ on_wcsicmp()

int on_wcsicmp ( const wchar_t * s1,
const wchar_t * s2 )

◆ on_wcslwr()

wchar_t * on_wcslwr ( wchar_t * s)

◆ on_wcsrev()

wchar_t * on_wcsrev ( wchar_t * s)

◆ on_wcsupr()

wchar_t * on_wcsupr ( wchar_t * s)

◆ on_WideCharToMultiByte()

int on_WideCharToMultiByte ( const wchar_t * lpWideCharStr,
int cchWideChar,
char * lpMultiByteStr,
int cchMultiByte )

Variable Documentation

◆ g_s__windows_code_page

unsigned int g_s__windows_code_page = 0
static

◆ g_s__windows_locale_id

unsigned int g_s__windows_locale_id = 0
static

◆ g_s__windows_locale_os

unsigned int g_s__windows_locale_os = 0
static