Searched defs:mask (Results 1 - 23 of 23) sorted by relevance

/inkscape/src/ui/tool/
H A Devent-utils.cpp33 unsigned combine_key_events(guint keyval, gint mask) argument
39 // while the next event is also a key notify with the same keyval and mask,
42 && (!mask || event_next->key.state & mask)) {
56 unsigned combine_motion_events(SPCanvas *canvas, GdkEventMotion &event, gint mask) argument
69 && (!mask || event_next->motion.state & mask))
/inkscape/src/svg/
H A Dstringstream.h67 std::ios::fmtflags setf(std::ios::fmtflags fmtfl, std::ios::fmtflags mask) { argument
68 return ostr.setf(fmtfl, mask);
71 void unsetf(std::ios::fmtflags mask) { argument
72 ostr.unsetf(mask);
/inkscape/src/debug/
H A Dlogger.cpp78 static void set_category_mask(bool * const mask, char const *filter) { argument
81 mask[i] = true;
86 mask[i] = false;
88 mask[Event::CORE] = true;
117 mask[iter->category] = true;
/inkscape/src/extension/internal/
H A Dcairo-render-context.h65 SPMask* mask; member in struct:Inkscape::Extension::Internal::CairoRenderState
H A Demf-inout.h125 mask(0),
152 uint32_t mask; // Draw properties member in struct:Inkscape::Extension::Internal::emf_callback_data
H A Dwmf-inout.h124 mask(0),
149 uint32_t mask; // Draw properties member in struct:Inkscape::Extension::Internal::wmf_callback_data
H A Dcairo-renderer.cpp57 #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) argument
779 if (mask == NULL)
782 // FIXME: the access to the first mask vie
[all...]
H A Dcairo-render-context.cpp47 #include "sp-mask.h"
89 // FIXME: expose these from sp-clippath/mask.cpp
531 state->mask = NULL;
561 At this point, the Cairo source is ready. A Cairo mask must be created if required.
566 1. An SVG object may have both a clip path and a mask!
571 5. Cairo expects a mask to use only the alpha channel. SVG masks combine the RGB luminance with
576 SPMask *mask = _state->mask; local
577 if (clip_path || mask) {
586 mask
[all...]
/inkscape/src/
H A Dsp-use.cpp26 #include "sp-mask.h"
451 SPObject *mask = mask_ref->getObject()->firstChild() ; local
452 while(mask){
453 SPItem *item = (SPItem*) mask;
457 item->doWriteTransform(mask->getRepr(),item->transform, &identity);
459 mask = mask->getNext();
495 SPObject *mask = mask_ref->getObject()->firstChild() ; local
496 while(mask){
497 SPItem *item = (SPItem*) mask;
[all...]
H A Ddevice-manager.cpp535 gint mask = bitVals[axis]; local
536 if ( (mask & (*it)->getLiveAxes()) == 0 ) {
537 (*it)->setLiveAxes((*it)->getLiveAxes() | mask);
552 gint mask = bitVals[button]; local
553 if ( (mask & (*it)->getLiveButtons()) == 0 ) {
554 (*it)->setLiveButtons((*it)->getLiveButtons() | mask);
H A Dsp-lpe-item.cpp45 #include "sp-mask.h"
347 SPMask * mask = lpeitem->mask_ref->getObject(); local
348 if(mask)
350 sp_lpe_item_create_original_path_recursive(SP_LPE_ITEM(mask->firstChild()));
381 SPMask * mask = lpeitem->mask_ref->getObject(); local
382 if(mask)
384 sp_lpe_item_cleanup_original_path_recursive(SP_LPE_ITEM(mask->firstChild()));
403 SPMask * mask = lpeitem->mask_ref->getObject(); local
404 if(mask)
406 sp_lpe_item_cleanup_original_path_recursive(SP_LPE_ITEM(mask
660 SPMask *mask = item->mask_ref->getObject(); local
[all...]
H A Dbox3d.cpp1273 gchar const *mask = box->getAttribute("mask"); local
1294 if (mask)
1295 grepr->setAttribute("mask", mask);
H A Dsp-item.cpp34 #include "sp-mask.h"
400 object->readAttr( "mask" );
574 void SPItem::mask_ref_changed(SPObject *old_mask, SPObject *mask, SPItem *item) argument
577 /* Hide mask */
584 SPMask *maskItem = dynamic_cast<SPMask *>(mask);
596 mask->requestDisplayUpdate(SP_OBJECT_MODIFIED_FLAG);
671 SPMask *mask = mask_ref ? mask_ref->getObject() : NULL; local
673 if ( clip_path || mask ) {
680 if (mask) {
682 mask
1124 SPMask *mask = mask_ref->getObject(); local
[all...]
H A Dsplivarot.cpp715 gchar const *mask = repr_source->attribute("mask"); local
766 if (mask)
767 repr->setAttribute("mask", mask);
813 if ( mask )
814 repr->setAttribute("mask", mask);
1214 gchar const *mask = item->getRepr()->attribute("mask"); local
2019 gchar *mask = g_strdup(item->getRepr()->attribute("mask")); local
[all...]
/inkscape/src/display/
H A Dcairo-templates.h434 guint32 mask = 0xff << shift; local
435 guint32 c00 = (p00 & mask) >> shift;
436 guint32 c10 = (p10 & mask) >> shift;
437 guint32 c01 = (p01 & mask) >> shift;
438 guint32 c11 = (p11 & mask) >> shift;
H A Dsp-canvas.cpp618 // fixme: If we add key masks to event mask, Gdk will abort (Lauris)
1193 guint mask; local
1198 mask = GDK_ENTER_NOTIFY_MASK;
1201 mask = GDK_LEAVE_NOTIFY_MASK;
1204 mask = GDK_POINTER_MOTION_MASK;
1209 mask = GDK_BUTTON_PRESS_MASK;
1212 mask = GDK_BUTTON_RELEASE_MASK;
1215 mask = GDK_KEY_PRESS_MASK;
1218 mask = GDK_KEY_RELEASE_MASK;
1221 mask
1446 int mask; local
[all...]
/inkscape/src/ui/widget/
H A Dcolor-slider.cpp38 guint b0, guint b1, guint mask);
40 gint step, guint b0, guint b1, guint mask);
536 guint b0, guint b1, guint mask)
569 bg = ((x & mask) ^ (y & mask)) ? b0 : b1;
591 gint step, guint b0, guint b1, guint mask)
619 bg = ((x & mask) ^ (y & mask)) ? b0 : b1;
535 sp_color_slider_render_gradient(gint x0, gint y0, gint width, gint height, gint c[], gint dc[], guint b0, guint b1, guint mask) argument
590 sp_color_slider_render_map(gint x0, gint y0, gint width, gint height, guchar *map, gint start, gint step, guint b0, guint b1, guint mask) argument
/inkscape/src/ui/
H A Dclipboard.cpp68 #include "sp-mask.h"
631 // clip path or mask, not the original path!
836 // Copy mask objects
839 SPObject *mask = item->mask_ref->getObject(); local
840 _copyNode(mask->getRepr(), _doc, _defs);
841 // recurse into the mask for its gradients etc.
842 for (SPObject *o = mask->children ; o != NULL ; o = o->next) {
/inkscape/src/ui/tools/
H A Dtool-base.cpp237 * Gobbles next key events on the queue with the same keyval and mask. Returns the number of events consumed.
239 gint gobble_key_events(guint keyval, gint mask) { argument
244 // while the next event is also a key notify with the same keyval and mask,
246 == GDK_KEY_RELEASE) && event_next->key.keyval == keyval && (!mask
247 || (event_next->key.state & mask))) {
263 * Gobbles next motion notify events on the queue with the same mask. Returns the number of events consumed.
265 gint gobble_motion_events(gint mask) { argument
270 // while the next event is also a key notify with the same keyval and mask,
272 && (event_next->motion.state & mask)) {
1146 * If state includes alt key mask, cyclicall
[all...]
/inkscape/src/libuemf/
H A Duemf_print.c49 uint32_t crc, mask; local
55 mask = -(crc & 1);
56 crc = (crc >> 1) ^ (0xEDB88320 & mask);
/inkscape/src/ui/dialog/
H A Dinput.cpp854 // gint mask,
1385 gint mask = 0x1; local
1386 for ( gint num = 0; num < 32; num++, mask <<= 1) {
1387 if ( (mask & live) != 0 ) {
1401 gint mask = 0x1; local
1402 for ( gint num = 0; num < 32; num++, mask <<= 1) {
1403 if ( (mask & live) != 0 ) {
H A Dfilter-effects-dialog.cpp2062 Gdk::ModifierType mask; local
2068 get_bin_window()->get_device_position(device, mx, my, mask);
2070 get_bin_window()->get_pointer(mx, my, mask);
2106 inside && mask & GDK_BUTTON1_MASK ?
2111 inside && mask & GDK_BUTTON1_MASK ?
2142 inside && mask & GDK_BUTTON1_MASK ?
2147 inside && mask & GDK_BUTTON1_MASK ?
2175 inside && mask & GDK_BUTTON1_MASK ?
2180 inside && mask & GDK_BUTTON1_MASK ?
/inkscape/src/extension/internal/pdfinput/
H A Dpdf-parser.cpp833 // soft mask
849 error(errSyntaxError, getPos(), "Invalid transfer function in soft mask in ExtGState");
907 error(errSyntaxError, getPos(), "Invalid soft mask in ExtGState - missing group");
911 error(errSyntaxError, getPos(), "Invalid soft mask in ExtGState - missing group");
915 error(errSyntaxError, getPos(), "Invalid soft mask in ExtGState");
2579 GBool mask; local
2640 // image or mask?
2646 mask = gFalse;
2648 mask = obj1.getBool();
2664 } else if (mask) {
[all...]

Completed in 108 milliseconds