lib-svg · crate

kinogaki-svg

Libraryenvironment

Kinogaki SVG reads SVG documents the way resvg (and so, closely, a browser) does, converts them into a render tree with every property resolved, and draws them with an exact-coverage anti-aliased rasterizer.

Repository
lib-svg (kinogaki/lib-svg)
Folder
libs/lib-svg/crates/svg
Source
49 files, 16,916 lines
Tests
6 files, 597 lines
depends onused by tests alonedependencies for tests alone are listed below, not drawn

What it is

Kinogaki SVG reads SVG documents the way resvg (and so, closely, a browser) does, converts them into a render tree with every property resolved, and draws them with an exact-coverage anti-aliased rasterizer. IconCache draws small icons for UI toolkits, parsed once and rasterized per size.

Depends on

None.

Third-party

None.

Used by

CrateRepositoryAsWhat it is
kinogaki-svg-toolslib-svgnormalShared pieces of the conformance and benchmark tools: rendering a document with kinogaki-svg and with resvg into premultiplied RGBA8, comparing bitmaps, and writing side-by-side sheets.
kinogaki-uilib-uinormalKinogaki UI: the immediate-mode UI framework Kinogaki applications are built on.

Modules

Public types and traits

At the crate root

Structs ErrorIconIconCacheIconKeyLimitsMaskRasterizerOptionsPicturePixmapPositionRenderOptions

Enums ErrorKindImageFormat

Type aliases ImageDecoder

By module: 61 public types and traits in 16 modules

convert Options

convert::image ImageDecoderImageFormat

error ErrorErrorKindLimitsPosition

filter ColorMatrixCompositeOpEdgeModeFilterInputKindLightPrimitiveTransferFn

fonts FontFiles

geom BoundsPointRectTransform

geom::flatten Polylines

geom::path PathSegmentVerb

geom::stroke CapJoinStrokeStyle

icon IconIconCacheIconKey

mask MaskRasterizer

render RenderOptions

scene BlendBrushClipPathFillGradientGradientKindGroupImageMaskNodePaintPatternPictureRasterShapeSpreadStopStroke

text FaceMetricsFaceQueryFontStyleGlyphRecordGlyphSource

values AlignAspectRatioLengthUnit

values::color Rgba

Besides these, 12 public functions at module level.