text-shaper 0.1.14 → 0.1.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +1 -1
- package/dist/index.js +7 -7
- package/dist/raster/rasterize.d.ts +4 -16
- package/dist/raster/size.d.ts +4 -0
- package/dist/raster/types.d.ts +34 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -109,7 +109,7 @@ export { bitmapToGray, bitmapToRGBA, rasterizeGlyph, rasterizeGlyphWithTransform
|
|
|
109
109
|
export { renderSdf, type SdfOptions } from "./raster/sdf.ts";
|
|
110
110
|
export { type LineCap, type LineJoin, type StrokerOptions, strokePath, } from "./raster/stroker.ts";
|
|
111
111
|
export { condensePath, emboldenPath, obliquePath } from "./raster/synth.ts";
|
|
112
|
-
export type { Bitmap, GlyphAtlas, GlyphMetrics, MsdfAtlasOptions, RasterizedGlyph, RasterizeOptions, Span, } from "./raster/types.ts";
|
|
112
|
+
export type { Bitmap, FontSizeMode, GlyphAtlas, GlyphMetrics, GlyphRasterizeOptions, MsdfAtlasOptions, RasterizedGlyph, RasterizeOptions, Span, TextRasterizeOptions, } from "./raster/types.ts";
|
|
113
113
|
export type { BitmapTransformOptions, RasterEffectOptions, RasterMetrics, } from "./raster/bitmap-utils.ts";
|
|
114
114
|
export { clearBitmap, createBitmap, FillRule, PixelMode, } from "./raster/types.ts";
|
|
115
115
|
export { type BoundingBox, type ControlBox, clonePath, combinePaths, computeControlBox, computeTightBounds, identity2D, identity3x3, italicizeOutline, type Matrix2D, type Matrix3x3, multiply2D, multiply3x3, perspectiveMatrix, rotate2D, rotateOutline, rotateOutline90, scale2D, scaleOutline, scaleOutlinePow2, shear2D, transformOutline2D, transformOutline3D, transformPoint2D, transformPoint3x3, translate2D, translateOutline, updateMinTransformedX, } from "./render/outline-transform.ts";
|