/inkscape/src/ui/ |
H A D | draw-anchor.cpp | 32 SPDrawAnchor *sp_draw_anchor_new(Inkscape::UI::Tools::FreehandBase *dc, SPCurve *curve, bool start, Geom::Point delta) argument 34 if (SP_IS_LPETOOL_CONTEXT(dc)) { 41 a->dc = dc; 47 a->ctrl = ControlManager::getManager().createControl(dc->getDesktop().getControls(), Inkscape::CTRL_TYPE_ANCHOR); 79 if ( activate && ( Geom::LInfty( w - anchor->dc->getDesktop().d2w(anchor->dp) ) <= (ctrl->box.width() / 2.0) ) ) {
|
H A D | draw-anchor.h | 26 Inkscape::UI::Tools::FreehandBase *dc; member in struct:SPDrawAnchor 35 SPDrawAnchor *sp_draw_anchor_new(Inkscape::UI::Tools::FreehandBase *dc, SPCurve *curve, bool start,
|
/inkscape/src/display/ |
H A D | drawing-group.cpp | 93 DrawingGroup::_renderItem(DrawingContext &dc, Geom::IntRect const &area, unsigned flags, DrawingItem *stop_at) argument 98 i->render(dc, area, flags, stop_at); 106 i->render(dc, area, flags | RENDER_FILTER_BACKGROUND, stop_at); 110 i->render(dc, area, flags, stop_at); 118 DrawingGroup::_clipItem(DrawingContext &dc, Geom::IntRect const &area) argument 121 i->clip(dc, area);
|
H A D | nr-style.cpp | 344 bool NRStyle::prepareFill(Inkscape::DrawingContext &dc, Geom::OptRect const &paintbox, Inkscape::DrawingPattern *pattern) argument 353 fill_pattern = fill.server->pattern_new(dc.raw(), paintbox, fill.opacity); 370 void NRStyle::applyFill(Inkscape::DrawingContext &dc) argument 372 dc.setSource(fill_pattern); 373 dc.setFillRule(fill_rule); 376 bool NRStyle::prepareTextDecorationFill(Inkscape::DrawingContext &dc, Geom::OptRect const &paintbox, Inkscape::DrawingPattern *pattern) argument 386 text_decoration_fill_pattern = text_decoration_fill.server->pattern_new(dc.raw(), 402 void NRStyle::applyTextDecorationFill(Inkscape::DrawingContext &dc) argument 404 dc.setSource(text_decoration_fill_pattern); 408 bool NRStyle::prepareStroke(Inkscape::DrawingContext &dc, Geo argument 433 applyStroke(Inkscape::DrawingContext &dc) argument 443 prepareTextDecorationStroke(Inkscape::DrawingContext &dc, Geom::OptRect const &paintbox, Inkscape::DrawingPattern *pattern) argument 468 applyTextDecorationStroke(Inkscape::DrawingContext &dc) argument [all...] |
H A D | drawing-context.cpp | 30 DrawingContext::Save::Save(DrawingContext &dc) argument 31 : _dc(&dc) 41 void DrawingContext::Save::save(DrawingContext &dc) argument 47 _dc = &dc;
|
H A D | drawing-image.cpp | 96 unsigned DrawingImage::_renderItem(DrawingContext &dc, Geom::IntRect const &/*area*/, unsigned /*flags*/, DrawingItem * /*stop_at*/) argument 106 Inkscape::DrawingContext::Save save(dc); 107 dc.transform(_ctm); 108 dc.newPath(); 109 dc.rectangle(_clipbox); 110 dc.clip(); 112 dc.translate(_origin); 113 dc.scale(_scale); 114 dc.setSource(_pixbuf->getSurfaceRaw(), 0, 0); 126 dc [all...] |
H A D | drawing-shape.cpp | 156 DrawingShape::_renderFill(DrawingContext &dc) argument 158 Inkscape::DrawingContext::Save save(dc); 159 dc.transform(_ctm); 161 bool has_fill = _nrstyle.prepareFill(dc, _item_bbox, _fill_pattern); 164 dc.path(_curve->get_pathvector()); 165 _nrstyle.applyFill(dc); 166 dc.fillPreserve(); 167 dc.newPath(); // clear path 172 DrawingShape::_renderStroke(DrawingContext &dc) argument 174 Inkscape::DrawingContext::Save save(dc); 190 _renderMarkers(DrawingContext &dc, Geom::IntRect const &area, unsigned flags, DrawingItem *stop_at) argument 199 _renderItem(DrawingContext &dc, Geom::IntRect const &area, unsigned flags, DrawingItem *stop_at) argument 280 _clipItem(DrawingContext &dc, Geom::IntRect const & ) argument [all...] |
H A D | drawing-surface.cpp | 274 DrawingCache::paintFromCache(DrawingContext &dc, Geom::OptIntRect &area) argument 303 dc.rectangle(_convertRect(tmp)); 305 dc.setSource(this); 306 dc.fill(); 317 DrawingContext dc(surface, _origin); 319 Inkscape::DrawingContext::Save save(dc); 324 dc.rectangle(_convertRect(tmp)); 326 dc.setSource(0,1,0,0.1); 327 dc.fill(); 329 dc [all...] |
H A D | drawing.cpp | 170 Drawing::render(DrawingContext &dc, Geom::IntRect const &area, unsigned flags) argument 173 _root->render(dc, area, flags); 178 cairo_surface_t *input = dc.rawTarget(); 181 Geom::Point origin = dc.targetLogicalBounds().min(); 182 dc.setSource(out, origin[Geom::X], origin[Geom::Y]); 183 dc.setOperator(CAIRO_OPERATOR_SOURCE); 184 dc.paint(); 185 dc.setOperator(CAIRO_OPERATOR_OVER);
|
H A D | drawing-item.cpp | 29 void set_cairo_blend_operator( DrawingContext &dc, unsigned blend_mode ) { argument 36 dc.setOperator(CAIRO_OPERATOR_MULTIPLY); 39 dc.setOperator(CAIRO_OPERATOR_SCREEN); 42 dc.setOperator(CAIRO_OPERATOR_DARKEN); 45 dc.setOperator(CAIRO_OPERATOR_LIGHTEN); 48 dc.setOperator(CAIRO_OPERATOR_OVERLAY); 51 dc.setOperator(CAIRO_OPERATOR_COLOR_DODGE); 54 dc.setOperator(CAIRO_OPERATOR_COLOR_BURN); 57 dc.setOperator(CAIRO_OPERATOR_HARD_LIGHT); 60 dc 679 render(DrawingContext &dc, Geom::IntRect const &area, unsigned flags, DrawingItem *stop_at) argument 864 _renderOutline(DrawingContext &dc, Geom::IntRect const &area, unsigned flags) argument 900 clip(Inkscape::DrawingContext &dc, Geom::IntRect const &area) argument [all...] |
H A D | drawing-text.cpp | 263 void DrawingText::decorateStyle(DrawingContext &dc, double vextent, double xphase, Geom::Point const &p1, Geom::Point const &p2, double thickness) argument 297 dc.rectangle( Geom::Rect(ps + poff, pf - poff)); 300 dc.rectangle( Geom::Rect(ps + poff, pf - poff)); 319 dc.rectangle( Geom::Rect(pvlast + poff, pf - poff)); 322 dc.rectangle( Geom::Rect(pvlast + poff, pv - poff)); 344 dc.rectangle( Geom::Rect(pvlast + poff, pf - poff)); 347 dc.rectangle( Geom::Rect(pvlast + poff, pv - poff)); 362 dc.moveTo(Geom::Point(x, y + amp * wave[i])); 366 dc.lineTo(Geom::Point(x, y + amp * wave[i])); 370 dc 385 decorateItem(DrawingContext &dc, double phase_length, bool under) argument 441 _renderItem(DrawingContext &dc, Geom::IntRect const & , unsigned , DrawingItem * ) argument 650 _clipItem(DrawingContext &dc, Geom::IntRect const & ) argument [all...] |
/inkscape/src/2geom/ |
H A D | nearest-time.cpp | 99 * The needed curve derivative "dc" is passed as parameter. 105 D2<SBasis> const& dc, 114 SBasis dd = dot(c - p, dc); 138 * The needed curve derivative "dc" is passed as parameter. 144 D2<SBasis> const &dc, 159 SBasis dd = dot(c - p, dc); 103 nearest_time(Point const& p, D2<SBasis> const& c, D2<SBasis> const& dc, double from, double to ) argument 142 all_nearest_times(Point const &p, D2<SBasis> const &c, D2<SBasis> const &dc, double from, double to) argument
|
/inkscape/src/extension/internal/bitmap/ |
H A D | imagemagick.cpp | 159 ImageMagickDocCache * dc = dynamic_cast<ImageMagickDocCache *>(docCache); local 160 if (dc == NULL) { // should really never happen 165 for (int i = 0; i < dc->_imageCount; i++) 169 Magick::Image effectedImage = *dc->_images[i]; // make a copy 175 postEffect(&effectedImage, dc->_imageItems[i]); 177 // dc->_nodes[i]->setAttribute("xlink:href", dc->_caches[i], true); 187 if (new_len > dc->_cacheLengths[i]) { 188 dc->_cacheLengths[i] = (int)(new_len * 1.2); 189 dc [all...] |
/inkscape/src/extension/internal/ |
H A D | emf-inout.h | 116 // dc: array, structure w/ constructor 142 EMF_DEVICE_CONTEXT dc[EMF_MAX_DC+1]; // FIXME: This should be dynamic.. member in struct:Inkscape::Extension::Internal::emf_callback_data
|
H A D | wmf-inout.h | 116 // dc: array, structure w/ constructor 140 WMF_DEVICE_CONTEXT dc[WMF_MAX_DC+1]; // FIXME: This should be dynamic.. member in struct:Inkscape::Extension::Internal::wmf_callback_data
|
/inkscape/src/ui/widget/ |
H A D | color-slider.cpp | 37 static const guchar *sp_color_slider_render_gradient(gint x0, gint y0, gint width, gint height, gint c[], gint dc[], 448 gint c[4], dc[4]; local 456 dc[i] = ((_cm[i] << 16) - c[i]) / (carea.get_width() / 2); 459 const guchar *b = sp_color_slider_render_gradient(0, 0, wi, carea.get_height(), c, dc, _b0, _b1, _bmask); 475 dc[i] = ((_c1[i] << 16) - c[i]) / (carea.get_width() / 2); 478 const guchar *b = sp_color_slider_render_gradient(carea.get_width() / 2, 0, wi, carea.get_height(), c, dc, 535 static const guchar *sp_color_slider_render_gradient(gint x0, gint y0, gint width, gint height, gint c[], gint dc[], argument 578 r += dc[0]; 579 g += dc[1]; 580 b += dc[ [all...] |
/inkscape/src/extension/implementation/ |
H A D | script.cpp | 655 ScriptDocCache * dc = dynamic_cast<ScriptDocCache *>(docCache); local 656 if (dc == NULL) { 745 int data_read = execute(command, params, dc->_filename, fileout);
|
/inkscape/src/ui/dialog/ |
H A D | color-item.cpp | 199 static void colorItemDragBegin( GtkWidget */*widget*/, GdkDragContext* dc, gpointer data ) argument 221 gtk_drag_set_icon_pixbuf( dc, pixbuf, 0, 0 ); 244 gtk_drag_set_icon_pixbuf( dc, pixbuf, 0, 0 );
|
H A D | filedialogimpl-win32.cpp | 737 HDC dc = BeginPaint(hwnd, &paint_struct); local 741 HFONT hOldFont = static_cast<HFONT>(SelectObject(dc, hCaptionFont)); 742 SetBkMode(dc, TRANSPARENT); 750 FillRect(dc, &rcClient, reinterpret_cast<HBRUSH>(COLOR_3DFACE + 1)); 751 DrawTextW(dc, noFileText, -1, &rcClient, 762 HDC hSrcDC = CreateCompatibleDC(dc); 765 BitBlt(dc, destX, 0, bitmap.bmWidth, bitmap.bmHeight, 778 FillRgn(dc, hEraseRgn, GetSysColorBrush(COLOR_3DFACE)); 792 DrawTextW(dc, szCaption, iLength, &rcCaptionRect, 797 FillRect(dc, 1368 HDC dc = GetDC(_preview_wnd); local [all...] |
/inkscape/src/ui/tools/ |
H A D | freehand-base.cpp | 64 static void spdc_selection_changed(Inkscape::Selection *sel, FreehandBase *dc); 65 static void spdc_selection_modified(Inkscape::Selection *sel, guint flags, FreehandBase *dc); 67 static void spdc_attach_selection(FreehandBase *dc, Inkscape::Selection *sel); 75 static void spdc_flush_white(FreehandBase *dc, SPCurve *gc); 77 static void spdc_reset_white(FreehandBase *dc); 78 static void spdc_free_colors(FreehandBase *dc); 213 static Glib::ustring const tool_name(FreehandBase *dc) argument 215 return ( SP_IS_PEN_CONTEXT(dc) 220 static void spdc_paste_curve_as_freehand_shape(Geom::PathVector const &newpath, FreehandBase *dc, SPItem *item) argument 226 Effect::createAndApply(PATTERN_ALONG_PATH, dc 231 spdc_apply_powerstroke_shape(const std::vector<Geom::Point> & points, FreehandBase *dc, SPItem *item) argument 273 spdc_apply_bend_shape(gchar const *svgd, FreehandBase *dc, SPItem *item) argument 292 spdc_apply_simplify(std::string threshold, FreehandBase *dc, SPItem *item) argument 310 spdc_check_for_and_apply_waiting_LPE(FreehandBase *dc, SPItem *item, SPCurve *curve) argument 530 spdc_selection_changed(Inkscape::Selection *sel, FreehandBase *dc) argument 539 spdc_selection_modified(Inkscape::Selection *sel, guint , FreehandBase *dc) argument 546 spdc_attach_selection(FreehandBase *dc, Inkscape::Selection * ) argument 645 spdc_concat_colors_and_flush(FreehandBase *dc, gboolean forceclosed) argument 763 spdc_flush_white(FreehandBase *dc, SPCurve *gc) argument 847 spdc_test_inside(FreehandBase *dc, Geom::Point p) argument 865 spdc_reset_white(FreehandBase *dc) argument 881 spdc_free_colors(FreehandBase *dc) argument [all...] |