@opendesign/engine-darwin-x64
Advanced tools
Comparing version 0.4.0-a9747f3-20230530 to 0.4.0-b5cb2f6-20230713
@@ -39,2 +39,6 @@ | ||
GRAPHICS_CONTEXT_ERROR: 128; | ||
LAYER_CHANGE_INVALID_OP: 160; | ||
LAYER_CHANGE_INVALID_SUBJECT: 161; | ||
LAYER_CHANGE_INVALID_INDEX: 162; | ||
LAYER_CHANGE_MISSING_VALUE: 163; | ||
}; | ||
@@ -41,0 +45,0 @@ |
@@ -10,2 +10,2 @@ import mod from 'node:module' | ||
export const wasm = 'node native module' | ||
export const version = '0.4.0-a9747f3-20230530' | ||
export const version = '0.4.0-b5cb2f6-20230713' |
@@ -62,2 +62,3 @@ | ||
/** A single entry in the layer list */ | ||
@@ -122,6 +123,10 @@ export type LayerList_Entry = { | ||
ARRAY_SIZE_MISMATCH: 4; | ||
/** Value of an enum field does not match any known enumeration value */ | ||
UNKNOWN_ENUM_VALUE: 6; | ||
/** An unknown key in object */ | ||
UNKNOWN_KEY: 5; | ||
/** Value of an enum field does not match any known enumeration value */ | ||
UNKNOWN_ENUM_VALUE: 6; | ||
/** An expected field's key is missing in object */ | ||
MISSING_KEY: 10; | ||
/** The same key appears twice in one object */ | ||
REPEATED_KEY: 11; | ||
/** A numerical value written in JSON cannot be represented by the target variable type (e.g. too large value for int) */ | ||
@@ -280,2 +285,14 @@ VALUE_OUT_OF_RANGE: 7; | ||
/** | ||
* PROTOTYPE - exports a stored font data into the specified buffer | ||
* @param design target design | ||
* @param name font name identifier (post-script name) | ||
* @param data memory buffer that will be filled with the font binary data | ||
*/ | ||
export function pr1_design_exportFontBytes( | ||
design: ode.DesignHandle, | ||
name: ode.StringRef, | ||
data: ode.MemoryBuffer, | ||
): void; | ||
/** | ||
* Finds component within a design by ID and outputs its handle | ||
@@ -291,2 +308,12 @@ * @param componentId component ID string reference | ||
/** | ||
* Finds component within a design by ID and fills its metadata | ||
* @param componentId component ID string reference | ||
* @returns metadata output argument for the component metadata | ||
*/ | ||
export function design_getComponentMetadata( | ||
design: ode.DesignHandle, | ||
componentId: ode.StringRef, | ||
): ode.ComponentMetadata; | ||
/** | ||
* Adds a layer to component | ||
@@ -293,0 +320,0 @@ * @param component target component |
{ | ||
"name": "@opendesign/engine-darwin-x64", | ||
"version": "0.4.0-a9747f3-20230530", | ||
"version": "0.4.0-b5cb2f6-20230713", | ||
"type": "module", | ||
@@ -5,0 +5,0 @@ "exports": "./index.js", |
@@ -6,2 +6,4 @@ | ||
/** Pixel format of 3 channels - red, green, blue, each channel represented by 8-bit unsigned integer (0 to 255 range) */ | ||
export const PIXEL_FORMAT_RGB: ode.Int; | ||
/** Pixel format of 4 channels - red, green, blue, alpha, each channel represented by 8-bit unsigned integer (0 to 255 range) */ | ||
@@ -8,0 +10,0 @@ export const PIXEL_FORMAT_RGBA: ode.Int; |
Sorry, the diff of this file is not supported yet
15947717
692