Searched refs:mask (Results 1 - 25 of 31) sorted by relevance

12

/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))
H A Devent-utils.h114 unsigned combine_key_events(guint keyval, gint mask);
115 unsigned combine_motion_events(SPCanvas *canvas, GdkEventMotion &event, gint 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/extension/internal/
H A Dcairo-renderer.h52 void applyMask(CairoRenderContext *ctx, SPMask const *mask);
H A Demf-inout.cpp1733 // std::cout << "BEFORE DRAW logic d->mask: " << std::hex << d->mask << " emr_mask: " << emr_mask << std::dec << std::endl;
1736 << " test0 " << ( d->mask & U_DRAW_VISIBLE)
1737 << " test1 " << ( d->mask & U_DRAW_FORCE)
1740 << " test4 " << !(d->mask & U_DRAW_ONLYTO)
1741 << " test5 " << ((d->mask & U_DRAW_ONLYTO) && !(emr_mask & U_DRAW_ONLYTO) )
1747 (d->mask & U_DRAW_VISIBLE) && // Current set of objects are drawable
1749 (d->mask & U_DRAW_FORCE) || // This draw is forced by STROKE/FILL/STROKEANDFILL PATH
1754 ( !(d->mask & U_DRAW_ONLYTO) ) || // Non *TO records cannot be followed by any Visible
1755 ((d->mask
[all...]
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...]
H A Dwmf-inout.cpp775 if (!d->dc[d->level].fill_set || ( d->mask & U_DRAW_NOFILL)) { // nofill are lines and arcs
1759 //std::cout << "BEFORE DRAW logic d->mask: " << std::hex << d->mask << " wmr_mask: " << wmr_mask << std::dec << std::endl;
1762 << " test0 " << ( d->mask & U_DRAW_VISIBLE)
1763 << " test1 " << ( d->mask & U_DRAW_FORCE)
1766 << " test4 " << !(d->mask & U_DRAW_ONLYTO)
1767 << " test5 " << ((d->mask & U_DRAW_ONLYTO) && !(wmr_mask & U_DRAW_ONLYTO) )
1773 (d->mask & U_DRAW_VISIBLE) && // This record is drawable
1775 (d->mask & U_DRAW_FORCE) || // This draw is forced by STROKE/FILL/STROKEANDFILL PATH
1779 ( !(d->mask
[all...]
H A Dcairo-render-context.h65 SPMask* mask; member in struct:Inkscape::Extension::Internal::CairoRenderState
/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 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 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 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 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 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...]
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;
/inkscape/src/ui/widget/
H A Dpreferences-widget.h213 void init(Glib::ustring const &prefs_path, bool mask);
223 bool mask, Glib::ustring const &default_string);
239 bool mask);
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/tools/
H A Dtool-base.h248 gint gobble_key_events(guint keyval, gint mask);
249 gint gobble_motion_events(gint mask);
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/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 ) {
/inkscape/src/2geom/
H A Dcoord.cpp905 int mask = 1;
906 while (power_exponent >= mask) mask <<= 1;
908 mask >>= 2;
913 while (mask != 0 && this_value <= max_32bits) {
917 if ((power_exponent & mask) != 0) {
927 mask >>= 1;
935 while (mask != 0) {
937 if ((power_exponent & mask) != 0) {
940 mask >>
[all...]
/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) {

Completed in 952 milliseconds

12