Mako 7.5.0 API
Loading...
Searching...
No Matches
JawsMako::ICustomTransform::IImplementation Class Reference

Callback interface that provides methods for actually doing the work. Override the cases for the objects you wish to edit or are otherwise interested in. More...

#include <customtransform.h>

Public Member Functions

virtual void transformAnnotation (IImplementation *genericImplementation, const IAnnotationPtr &annotation)
 Callback to process an annotation.
 
virtual IAnnotationAppearancePtr transformAnnotationAppearance (IImplementation *genericImplementation, const IAnnotationAppearancePtr &appearance, const FRect &annotationRect)
 Callback to process an annotation appearance.
 
virtual IDOMColorPtr transformColor (IImplementation *genericImplementation, const IDOMColorPtr &color, const CTransformState &state)
 Callback to process a color. This will be invoked for any color anywhere in the DOM, with the exception of IDOMShadingPatternBrushes which require special handling.
 
virtual IDOMColorSpacePtr transformColorSpace (IImplementation *genericImplementation, const IDOMColorSpacePtr &colorSpace, const CTransformState &state)
 Callback to process a color space. This will be invoked for any color anywhere in the DOM, with the exception of IDOMShadingPatternBrushes which require special handling.
 
virtual IDOMImagePtr transformImage (IImplementation *genericImplementation, const IDOMImagePtr &image, const CTransformState &state)
 Callback to process an image.
 
virtual IDOMNodePtr transformNode (IImplementation *genericImplementation, const IDOMNodePtr &node, bool &changed, bool transformChildren, const CTransformState &state)
 Callback to process an IDOMNode (of any type).
 
virtual IDOMNodePtr transformFixedPage (IImplementation *genericImplementation, const IDOMFixedPagePtr &page, bool &changed, bool transformChildren, const CTransformState &state)
 Callback to process an IDOMFixedPage.
 
virtual IDOMNodePtr transformGroup (IImplementation *genericImplementation, const IDOMGroupPtr &group, bool &changed, bool transformChildren, const CTransformState &state)
 Callback to process an IDOMGroup.
 
virtual IDOMNodePtr transformCharPathGroup (IImplementation *genericImplementation, const IDOMCharPathGroupPtr &group, bool &changed, bool transformChildren, const CTransformState &state)
 Callback to process an IDOMCharPathGroup.
 
virtual IDOMNodePtr transformTransparencyGroup (IImplementation *genericImplementation, const IDOMTransparencyGroupPtr &group, bool &changed, bool transformChildren, const CTransformState &state)
 Callback to process an IDOMTransparencyGroup.
 
virtual IDOMNodePtr transformCanvas (IImplementation *genericImplementation, const IDOMCanvasPtr &canvas, bool &changed, bool transformChildren, const CTransformState &state)
 Callback to process an IDOMCanvas.
 
virtual IDOMNodePtr transformGlyphs (IImplementation *genericImplementation, const IDOMGlyphsPtr &glyphs, bool &changed, const CTransformState &state)
 Callback to process an IDOMGlyphs node.
 
virtual IDOMFontPtr transformFont (IImplementation *genericImplementation, const IDOMFontPtr &font, uint32 &index, const CTransformState &state)
 Callback to process an IDOMFont.
 
virtual IDOMNodePtr transformPath (IImplementation *genericImplementation, const IDOMPathNodePtr &path, bool &changed, const CTransformState &state)
 Callback to process an IDOMPathNode.
 
virtual IDOMNodePtr transformVisualRoot (IImplementation *genericImplementation, const IDOMVisualRootPtr &root, bool &changed, bool transformChildren, const CTransformState &state)
 Callback to process an IDOMVisualRoot node.
 
virtual IDOMNodePtr transformForm (IImplementation *genericImplementation, const IDOMFormPtr &form, bool &changed, bool transformChildren, const CTransformState &state)
 Callback to process an IDOMForm node.
 
virtual IDOMNodePtr transformFormInstance (IImplementation *genericImplementation, const IDOMFormInstancePtr &instance, bool &changed, bool transformChildren, const CTransformState &state)
 Callback to process an IDOMFormInstance node.
 
