Lines Matching defs:mask
57 #include "sp-mask.h"
86 // FIXME: expose these from sp-clippath/mask.cpp
607 state->mask = item->mask_ref->getObject();
611 // has to be used for the mask's/clippath's context.
628 state->need_layer = ( state->mask || state->clip_path || state->opacity != 1.0 );
630 // Draw item on a temporary surface so a mask, clip-path, or opacity can be applied to it.
773 // Apply an SVG mask
775 CairoRenderer::applyMask(CairoRenderContext *ctx, SPMask const *mask)
779 if (mask == NULL)
782 // FIXME: the access to the first mask view to obtain the bbox is completely bogus
784 if (mask->maskContentUnits == SP_CONTENT_UNITS_OBJECTBOUNDINGBOX && mask->display->bbox) {
785 //SP_PRINT_DRECT("maskd", &mask->display->bbox);
786 Geom::Rect mask_bbox = *mask->display->bbox;
794 // Clip mask contents... but...
795 // The mask's bounding box is the "geometric bounding box" which doesn't allow for
801 TRACE(("BEGIN mask\n"));
802 SPObject const *co = mask;
810 TRACE(("END mask\n"));