Oolite 1.91.0.7644-241112-7f5034b
|
Go to the source code of this file.
Functions | |
static JSBool | FontMeasureString (JSContext *context, uintN argc, jsval *vp) |
void | InitOOJSFont (JSContext *context, JSObject *global) |
|
static |
Definition at line 47 of file OOJSFont.m.
References EXPECT_NOT, MIN, nil, OOJS_ARGV, OOJS_NATIVE_ENTER, OOJS_NATIVE_EXIT, OOJS_RETURN_DOUBLE, OOJSReportBadArguments(), OOStringFromJSValue(), and OOStringWidthInEm().
Referenced by InitOOJSFont().
void InitOOJSFont | ( | JSContext * | context, |
JSObject * | global ) |
Definition at line 38 of file OOJSFont.m.
References FontMeasureString(), OOJS_METHOD_READONLY, and OOJS_PROP_READONLY.