virtual IDOMBrushPtr transformBrush (IImplementation *genericImplementation, const IDOMBrushPtr &brush, eBrushUsage usage, const CTransformState &state)
 Callback to process any kind of brush.
 
virtual IDOMBrushPtr transformSolidColorBrush (IImplementation *genericImplementation, const IDOMSolidColorBrushPtr &brush, const CTransformState &state)
 Callback to process an IDOMSolidColorBrush.
 
virtual IDOMBrushPtr transformGradientBrush (IImplementation *genericImplementation, const IDOMGradientBrushPtr &gradient, const CTransformState &state)
 Callback to process an IDOMGradientBrush.
 
virtual IDOMBrushPtr transformLinearGradientBrush (IImplementation *genericImplementation, const IDOMLinearGradientBrushPtr &gradient, const CTransformState &state)
 Callback to process an IDOMLinearGradientBrush.
 
virtual IDOMBrushPtr transformRadialGradientBrush (IImplementation *genericImplementation, const IDOMRadialGradientBrushPtr &gradient, const CTransformState &state)
 Callback to process an IDOMRadialGradientBrush.
 
virtual IDOMBrushPtr transformVisualBrush (IImplementation *genericImplementation, const IDOMVisualBrushPtr &brush, const CTransformState &state)
 Callback to process an IDOMVisualBrush.
 
virtual IDOMBrushPtr transformImageBrush (IImplementation *genericImplementation, const IDOMImageBrushPtr &brush, const CTransformState &state)
 Callback to process an IDOMImageBrush.
 
virtual IDOMBrushPtr transformTilingPatternBrush (IImplementation *genericImplementation, const IDOMTilingPatternBrushPtr &brush, const CTransformState &state)
 Callback to process an IDOMTilingPatternBrush.
 
virtual IDOMBrushPtr transformShadingPatternBrush (IImplementation *genericImplementation, const IDOMShadingPatternBrushPtr &brush, const CTransformState &state)
 Callback to process an IDOMShadingPatternBrush.
 
virtual IDOMBrushPtr transformSoftMaskBrush (IImplementation *genericImplementation, const IDOMSoftMaskBrushPtr &brush, const CTransformState &state)
 Callback to process an IDOMSoftMaskBrush.
 
virtual IDOMBrushPtr transformMaskedBrush (IImplementation *genericImplementation, const IDOMMaskedBrushPtr &brush, const CTransformState &state)
 Callback to process an IDOMMaskedBrush.
 
virtual IDOMBrushPtr transformNullBrush (IImplementation *genericImplementation, const IDOMNullBrushPtr &brush, const CTransformState &state)
 Callback to process an IDOMNullBrush.
 

Detailed Description

Callback interface that provides methods for actually doing the work. Override the cases for the objects you wish to edit or are otherwise interested in.

Each method is passed in a generic implementation. Here the generic implementation continues the process of the transformation to the lower levels of the tree. For example, the default generic implementation of transformPath() proceeds to recurse, processing the brushes, etc. For these, you can choose to make changes before or after the generic implementation, or simply not use the generic implementation if there is no need to further recurse into the tree.

Implementing transformCharPathGroup() to deal with the IDOMPathNodes associated with IDOMCharPathGroup was required if implemented transformPath(). But it is not required anymore.

The CTransformState transformPriv is available for your use to store additional contextual information in an arbitrary fashion.

Member Function Documentation

◆ transformAnnotation()

virtual void JawsMako::ICustomTransform::IImplementation::transformAnnotation ( IImplementation * genericImplementation,
const IAnnotationPtr & annotation )
inlinevirtual

Callback to process an annotation.

Parameters
genericImplementationThe generic implementation that continues processing further down the tree.
annotationThe annotation, which you may modify.

◆ transformAnnotationAppearance()

virtual IAnnotationAppearancePtr JawsMako::ICustomTransform::IImplementation::transformAnnotationAppearance ( IImplementation * genericImplementation,
const IAnnotationAppearancePtr & appearance,
const FRect & annotationRect )
inlinevirtual

Callback to process an annotation appearance.

