OneBot: Leantime 改造版源码(BOM/Univer 表格/AI 接管/品牌替换等)
This commit is contained in:
20
dev/DWGViewer/libs/dxf-parser/ParseHelpers.d.ts
vendored
Normal file
20
dev/DWGViewer/libs/dxf-parser/ParseHelpers.d.ts
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
import DxfArrayScanner, { IGroup } from './DxfArrayScanner';
|
||||
import { IEntity, IPoint } from './entities/geomtry';
|
||||
/**
|
||||
* Returns the truecolor value of the given AutoCad color index value
|
||||
* @return {Number} truecolor value as a number
|
||||
*/
|
||||
export declare function getAcadColor(index: number): number;
|
||||
/**
|
||||
* Parses the 2D or 3D coordinate, vector, or point. When complete,
|
||||
* the scanner remains on the last group of the coordinate.
|
||||
* @param {*} scanner
|
||||
*/
|
||||
export declare function parsePoint(scanner: DxfArrayScanner): IPoint;
|
||||
/**
|
||||
* Attempts to parse codes common to all entities. Returns true if the group
|
||||
* was handled by this function.
|
||||
* @param {*} entity - the entity currently being parsed
|
||||
* @param {*} curr - the current group being parsed
|
||||
*/
|
||||
export declare function checkCommonEntityProperties(entity: IEntity, curr: IGroup, scanner: DxfArrayScanner): boolean;
|
||||
Reference in New Issue
Block a user