harfbuzzjs
    Preparing search index...

    Type Alias PaintPushTransformFunc

    PaintPushTransformFunc: (
        xx: number,
        yx: number,
        xy: number,
        yy: number,
        dx: number,
        dy: number,
        paintData: unknown,
        userData: unknown,
    ) => void

    A callback to apply a transform to subsequent paint calls. The transform is applied after the current transform, and remains in effect until a matching call to PaintFuncs.setPopTransformFunc.

    Type Declaration

      • (
            xx: number,
            yx: number,
            xy: number,
            yy: number,
            dx: number,
            dy: number,
            paintData: unknown,
            userData: unknown,
        ): void
      • Parameters

        • xx: number

          xx component of the transform matrix

        • yx: number

          yx component of the transform matrix

        • xy: number

          xy component of the transform matrix

        • yy: number

          yy component of the transform matrix

        • dx: number

          dx component of the transform matrix

        • dy: number

          dy component of the transform matrix

        • paintData: unknown

          the data accompanying the paint functions in Font.paintGlyph

        • userData: unknown

          the user data pointer passed to PaintFuncs.setPushTransformFunc

        Returns void