V1_commit_RGC
This commit is contained in:
33
SuiviREForamteur/node_modules/canvg/lib/util/debug.d.ts
generated
vendored
Normal file
33
SuiviREForamteur/node_modules/canvg/lib/util/debug.d.ts
generated
vendored
Normal file
@@ -0,0 +1,33 @@
|
||||
import { RenderingContext2D } from '../types';
|
||||
/**
|
||||
* Wrap rendering context to log every action.
|
||||
* @param ctx - Rendering context.
|
||||
* @returns Proxy logger.
|
||||
*/
|
||||
export declare function ctxLogger(ctx: RenderingContext2D): RenderingContext2D;
|
||||
/**
|
||||
* Draw point.
|
||||
* @param ctx - Rendering context.
|
||||
* @param x - Point x.
|
||||
* @param y - Point y
|
||||
* @param radius - Point radius.
|
||||
*/
|
||||
export declare function point(ctx: RenderingContext2D, x?: number, y?: number, radius?: number): void;
|
||||
/**
|
||||
* Draw triangle to vizualize angle.
|
||||
* @param ctx - Rendering context.
|
||||
* @param x - Angle x.
|
||||
* @param y - Angle y.
|
||||
* @param size - Triangle size.
|
||||
*/
|
||||
export declare function angle(ctx: RenderingContext2D, x?: number, y?: number, size?: number): void;
|
||||
/**
|
||||
* Draw triangle to vizualize angle.
|
||||
* @param ctx - Rendering context.
|
||||
* @param x - Angle x.
|
||||
* @param y - Angle y.
|
||||
* @param width
|
||||
* @param height
|
||||
*/
|
||||
export declare function box(ctx: RenderingContext2D, x: number, y: number, width: number, height: number): void;
|
||||
//# sourceMappingURL=debug.d.ts.map
|
||||
1
SuiviREForamteur/node_modules/canvg/lib/util/debug.d.ts.map
generated
vendored
Normal file
1
SuiviREForamteur/node_modules/canvg/lib/util/debug.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"debug.d.ts","sourceRoot":"","sources":["../../src/util/debug.ts"],"names":[],"mappings":"AAGA,OAAO,EACN,kBAAkB,EAClB,MAAM,UAAU,CAAC;AAElB;;;;GAIG;AACH,wBAAgB,SAAS,CAAC,GAAG,EAAE,kBAAkB,sBA6BhD;AAED;;;;;;GAMG;AACH,wBAAgB,KAAK,CAAC,GAAG,EAAE,kBAAkB,EAAE,CAAC,SAAI,EAAE,CAAC,SAAI,EAAE,MAAM,SAAK,QAMvE;AAED;;;;;;GAMG;AACH,wBAAgB,KAAK,CAAC,GAAG,EAAE,kBAAkB,EAAE,CAAC,SAAI,EAAE,CAAC,SAAI,EAAE,IAAI,SAAK,QASrE;AAED;;;;;;;GAOG;AACH,wBAAgB,GAAG,CAAC,GAAG,EAAE,kBAAkB,EAAE,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,QAU/F"}
|
||||
4
SuiviREForamteur/node_modules/canvg/lib/util/index.d.ts
generated
vendored
Normal file
4
SuiviREForamteur/node_modules/canvg/lib/util/index.d.ts
generated
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
export * from './string';
|
||||
export * from './styles';
|
||||
export * from './math';
|
||||
//# sourceMappingURL=index.d.ts.map
|
||||
1
SuiviREForamteur/node_modules/canvg/lib/util/index.d.ts.map
generated
vendored
Normal file
1
SuiviREForamteur/node_modules/canvg/lib/util/index.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/util/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC"}
|
||||
29
SuiviREForamteur/node_modules/canvg/lib/util/math.d.ts
generated
vendored
Normal file
29
SuiviREForamteur/node_modules/canvg/lib/util/math.d.ts
generated
vendored
Normal file
@@ -0,0 +1,29 @@
|
||||
export declare const PSEUDO_ZERO = 1e-8;
|
||||
/**
|
||||
* Vector magnitude.
|
||||
* @param v
|
||||
* @returns Number result.
|
||||
*/
|
||||
export declare function vectorMagnitude(v: number[]): number;
|
||||
/**
|
||||
* Ratio between two vectors.
|
||||
* @param u
|
||||
* @param v
|
||||
* @returns Number result.
|
||||
*/
|
||||
export declare function vectorsRatio(u: number[], v: number[]): number;
|
||||
/**
|
||||
* Angle between two vectors.
|
||||
* @param u
|
||||
* @param v
|
||||
* @returns Number result.
|
||||
*/
|
||||
export declare function vectorsAngle(u: number[], v: number[]): number;
|
||||
export declare function CB1(t: number): number;
|
||||
export declare function CB2(t: number): number;
|
||||
export declare function CB3(t: number): number;
|
||||
export declare function CB4(t: number): number;
|
||||
export declare function QB1(t: number): number;
|
||||
export declare function QB2(t: number): number;
|
||||
export declare function QB3(t: number): number;
|
||||
//# sourceMappingURL=math.d.ts.map
|
||||
1
SuiviREForamteur/node_modules/canvg/lib/util/math.d.ts.map
generated
vendored
Normal file
1
SuiviREForamteur/node_modules/canvg/lib/util/math.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"math.d.ts","sourceRoot":"","sources":["../../src/util/math.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,WAAW,OAAY,CAAC;AAErC;;;;GAIG;AACH,wBAAgB,eAAe,CAAC,CAAC,EAAE,MAAM,EAAE,UAE1C;AAED;;;;;GAKG;AACH,wBAAgB,YAAY,CAAC,CAAC,EAAE,MAAM,EAAE,EAAE,CAAC,EAAE,MAAM,EAAE,UAEpD;AAED;;;;;GAKG;AACH,wBAAgB,YAAY,CAAC,CAAC,EAAE,MAAM,EAAE,EAAE,CAAC,EAAE,MAAM,EAAE,UAEpD;AAED,wBAAgB,GAAG,CAAC,CAAC,EAAE,MAAM,UAE5B;AAED,wBAAgB,GAAG,CAAC,CAAC,EAAE,MAAM,UAE5B;AAED,wBAAgB,GAAG,CAAC,CAAC,EAAE,MAAM,UAE5B;AAED,wBAAgB,GAAG,CAAC,CAAC,EAAE,MAAM,UAE5B;AAED,wBAAgB,GAAG,CAAC,CAAC,EAAE,MAAM,UAE5B;AAED,wBAAgB,GAAG,CAAC,CAAC,EAAE,MAAM,UAE5B;AAED,wBAAgB,GAAG,CAAC,CAAC,EAAE,MAAM,UAE5B"}
|
||||
43
SuiviREForamteur/node_modules/canvg/lib/util/string.d.ts
generated
vendored
Normal file
43
SuiviREForamteur/node_modules/canvg/lib/util/string.d.ts
generated
vendored
Normal file
@@ -0,0 +1,43 @@
|
||||
/**
|
||||
* HTML-safe compress white-spaces.
|
||||
* @param str - String to compress.
|
||||
* @returns String.
|
||||
*/
|
||||
export declare function compressSpaces(str: string): string;
|
||||
/**
|
||||
* HTML-safe left trim.
|
||||
* @param str - String to trim.
|
||||
* @returns String.
|
||||
*/
|
||||
export declare function trimLeft(str: string): string;
|
||||
/**
|
||||
* HTML-safe right trim.
|
||||
* @param str - String to trim.
|
||||
* @returns String.
|
||||
*/
|
||||
export declare function trimRight(str: string): string;
|
||||
/**
|
||||
* String to numbers array.
|
||||
* @param str - Numbers string.
|
||||
* @returns Numbers array.
|
||||
*/
|
||||
export declare function toNumbers(str: string): number[];
|
||||
/**
|
||||
* Normalize attribute name.
|
||||
* @param name - Attribute name.
|
||||
* @returns Normalized attribute name.
|
||||
*/
|
||||
export declare function normalizeAttributeName(name: string): string;
|
||||
/**
|
||||
* Parse external URL.
|
||||
* @param url - CSS url string.
|
||||
* @returns Parsed URL.
|
||||
*/
|
||||
export declare function parseExternalUrl(url: string): string;
|
||||
/**
|
||||
* Transform floats to integers in rgb colors.
|
||||
* @param color - Color to normalize.
|
||||
* @returns Normalized color.
|
||||
*/
|
||||
export declare function normalizeColor(color: string): string;
|
||||
//# sourceMappingURL=string.d.ts.map
|
||||
1
SuiviREForamteur/node_modules/canvg/lib/util/string.d.ts.map
generated
vendored
Normal file
1
SuiviREForamteur/node_modules/canvg/lib/util/string.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"string.d.ts","sourceRoot":"","sources":["../../src/util/string.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,wBAAgB,cAAc,CAAC,GAAG,EAAE,MAAM,UAEzC;AAED;;;;GAIG;AACH,wBAAgB,QAAQ,CAAC,GAAG,EAAE,MAAM,UAEnC;AAED;;;;GAIG;AACH,wBAAgB,SAAS,CAAC,GAAG,EAAE,MAAM,UAEpC;AAED;;;;GAIG;AACH,wBAAgB,SAAS,CAAC,GAAG,EAAE,MAAM,YAIpC;AAKD;;;;GAIG;AACH,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,MAAM,UAMlD;AAED;;;;GAIG;AACH,wBAAgB,gBAAgB,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAQpD;AAED;;;;GAIG;AACH,wBAAgB,cAAc,CAAC,KAAK,EAAE,MAAM,UAc3C"}
|
||||
7
SuiviREForamteur/node_modules/canvg/lib/util/styles.d.ts
generated
vendored
Normal file
7
SuiviREForamteur/node_modules/canvg/lib/util/styles.d.ts
generated
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
/**
|
||||
* Measure selector specificity.
|
||||
* @param selector - Selector to measure.
|
||||
* @returns Specificity.
|
||||
*/
|
||||
export declare function getSelectorSpecificity(selector: string): string;
|
||||
//# sourceMappingURL=styles.d.ts.map
|
||||
1
SuiviREForamteur/node_modules/canvg/lib/util/styles.d.ts.map
generated
vendored
Normal file
1
SuiviREForamteur/node_modules/canvg/lib/util/styles.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../src/util/styles.ts"],"names":[],"mappings":"AA0BA;;;;GAIG;AACH,wBAAgB,sBAAsB,CAAC,QAAQ,EAAE,MAAM,UAiCtD"}
|
||||
Reference in New Issue
Block a user