From 44a4f903318a67b08c6781637be0351e12a67f9e Mon Sep 17 00:00:00 2001 From: Ryan Oldenburg Date: Thu, 25 Feb 2021 12:16:04 -0600 Subject: [PATCH] updated docs --- docs/pixie.html | 4 +- docs/pixie/blends.html | 26 +----- docs/pixie/blends.idx | 2 - docs/pixie/common.html | 2 +- docs/pixie/fileformats/bmp.html | 2 +- docs/pixie/fileformats/jpg.html | 2 +- docs/pixie/fileformats/png.html | 2 +- docs/pixie/fileformats/svg.html | 2 +- docs/pixie/images.html | 4 +- docs/pixie/internal.html | 152 ++++++++++++++++++++++++++++++++ docs/pixie/internal.idx | 2 + docs/pixie/masks.html | 2 +- docs/pixie/paints.html | 2 +- docs/pixie/paths.html | 4 +- docs/theindex.html | 8 +- 15 files changed, 172 insertions(+), 44 deletions(-) create mode 100644 docs/pixie/internal.html create mode 100644 docs/pixie/internal.idx diff --git a/docs/pixie.html b/docs/pixie.html index 11511a2..9b5b344 100644 --- a/docs/pixie.html +++ b/docs/pixie.html @@ -528,7 +528,7 @@ Strokes a polygon.

Exports

-unpackAlphaValues, Masker, maskerSimd, blender, hasSimdBlender, Blender, BlenderSimd, MaskerSimd, packAlphaValues, blenderSimd, hasSimdMasker, masker, BlendMode, blendAlpha, toPremultipliedAlpha, toPremultipliedAlpha, toStraightAlpha, PixieError, lerp, lerp, fractional, toStraightAlpha, lerp, getRgbaUnsafe, draw, []=, Image, copy, wh, setRgbaUnsafe, getRgbaSmooth, invert, flipVertical, magnifyBy2, draw, draw, flipHorizontal, shadow, subImage, inside, $, draw, shift, dataIndex, minifyBy2, draw, draw, fill, draw, newMask, blur, newImage, toPremultipliedAlpha, drawTiled, applyOpacity, resize, superImage, fillUnsafe, draw, toStraightAlpha, [], $, setValueUnsafe, ceil, dataIndex, []=, spread, copy, wh, newMask, minifyBy2, fill, Mask, getValueUnsafe, getValueSmooth, fillUnsafe, inside, [], ColorStop, PaintKind, fillLinearGradient, fillRadialGradient, fillAngularGradient, Paint, bezierCurveTo, LineCap, arcTo, LineJoin, rect, bezierCurveTo, SomePath, strokePath, $, parsePath, fillPath, lineTo, polygon, roundedRect, quadraticCurveTo, fillPath, strokePath, ellipticalArcTo, Path, lineTo, ellipse, quadraticCurveTo, arcTo, moveTo, roundedRect, PathCommandKind, polygon, strokePath, transform, PathCommand, roundedRect, rect, fillPath, segments, closePath, addPath, rect, strokePath, commandsToShapes, ellipse, WindingRule, fillPath, moveTo, fillPath +maskerSimd, Masker, blender, hasSimdBlender, Blender, BlenderSimd, MaskerSimd, blenderSimd, hasSimdMasker, masker, BlendMode, blendAlpha, toPremultipliedAlpha, toPremultipliedAlpha, toStraightAlpha, PixieError, lerp, lerp, fractional, toStraightAlpha, lerp, getRgbaUnsafe, draw, []=, Image, copy, wh, setRgbaUnsafe, getRgbaSmooth, invert, flipVertical, magnifyBy2, draw, draw, flipHorizontal, shadow, subImage, inside, $, draw, shift, dataIndex, minifyBy2, draw, draw, fill, draw, newMask, blur, newImage, toPremultipliedAlpha, drawTiled, applyOpacity, resize, superImage, fillUnsafe, draw, toStraightAlpha, [], $, setValueUnsafe, ceil, dataIndex, []=, spread, copy, wh, newMask, minifyBy2, fill, Mask, getValueUnsafe, getValueSmooth, fillUnsafe, inside, [], ColorStop, PaintKind, fillLinearGradient, fillRadialGradient, fillAngularGradient, Paint, bezierCurveTo, LineCap, arcTo, LineJoin, rect, bezierCurveTo, SomePath, strokePath, $, parsePath, fillPath, lineTo, polygon, roundedRect, quadraticCurveTo, fillPath, strokePath, ellipticalArcTo, Path, lineTo, ellipse, quadraticCurveTo, arcTo, moveTo, roundedRect, PathCommandKind, polygon, strokePath, transform, PathCommand, roundedRect, rect, fillPath, segments, closePath, addPath, rect, strokePath, commandsToShapes, ellipse, WindingRule, fillPath, moveTo, fillPath
@@ -538,7 +538,7 @@ Strokes a polygon. diff --git a/docs/pixie/blends.html b/docs/pixie/blends.html index df6f9f5..d605418 100644 --- a/docs/pixie/blends.html +++ b/docs/pixie/blends.html @@ -156,16 +156,6 @@ function main() {
  • maskerSimd,BlendMode
  • - - - @@ -252,20 +242,6 @@ Blends alphas of backdrop, source. - - -
    proc packAlphaValues(v: M128i): M128i {...}{.inline, raises: [], tags: [].}
    -
    - -Shuffle the alpha values for these 4 colors to the first 4 bytes - -
    - -
    proc unpackAlphaValues(v: M128i): M128i {...}{.inline, raises: [], tags: [].}
    -
    - -Unpack the first 32 bits into 4 rgba(0, 0, 0, value) -
    proc blenderSimd(blendMode: BlendMode): BlenderSimd {...}{.raises: [PixieError],
    @@ -307,7 +283,7 @@ Is there a blend masking function with SIMD support?
           
         
       
    diff --git a/docs/pixie/blends.idx b/docs/pixie/blends.idx
    index fde94db..0d796a7 100644
    --- a/docs/pixie/blends.idx
    +++ b/docs/pixie/blends.idx
    @@ -27,8 +27,6 @@ blender	pixie/blends.html#blender,BlendMode	blends: blender(blendMode: BlendMode
     masker	pixie/blends.html#masker,BlendMode	blends: masker(blendMode: BlendMode): Masker	
     BlenderSimd	pixie/blends.html#BlenderSimd	blends: BlenderSimd	
     MaskerSimd	pixie/blends.html#MaskerSimd	blends: MaskerSimd	
    -packAlphaValues	pixie/blends.html#packAlphaValues,M128i	blends: packAlphaValues(v: M128i): M128i	
    -unpackAlphaValues	pixie/blends.html#unpackAlphaValues,M128i	blends: unpackAlphaValues(v: M128i): M128i	
     blenderSimd	pixie/blends.html#blenderSimd,BlendMode	blends: blenderSimd(blendMode: BlendMode): BlenderSimd	
     hasSimdBlender	pixie/blends.html#hasSimdBlender,BlendMode	blends: hasSimdBlender(blendMode: BlendMode): bool	
     maskerSimd	pixie/blends.html#maskerSimd,BlendMode	blends: maskerSimd(blendMode: BlendMode): MaskerSimd	
    diff --git a/docs/pixie/common.html b/docs/pixie/common.html
    index eca7409..54133c5 100644
    --- a/docs/pixie/common.html
    +++ b/docs/pixie/common.html
    @@ -239,7 +239,7 @@ Linearly interpolate between a and b using t.
           
         
       
    diff --git a/docs/pixie/fileformats/bmp.html b/docs/pixie/fileformats/bmp.html
    index 2e1862b..a6e9758 100644
    --- a/docs/pixie/fileformats/bmp.html
    +++ b/docs/pixie/fileformats/bmp.html
    @@ -182,7 +182,7 @@ Encodes an image into the BMP file format.
           
         
       
    diff --git a/docs/pixie/fileformats/jpg.html b/docs/pixie/fileformats/jpg.html
    index 963880a..d704c61 100644
    --- a/docs/pixie/fileformats/jpg.html
    +++ b/docs/pixie/fileformats/jpg.html
    @@ -182,7 +182,7 @@ Encodes Image into a JPEG data string.
           
         
       
    diff --git a/docs/pixie/fileformats/png.html b/docs/pixie/fileformats/png.html
    index 82165e6..acc4387 100644
    --- a/docs/pixie/fileformats/png.html
    +++ b/docs/pixie/fileformats/png.html
    @@ -201,7 +201,7 @@ Encodes the mask data into the PNG file format.
           
         
       
    diff --git a/docs/pixie/fileformats/svg.html b/docs/pixie/fileformats/svg.html
    index 9cdb4df..0f7162a 100644
    --- a/docs/pixie/fileformats/svg.html
    +++ b/docs/pixie/fileformats/svg.html
    @@ -171,7 +171,7 @@ Render SVG file and return the image. Defaults to the SVG's view box size.
           
         
       
    diff --git a/docs/pixie/images.html b/docs/pixie/images.html
    index 50efb5f..e544fd1 100644
    --- a/docs/pixie/images.html
    +++ b/docs/pixie/images.html
    @@ -288,7 +288,7 @@ function main() {
       
     

    Types

    @@ -601,7 +601,7 @@ Create a shadow of the image with the offset, spread and blur.
    diff --git a/docs/pixie/internal.html b/docs/pixie/internal.html new file mode 100644 index 0000000..8c1a79f --- /dev/null +++ b/docs/pixie/internal.html @@ -0,0 +1,152 @@ + + + + + + + + + + + + + + + + + + +pixie/internal + + + + + + + + +
    +
    +

    pixie/internal

    +
    +
    +
    + +     Dark Mode +
    + +
    + Search: +
    +
    + Group by: + +
    + + +
    +
    +
    + +

    +
    +

    Procs

    +
    + +
    proc packAlphaValues(v: M128i): M128i {...}{.inline, raises: [], tags: [].}
    +
    + +Shuffle the alpha values for these 4 colors to the first 4 bytes + +
    + +
    proc unpackAlphaValues(v: M128i): M128i {...}{.inline, raises: [], tags: [].}
    +
    + +Unpack the first 32 bits into 4 rgba(0, 0, 0, value) + +
    + +
    + +
    +
    + +
    + +
    +
    +
    + + + diff --git a/docs/pixie/internal.idx b/docs/pixie/internal.idx new file mode 100644 index 0000000..38f86be --- /dev/null +++ b/docs/pixie/internal.idx @@ -0,0 +1,2 @@ +packAlphaValues pixie/internal.html#packAlphaValues,M128i internal: packAlphaValues(v: M128i): M128i +unpackAlphaValues pixie/internal.html#unpackAlphaValues,M128i internal: unpackAlphaValues(v: M128i): M128i diff --git a/docs/pixie/masks.html b/docs/pixie/masks.html index 8a2546f..3310c50 100644 --- a/docs/pixie/masks.html +++ b/docs/pixie/masks.html @@ -354,7 +354,7 @@ A value of 0 stays 0. Anything else turns into 255. diff --git a/docs/pixie/paints.html b/docs/pixie/paints.html index dca9d0b..3bbc62c 100644 --- a/docs/pixie/paints.html +++ b/docs/pixie/paints.html @@ -243,7 +243,7 @@ Angular gradient. diff --git a/docs/pixie/paths.html b/docs/pixie/paths.html index b1685f3..5220dc4 100644 --- a/docs/pixie/paths.html +++ b/docs/pixie/paths.html @@ -289,7 +289,7 @@ function main() {

    Types

    @@ -662,7 +662,7 @@ Return elements in pairs: (1st, 2nd), (2nd, 3rd) ... (n - 1, last).
    diff --git a/docs/theindex.html b/docs/theindex.html index 2bfc9bf..aac6e02 100644 --- a/docs/theindex.html +++ b/docs/theindex.html @@ -63,7 +63,7 @@ function main() {

    Index

    - Modules: pixie, pixie/blends, pixie/common, pixie/fileformats/bmp, pixie/fileformats/jpg, pixie/fileformats/png, pixie/fileformats/svg, pixie/images, pixie/masks, pixie/paints, pixie/paths.

    API symbols

    + Modules: pixie, pixie/blends, pixie/common, pixie/fileformats/bmp, pixie/fileformats/jpg, pixie/fileformats/png, pixie/fileformats/svg, pixie/images, pixie/internal, pixie/masks, pixie/paints, pixie/paths.

    API symbols

    `$`:
    packAlphaValues:
    • blends: packAlphaValues(v: M128i): M128i
    • + data-doc-search-tag="internal: packAlphaValues(v: M128i): M128i" href="pixie/internal.html#packAlphaValues%2CM128i">internal: packAlphaValues(v: M128i): M128i
    Paint:
    unpackAlphaValues:
    • blends: unpackAlphaValues(v: M128i): M128i
    • + data-doc-search-tag="internal: unpackAlphaValues(v: M128i): M128i" href="pixie/internal.html#unpackAlphaValues%2CM128i">internal: unpackAlphaValues(v: M128i): M128i
    VLine: