SYMBOL INDEX (143 symbols across 37 files) FILE: nodejs-cli/src/svg2roughjs-page.js function svg2roughjsPage (line 6) | function svg2roughjsPage(inputSvg, svg2roughjsArgs) { function createSvg2RoughjsInstance (line 33) | function createSvg2RoughjsInstance(args) { FILE: nodejs-cli/src/svg2roughjs.js function loadInputSvg (line 38) | function loadInputSvg(argv) { function saveSketch (line 60) | function saveSketch(content, outputFilePath) { function getSvg2RoughjsArgs (line 69) | function getSvg2RoughjsArgs(argv) { FILE: rollup.config.js function matchSubmodules (line 9) | function matchSubmodules(externals) { FILE: sample-application/src/index.ts function setCodeMirrorValue (line 61) | function setCodeMirrorValue(value: string) { function getSvgSize (line 68) | function getSvgSize(svg: SVGSVGElement): { width: number; height: number... function loadSvgString (line 100) | function loadSvgString(fileContent: string) { function loadSample (line 172) | function loadSample(sample: string) { function updateOpacity (line 215) | function updateOpacity(inputContainerOpacity: number) { function run (line 222) | function run() { function setUIState (line 426) | function setUIState(enabled: boolean) { FILE: sample-application/src/testing.ts function initializeTestUI (line 12) | function initializeTestUI(svg2roughjs: Svg2Roughjs) { function onTestcaseChange (line 44) | async function onTestcaseChange(testName: string) { function loadSvg (line 49) | function loadSvg(url: string) { function isExistingTestcase (line 60) | function isExistingTestcase(testcase: string): boolean { function downloadTestcase (line 67) | async function downloadTestcase(svg2roughjs: Svg2Roughjs) { FILE: sample-application/src/utils.ts function downloadFile (line 1) | function downloadFile(content: string, mime: string, fileName: string) { FILE: src/OutputType.ts type OutputType (line 1) | enum OutputType { FILE: src/RandomNumberGenerator.ts class RandomNumberGenerator (line 6) | class RandomNumberGenerator { method constructor (line 8) | constructor(seed: number | null) { method next (line 16) | next(range?: [number, number]): number { FILE: src/Svg2Roughjs.ts class Svg2Roughjs (line 13) | class Svg2Roughjs { method svg (line 68) | set svg(svg: SVGSVGElement) { method svg (line 78) | get svg(): SVGSVGElement | undefined { method outputType (line 92) | set outputType(type: OutputType) { method outputType (line 112) | get outputType(): OutputType { method roughConfig (line 122) | set roughConfig(config: Options) { method roughConfig (line 132) | get roughConfig(): Options { method constructor (line 146) | constructor( method sketch (line 179) | sketch(sourceSvgChanged = false): Promise(newParent: T, source: SVGEl... function getIdFromUrl (line 77) | function getIdFromUrl(url: string | null): string | null { FILE: src/geom/circle.ts function drawCircle (line 13) | function drawCircle( function applyCircleClip (line 66) | function applyCircleClip( FILE: src/geom/ellipse.ts function drawEllipse (line 13) | function drawEllipse( function applyEllipseClip (line 70) | function applyEllipseClip( FILE: src/geom/foreign-object.ts function drawForeignObject (line 5) | function drawForeignObject( FILE: src/geom/image.ts function drawImage (line 5) | function drawImage( FILE: src/geom/line.ts function drawLine (line 8) | function drawLine( FILE: src/geom/marker.ts function drawMarkers (line 7) | function drawMarkers( function getScaleFactor (line 138) | function getScaleFactor( function isClosedPath (line 158) | function isClosedPath(points: Point[]): boolean { function getBisectingAngle (line 169) | function getBisectingAngle(prevPt: Point, crossingPt: Point, nextPt: Poi... function getOppositeAngle (line 189) | function getOppositeAngle(angle: number): number { function getAngle (line 200) | function getAngle(v1: Point, v2: Point): number { FILE: src/geom/path.ts function drawPath (line 10) | function drawPath( function applyPathClip (line 103) | function applyPathClip( FILE: src/geom/polygon.ts function drawPolygon (line 9) | function drawPolygon( function applyPolygonClip (line 44) | function applyPolygonClip( FILE: src/geom/polyline.ts function drawPolyline (line 9) | function drawPolyline( FILE: src/geom/primitives.ts type Point (line 1) | type Point = { x: number; y: number } type Size (line 2) | type Size = { w: number; h: number } type Rectangle (line 4) | type Rectangle = Point & Size function str (line 6) | function str(p: Point) { function equals (line 10) | function equals(p0: Point, p1: Point): boolean { FILE: src/geom/rect.ts function drawRect (line 13) | function drawRect( function applyPatternPaint (line 118) | function applyPatternPaint( function applyRectClip (line 133) | function applyRectClip( FILE: src/geom/text.ts type FontAttributes (line 10) | type FontAttributes = Partial<{ function drawText (line 17) | function drawText( function fitFontSize (line 65) | function fitFontSize( function fitFontSizeCore (line 82) | function fitFontSizeCore( function getCssFont (line 112) | function getCssFont( function copyTextStyleAttributes (line 155) | function copyTextStyleAttributes( FILE: src/geom/use.ts function drawUse (line 4) | function drawUse( FILE: src/processor.ts function processRoot (line 25) | function processRoot( function drawRoot (line 158) | function drawRoot( function drawElement (line 176) | function drawElement( FILE: src/styles/colors.ts function gradientToColor (line 7) | function gradientToColor( function getStopColor (line 56) | function getStopColor(stop: SVGStopElement): TinyColorInstance { function averageColor (line 72) | function averageColor(colorArray: TinyColorInstance[]): TinyColorInstance { function getStopOffset (line 97) | function getStopOffset(stop: SVGStopElement): number { FILE: src/styles/effective-attributes.ts function getEffectiveAttribute (line 12) | function getEffectiveAttribute( function getEffectiveElementOpacity (line 54) | function getEffectiveElementOpacity( FILE: src/styles/pattern.ts function appendPatternPaint (line 11) | function appendPatternPaint( function getPatternPaintIds (line 43) | function getPatternPaintIds( function appendPatternDefsElement (line 67) | function appendPatternDefsElement(context: RenderContext, patternId: str... FILE: src/styles/pens.ts type Range (line 3) | type Range = [number, number] type AngleConfig (line 4) | type AngleConfig = { normal: Range; horizontal: Range; vertical: Range } type WeightConfig (line 5) | type WeightConfig = { normal: Range; small: Range } type GapConfig (line 6) | type GapConfig = { normal: Range; small: Range } type PenConfiguration (line 7) | type PenConfiguration = { angle: AngleConfig; weight: WeightConfig; gap:... type Pen (line 8) | type Pen = { angle: number; weight: number; gap: number } function getPenConfiguration (line 10) | function getPenConfiguration(fillStyle?: string): PenConfiguration { function createPen (line 72) | function createPen(context: RenderContext, element: SVGElement): Pen { function getHachureAngle (line 97) | function getHachureAngle( function getHachureGap (line 118) | function getHachureGap( function getFillWeight (line 131) | function getFillWeight( FILE: src/styles/styles.ts function parseStyleConfig (line 17) | function parseStyleConfig( function getOpacity (line 142) | function getOpacity(element: SVGElement, attribute: string): number { function convertGradient (line 163) | function convertGradient(context: RenderContext, url: string, opacity: n... function isHidden (line 190) | function isHidden(element: SVGElement): boolean { function concatStyleStrings (line 198) | function concatStyleStrings(...args: (string | null)[]): string { FILE: src/styles/textures.ts function createPencilFilter (line 1) | function createPencilFilter(): SVGFilterElement { FILE: src/svg-units.ts constant DIMENSION_REGEX (line 20) | const DIMENSION_REGEX = /^([+-]?(?:\d+|\d*\.\d+(?:[eE][+-]?\d+)?))([a-z]... constant DPI (line 25) | const DPI = 96 constant ABSOLUTE_UNITS (line 31) | const ABSOLUTE_UNITS: Record = { constant SQRT2 (line 41) | const SQRT2 = Math.sqrt(2) type Dimension (line 46) | type Dimension = { value: number; unit: string } function convertToPixelUnit (line 54) | function convertToPixelUnit( function parseDimension (line 72) | function parseDimension(dimension: string): Dimension { function percentageToPixel (line 87) | function percentageToPixel( function absToPixel (line 108) | function absToPixel(value: number, unit: string): number { function relToPixel (line 116) | function relToPixel( function viewportLengthToPixel (line 143) | function viewportLengthToPixel( function fontRelativeToPixel (line 174) | function fontRelativeToPixel( function isAbsoluteUnit (line 212) | function isAbsoluteUnit(unit: string): boolean { function measureZeroCharacter (line 219) | function measureZeroCharacter(element: SVGElement): number { FILE: src/transformation.ts function isIdentityTransform (line 9) | function isIdentityTransform(svgTransform: SVGTransform | null): boolean { function isTranslationTransform (line 30) | function isTranslationTransform(svgTransform: SVGTransform | null): bool... function applyMatrix (line 45) | function applyMatrix(point: Point, svgTransform: SVGTransform | null): P... function getSvgTransform (line 58) | function getSvgTransform(element: SVGGraphicsElement): SVGTransform | nu... function getCombinedTransform (line 69) | function getCombinedTransform( function applyTransform (line 91) | function applyTransform( FILE: src/types.ts type RenderContext (line 10) | type RenderContext = { type UseContext (line 38) | type UseContext = { FILE: src/utils.ts constant SKETCH_CLIP_ATTRIBUTE (line 9) | const SKETCH_CLIP_ATTRIBUTE = 'data-sketchy-clip-path' constant PATH_CURVES_REGEX (line 14) | const PATH_CURVES_REGEX = /[acsqt]/i function getDefsElement (line 19) | function getDefsElement(context: RenderContext): SVGDefsElement { function getPointsArray (line 37) | function getPointsArray(element: SVGPolygonElement | SVGPolylineElement)... function appendSketchElement (line 76) | function appendSketchElement( function sketchPath (line 114) | function sketchPath(context: RenderContext, path: string, options?: Opti... function sketchFragment (line 126) | function sketchFragment( function measureText (line 151) | function measureText( FILE: test/runner/utils.js function loadSvg (line 3) | function loadSvg(url) { function loadConfig (line 14) | function loadConfig(url) { function repackage (line 30) | function repackage(svg) { function compareRootElements (line 44) | function compareRootElements(result, expected) { FILE: web-test-runner.config.mjs method filterBrowserLogs (line 49) | filterBrowserLogs(log) {