Parameters
genericImplementationThe generic implementation that continues processing further down the tree.
appearanceThe annotation appearance. Do not modify this; instead, if you must modify it, return a cloned version containing your modifications. Do not return NULL.
annotationRectThe owning annotation's rectangle.
Returns
IAnnotationAppearancePtr The result appearance, or the original appearance if no changes were required.

◆ transformBrush()

virtual IDOMBrushPtr JawsMako::ICustomTransform::IImplementation::transformBrush ( IImplementation * genericImplementation,
const IDOMBrushPtr & brush,
eBrushUsage usage,
const CTransformState & state )
inlinevirtual

Callback to process any kind of brush.

Parameters
genericImplementationThe generic implementation that continues processing further down the tree.
brushThe brush. Do not edit this brush in place, instead create a copy or a new brush instead.
stateThe current state outside the brush.
Returns
IDOMBrushPtr The resulting brush, or NULL if the brush should be dropped.

◆ transformCanvas()

virtual IDOMNodePtr JawsMako::ICustomTransform::IImplementation::transformCanvas ( IImplementation * genericImplementation,
const IDOMCanvasPtr & canvas,
bool & changed,
bool transformChildren,
const CTransformState & state )
inlinevirtual

Callback to process an IDOMCanvas.

Parameters
genericImplementationThe generic implementation that continues processing further down the tree.
canvasThe canvas. You are free to modify this node or its children in place, but do not modify any potentially shared objects, such as brushes. Instead, those objects should be cloned first. You may return NULL, or a node of a completely different type.
changedYou must set this to true if any changes have been made to the node, and set it to false if you have not.
transformChildrenTrue if the children of the node should also be transformed
stateThe current state inside the node, with the node's attributes taken into account (such as its renderTransform)
Returns
IDOMNodePtr The resulting node, or NULL if the node should be dropped.

◆ transformCharPathGroup()

virtual IDOMNodePtr JawsMako::ICustomTransform::IImplementation::transformCharPathGroup ( IImplementation * genericImplementation,
const IDOMCharPathGroupPtr & group,
bool & changed,
bool transformChildren,
const CTransformState & state )
inlinevirtual

Callback to process an IDOMCharPathGroup.

Parameters
genericImplementationThe generic implementation that continues processing further down the tree.
groupThe group. You are free to modify this node or its children in place, but do not modify any potentially shared objects, such as brushes. Instead, those objects should be cloned first. You may return NULL, or a node of a completely different type.
changedYou must set this to true if any changes have been made to the node, and set it to false if you have not.
transformChildrenTrue if the children of the node should also be transformed
stateThe current state inside the node, with the node's attributes taken into account (such as its renderTransform)
Returns
IDOMNodePtr The resulting node, or NULL if the node should be dropped.

◆ transformColor()

virtual IDOMColorPtr JawsMako::ICustomTransform::IImplementation::transformColor ( IImplementation * genericImplementation,
const IDOMColorPtr & color,
const CTransformState & state )
inlinevirtual

Callback to process a color. This will be invoked for any color anywhere in the DOM, with the exception of IDOMShadingPatternBrushes which require special handling.

Parameters
genericImplementationThe generic implementation that continues processing further down the tree.
colorThe color. Do not modify this color; instead create a clone and apply your modifications to that.
stateThe current state when the color was encountered.
Returns
IDOMColorPtr The result color, or the original color if no changes were required.

◆ transformColorSpace()

virtual IDOMColorSpacePtr JawsMako::ICustomTransform::IImplementation::transformColorSpace ( IImplementation * genericImplementation,
const IDOMColorSpacePtr & colorSpace,
const CTransformState & state )
inlinevirtual

Callback to process a color space. This will be invoked for any color anywhere in the DOM, with the exception of IDOMShadingPatternBrushes which require special handling.

Parameters
genericImplementationThe generic implementation that continues processing further down the tree.
colorSpaceThe color space. Do not modify this color space; instead create a clone and apply your modifications to that. Any color space you return must have the same number of components as colorSpace
stateThe current state when the color space was encountered.
Returns
IDOMColorPtr The result color space, or the original color space if no changes were required.

◆ transformFixedPage()

virtual IDOMNodePtr JawsMako::ICustomTransform::IImplementation::transformFixedPage ( IImplementation * genericImplementation,
const IDOMFixedPagePtr & page,
bool & changed,
bool transformChildren,
const CTransformState & state )
inlinevirtual

Callback to process an IDOMFixedPage.

Parameters
genericImplementationThe generic implementation that continues processing further down the tree.
pageThe fixed page. You are free to modify this node or its children in place, but do not modify any potentially shared objects, such as brushes. Instead, those objects should be cloned first.
changedYou must set this to true if any changes have been made to the node, and set it to false if you have not.
transformChildrenTrue if the children of the node should also be transformed
stateThe current state when the node was encountered.
Returns
IDOMNodePtr The resulting node.

◆ transformFont()

virtual IDOMFontPtr JawsMako::ICustomTransform::IImplementation::transformFont ( IImplementation * genericImplementation,
const IDOMFontPtr & font,
uint32 & index,
const CTransformState & state )
inlinevirtual

Callback to process an IDOMFont.

Parameters
genericImplementationThe generic implementation that continues processing further down the tree.
fontThe font. You must not modify this font. Instead, create a new font or work on a clone.
indexThe font index of the font being edited. On return, this must be the index of the resulting font.
stateThe current state inside the node, with the node's attributes taken into account (such as its renderTransform)
Returns
IDOMFontPtr The resulting font, or the original font if no changes were required.

◆ transformForm()

virtual IDOMNodePtr JawsMako::ICustomTransform::IImplementation::transformForm ( IImplementation * genericImplementation,
const IDOMFormPtr & form,
bool & changed,
bool transformChildren,
const CTransformState & state )
inlinevirtual

Callback to process an IDOMForm node.

Parameters
genericImplementationThe generic implementation that continues processing further down the tree.
formThe form. You must not edit this form directly. Instead, make a deep clone first.
changedYou must set this to true if any changes have been made to the node, and set it to false if you have not.
transformChildrenTrue if the children of the node should also be transformed
stateThe current state inside the node, with the node's attributes taken into account (such as its renderTransform)
Returns
IDOMNodePtr The resulting node, or NULL if the node should be dropped.

◆ transformFormInstance()

virtual IDOMNodePtr JawsMako::ICustomTransform::IImplementation::transformFormInstance ( IImplementation * genericImplementation,
const IDOMFormInstancePtr & instance,
bool & changed,
bool transformChildren,
const CTransformState & state )
inlinevirtual

Callback to process an IDOMFormInstance node.

Parameters
genericImplementationThe generic implementation that continues processing further down the tree.
instanceThe instance. You are free to modify this node in place, but do not modify the contents of the form unless you first create a deep clone of it.
changedYou must set this to true if any changes have been made to the node, and set it to false if you have not.
transformChildrenTrue if the children of the node should also be transformed
stateThe current state inside the node, with the node's attributes taken into account (such as its renderTransform)
Returns
IDOMNodePtr The resulting node, or NULL if the node should be dropped.

◆ transformGlyphs()

virtual IDOMNodePtr JawsMako::ICustomTransform::IImplementation::transformGlyphs ( IImplementation * genericImplementation,
const IDOMGlyphsPtr & glyphs,
bool & changed,
const CTransformState & state )
inlinevirtual

Callback to process an IDOMGlyphs node.

Parameters
genericImplementationThe generic implementation that continues processing further down the tree.
glyphsThe glyphs. You are free to modify this node or its children in place, but do not modify any potentially shared objects, such as brushes. Instead, those objects should be cloned first. You may return NULL, or a node of a completely different type.
changedYou must set this to true if any changes have been made to the node, and set it to false if you have not.
stateThe current state inside the node, with the node's attributes taken into account (such as its renderTransform)
Returns
IDOMNodePtr The resulting node, or NULL if the node should be dropped.

◆ transformGradientBrush()

virtual IDOMBrushPtr JawsMako::ICustomTransform::IImplementation::transformGradientBrush ( IImplementation * genericImplementation,
const IDOMGradientBrushPtr & gradient,
const CTransformState & state )
inlinevirtual

Callback to process an IDOMGradientBrush.

Parameters
genericImplementationThe generic implementation that continues processing further down the tree.
gradientThe brush. Do not edit this brush in place, instead create a copy or a new brush instead.
stateThe current state inside the brush, including any renderTransform applied by the brush.
Returns
IDOMBrushPtr The resulting brush (which need not be the same type), or NULL if the brush should be dropped.

◆ transformGroup()

virtual IDOMNodePtr JawsMako::ICustomTransform::IImplementation::transformGroup ( IImplementation * genericImplementation,
const IDOMGroupPtr & group,
bool & changed,
bool transformChildren,
const CTransformState & state )
inlinevirtual

Callback to process an IDOMGroup.

Parameters
genericImplementationThe generic implementation that continues processing further down the tree.
groupThe group. You are free to modify this node or its children in place, but do not modify any potentially shared objects, such as brushes. Instead, those objects should be cloned first. You may return NULL, or a node of a completely different type.
changedYou must set this to true if any changes have been made to the node, and set it to false if you have not.
transformChildrenTrue if the children of the node should also be transformed
stateThe current state inside the node, with the node's attributes taken into account (such as its renderTransform)
Returns
IDOMNodePtr The resulting node, or NULL if the node should be dropped.

◆ transformImage()

virtual IDOMImagePtr JawsMako::ICustomTransform::IImplementation::transformImage ( IImplementation * genericImplementation,
const IDOMImagePtr & image,
const CTransformState & state )
inlinevirtual

Callback to process an image.

Parameters
genericImplementationThe generic implementation that continues processing further down the tree.
imageThe image. Do not modify this image; instead create a clone and apply your modifications to that. You may return a NULL image if you wish to drop the image entirely
stateThe current state when the image was encountered.
Returns
IDOMImagePtr The result image, the original image if no changes were required, or NULL if the image should be dropped entirely.

◆ transformImageBrush()

virtual IDOMBrushPtr JawsMako::ICustomTransform::IImplementation::transformImageBrush ( IImplementation * genericImplementation,
const IDOMImageBrushPtr & brush,
const CTransformState & state )
inlinevirtual

Callback to process an IDOMImageBrush.

Parameters
genericImplementationThe generic implementation that continues processing further down the tree.
brushThe brush. Do not edit this brush in place, instead create a copy or a new brush instead.
stateThe current state inside the brush, including any renderTransform applied by the brush.
Returns
IDOMBrushPtr The resulting brush (which need not be the same type), or NULL if the brush should be dropped.

◆ transformLinearGradientBrush()

virtual IDOMBrushPtr JawsMako::ICustomTransform::IImplementation::transformLinearGradientBrush ( IImplementation * genericImplementation,
const IDOMLinearGradientBrushPtr & gradient,
const CTransformState & state )
inlinevirtual

Callback to process an IDOMLinearGradientBrush.

Parameters
genericImplementationThe generic implementation that continues processing further down the tree.
gradientThe brush. Do not edit this brush in place, instead create a copy or a new brush instead.
stateThe current state inside the brush, including any renderTransform applied by the brush.
Returns
IDOMBrushPtr The resulting brush (which need not be the same type), or NULL if the brush should be dropped.

◆ transformMaskedBrush()

virtual IDOMBrushPtr JawsMako::ICustomTransform::IImplementation::transformMaskedBrush ( IImplementation * genericImplementation,
const IDOMMaskedBrushPtr & brush,
const CTransformState & state )
inlinevirtual

Callback to process an IDOMMaskedBrush.

Parameters
genericImplementationThe generic implementation that continues processing further down the tree.
brushThe brush. Do not edit this brush in place, instead create a copy or a new brush instead.
stateThe current state outside the brush. Note that this differs from other brush types. The reason for this is that the sub brush of an IDOMMaskedBrush is not affected by the renderTransform of the IDOMMaskedBrush itself. As such any render transforms must be handled by the implementation of this function.
Returns
IDOMBrushPtr The resulting brush (which need not be the same type), or NULL if the brush should be dropped.

◆ transformNode()

virtual IDOMNodePtr JawsMako::ICustomTransform::IImplementation::transformNode ( IImplementation * genericImplementation,
const IDOMNodePtr & node,
bool & changed,
bool transformChildren,
const CTransformState & state )
inlinevirtual

Callback to process an IDOMNode (of any type).

Parameters
genericImplementationThe generic implementation that continues processing further down the tree.
nodeThe node. You are free to modify this node or its children in place, but do not modify any potentially shared objects, such as brushes. Instead, those objects should be cloned first.
changedYou must set this to true if any changes have been made to the node, and set it to false if you have not.
transformChildrenTrue if the children of the node should also be transformed
stateThe current state when the node was encountered.
Returns
IDOMNodePtr The result. NULL may be returned if the node should be dropped entirely. A completely different node type may also be returned if required.

◆ transformNullBrush()

virtual IDOMBrushPtr JawsMako::ICustomTransform::IImplementation::transformNullBrush ( IImplementation * genericImplementation,
const IDOMNullBrushPtr & brush,
const CTransformState & state )
inlinevirtual

Callback to process an IDOMNullBrush.

Parameters
genericImplementationThe generic implementation that continues processing further down the tree.
brushThe brush. Do not edit this brush in place, instead create a copy or a new brush instead.
stateThe current state inside the brush, including any renderTransform applied by the brush.
Returns
IDOMBrushPtr The resulting brush (which need not be the same type), or NULL if the brush should be dropped.

◆ transformPath()

virtual IDOMNodePtr JawsMako::ICustomTransform::IImplementation::transformPath ( IImplementation * genericImplementation,
const IDOMPathNodePtr & path,
bool & changed,
const CTransformState & state )
inlinevirtual

Callback to process an IDOMPathNode.

Parameters
genericImplementationThe generic implementation that continues processing further down the tree.
pathThe path. You are free to modify this node or its children in place, but do not modify any potentially shared objects, such as brushes. Instead, those objects should be cloned first. You may return NULL, or a node of a completely different type.
changedYou must set this to true if any changes have been made to the node, and set it to false if you have not.
stateThe current state inside the node, with the node's attributes taken into account (such as its renderTransform)
Returns
IDOMNodePtr The resulting node, or NULL if the node should be dropped.

◆ transformRadialGradientBrush()

virtual IDOMBrushPtr JawsMako::ICustomTransform::IImplementation::transformRadialGradientBrush ( IImplementation * genericImplementation,
const IDOMRadialGradientBrushPtr & gradient,
const CTransformState & state )
inlinevirtual

Callback to process an IDOMRadialGradientBrush.

Parameters
genericImplementationThe generic implementation that continues processing further down the tree.
gradientThe brush. Do not edit this brush in place, instead create a copy or a new brush instead.
stateThe current state inside the brush, including any renderTransform applied by the brush.
Returns
IDOMBrushPtr The resulting brush (which need not be the same type), or NULL if the brush should be dropped.

◆ transformShadingPatternBrush()

virtual IDOMBrushPtr JawsMako::ICustomTransform::IImplementation::transformShadingPatternBrush ( IImplementation * genericImplementation,
const IDOMShadingPatternBrushPtr & brush,
const CTransformState & state )
inlinevirtual

Callback to process an IDOMShadingPatternBrush.

Parameters
genericImplementationThe generic implementation that continues processing further down the tree.
brushThe brush. Do not edit this brush in place, instead create a copy or a new brush instead.
stateThe current state inside the brush, including any renderTransform applied by the brush.
Returns
IDOMBrushPtr The resulting brush (which need not be the same type), or NULL if the brush should be dropped.

◆ transformSoftMaskBrush()

virtual IDOMBrushPtr JawsMako::ICustomTransform::IImplementation::transformSoftMaskBrush ( IImplementation * genericImplementation,
const IDOMSoftMaskBrushPtr & brush,
const CTransformState & state )
inlinevirtual

Callback to process an IDOMSoftMaskBrush.

Parameters
genericImplementationThe generic implementation that continues processing further down the tree.
brushThe brush. Do not edit this brush in place, instead create a copy or a new brush instead.
stateThe current state inside the brush, including any renderTransform applied by the brush.
Returns
IDOMBrushPtr The resulting brush (which need not be the same type), or NULL if the brush should be dropped.

◆ transformSolidColorBrush()

virtual IDOMBrushPtr JawsMako::ICustomTransform::IImplementation::transformSolidColorBrush ( IImplementation * genericImplementation,
const IDOMSolidColorBrushPtr & brush,
const CTransformState & state )
inlinevirtual

Callback to process an IDOMSolidColorBrush.

Parameters
genericImplementationThe generic implementation that continues processing further down the tree.
brushThe brush. Do not edit this brush in place, instead create a copy or a new brush instead.
stateThe current state inside the brush.
Returns
IDOMBrushPtr The resulting brush (which need not be the same type), or NULL if the brush should be dropped.

◆ transformTilingPatternBrush()

virtual IDOMBrushPtr JawsMako::ICustomTransform::IImplementation::transformTilingPatternBrush ( IImplementation * genericImplementation,
const IDOMTilingPatternBrushPtr & brush,
const CTransformState & state )
inlinevirtual

Callback to process an IDOMTilingPatternBrush.

Parameters
genericImplementationThe generic implementation that continues processing further down the tree.
brushThe brush. Do not edit this brush in place, instead create a copy or a new brush instead.
stateThe current state inside the brush, including any renderTransform applied by the brush.
Returns
IDOMBrushPtr The resulting brush (which need not be the same type), or NULL if the brush should be dropped.

◆ transformTransparencyGroup()

virtual IDOMNodePtr JawsMako::ICustomTransform::IImplementation::transformTransparencyGroup ( IImplementation * genericImplementation,
const IDOMTransparencyGroupPtr & group,
bool & changed,
bool transformChildren,
const CTransformState & state )
inlinevirtual

Callback to process an IDOMTransparencyGroup.

Parameters
genericImplementationThe generic implementation that continues processing further down the tree.
groupThe group. You are free to modify this node or its children in place, but do not modify any potentially shared objects, such as brushes. Instead, those objects should be cloned first. You may return NULL, or a node of a completely different type.
changedYou must set this to true if any changes have been made to the node, and set it to false if you have not.
transformChildrenTrue if the children of the node should also be transformed
stateThe current state inside the node, with the node's attributes taken into account (such as its renderTransform)
Returns
IDOMNodePtr The resulting node, or NULL if the node should be dropped.

◆ transformVisualBrush()

virtual IDOMBrushPtr JawsMako::ICustomTransform::IImplementation::transformVisualBrush ( IImplementation * genericImplementation,
const IDOMVisualBrushPtr & brush,
const CTransformState & state )
inlinevirtual

Callback to process an IDOMVisualBrush.

Parameters
genericImplementationThe generic implementation that continues processing further down the tree.
brushThe brush. Do not edit this brush in place, instead create a copy or a new brush instead.
stateThe current state inside the brush, including any renderTransform applied by the brush.
Returns
IDOMBrushPtr The resulting brush (which need not be the same type), or NULL if the brush should be dropped.

◆ transformVisualRoot()

virtual IDOMNodePtr JawsMako::ICustomTransform::IImplementation::transformVisualRoot ( IImplementation * genericImplementation,
const IDOMVisualRootPtr & root,
bool & changed,
bool transformChildren,
const CTransformState & state )
inlinevirtual

Callback to process an IDOMVisualRoot node.

Parameters
genericImplementationThe generic implementation that continues processing further down the tree.
rootThe visual root. You are free to modify this node or its children in place, but do not modify any potentially shared objects, such as brushes. Instead, those objects should be cloned first. You may return NULL, or a node of a completely different type.
changedYou must set this to true if any changes have been made to the node, and set it to false if you have not.
transformChildrenTrue if the children of the node should also be transformed
stateThe current state inside the node, with the node's attributes taken into account (such as its renderTransform)
Returns
IDOMNodePtr The resulting node, or NULL if the node should be dropped.

The documentation for this class was generated from the following file: