Searched refs:area (Results 1 - 25 of 99) sorted by relevance

1234

/inkscape/src/display/
H A Dsodipodi-ctrlrect.cpp101 Geom::IntRect area = *_area; local
102 Geom::IntRect area_w_shadow (area[X].min(), area[Y].min(),
103 area[X].max() + _shadow_size, area[Y].max() + _shadow_size);
111 cairo_rectangle(buf->ct, 0.5 + area[X].min(), 0.5 + area[Y].min(),
112 area[X].max() - area[X].min(), area[
[all...]
H A Ddrawing-surface.h33 explicit DrawingSurface(Geom::IntRect const &area);
38 Geom::Rect area() const;
66 explicit DrawingCache(Geom::IntRect const &area);
69 void markDirty(Geom::IntRect const &area = Geom::IntRect::infinite());
70 void markClean(Geom::IntRect const &area = Geom::IntRect::infinite());
73 void paintFromCache(DrawingContext &dc, Geom::OptIntRect &area);
80 void _dumpCache(Geom::OptIntRect const &area);
H A Ddrawing-group.h32 virtual unsigned _updateItem(Geom::IntRect const &area, UpdateContext const &ctx,
34 virtual unsigned _renderItem(DrawingContext &dc, Geom::IntRect const &area, unsigned flags,
36 virtual void _clipItem(DrawingContext &dc, Geom::IntRect const &area);
H A Ddrawing-group.cpp56 // mark the area where the object was for redraw.
69 DrawingGroup::_updateItem(Geom::IntRect const &area, UpdateContext const &ctx, unsigned flags, unsigned reset) argument
79 i->update(area, child_ctx, flags, reset);
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 Ddrawing-surface.cpp42 * will cover the area under the given rectangle.
44 DrawingSurface::DrawingSurface(Geom::IntRect const &area) argument
46 , _origin(area.min())
48 , _pixels(area.dimensions())
54 * will cover the area under the given rectangle. IT will contain
89 DrawingSurface::area() const function in class:Inkscape::DrawingSurface
175 DrawingCache::DrawingCache(Geom::IntRect const &area) argument
176 : DrawingSurface(area)
178 , _pending_area(area)
187 DrawingCache::markDirty(Geom::IntRect const &area) argument
193 markClean(Geom::IntRect const &area) argument
274 paintFromCache(DrawingContext &dc, Geom::OptIntRect &area) argument
313 _dumpCache(Geom::OptIntRect const &area) argument
339 _convertRect(Geom::IntRect const &area) argument
[all...]
H A Ddrawing-shape.h35 virtual unsigned _updateItem(Geom::IntRect const &area, UpdateContext const &ctx,
37 virtual unsigned _renderItem(DrawingContext &dc, Geom::IntRect const &area, unsigned flags,
39 virtual void _clipItem(DrawingContext &dc, Geom::IntRect const &area);
45 void _renderMarkers(DrawingContext &dc, Geom::IntRect const &area, unsigned flags,
H A Dnr-filter-offset.cpp84 void FilterOffset::area_enlarge(Geom::IntRect &area, Geom::Affine const &trans) argument
91 x0 = area.left();
92 y0 = area.top();
93 x1 = area.right();
94 y1 = area.bottom();
107 area = Geom::IntRect(x0, y0, x1, y1);
H A Ddrawing-text.h34 unsigned _updateItem(Geom::IntRect const &area, UpdateContext const &ctx,
64 virtual unsigned _updateItem(Geom::IntRect const &area, UpdateContext const &ctx,
66 virtual unsigned _renderItem(DrawingContext &dc, Geom::IntRect const &area, unsigned flags,
68 virtual void _clipItem(DrawingContext &dc, Geom::IntRect const &area);
H A Dnr-filter-tile.h29 virtual void area_enlarge(Geom::IntRect &area, Geom::Affine const &trans);
H A Dnr-filter-displacement-map.h30 virtual void area_enlarge(Geom::IntRect &area, Geom::Affine const &trans);
H A Dnr-filter-gaussian.h38 virtual void area_enlarge(Geom::IntRect &area, Geom::Affine const &m);
H A Dnr-filter-morphology.h35 virtual void area_enlarge(Geom::IntRect &area, Geom::Affine const &trans);
H A Dnr-filter-offset.h29 virtual void area_enlarge(Geom::IntRect &area, Geom::Affine const &trans);
H A Ddrawing-image.h38 virtual unsigned _updateItem(Geom::IntRect const &area, UpdateContext const &ctx,
40 virtual unsigned _renderItem(DrawingContext &dc, Geom::IntRect const &area, unsigned flags,
H A Ddrawing-shape.cpp79 DrawingShape::_updateItem(Geom::IntRect const &area, UpdateContext const &ctx, unsigned flags, unsigned reset) argument
87 i->update(area, ctx, flags, reset);
190 DrawingShape::_renderMarkers(DrawingContext &dc, Geom::IntRect const &area, unsigned flags, DrawingItem *stop_at) argument
194 i->render(dc, area, flags, stop_at);
199 DrawingShape::_renderItem(DrawingContext &dc, Geom::IntRect const &area, unsigned flags, DrawingItem *stop_at) argument
202 if (!area.intersects(_bbox)) return RENDER_OK; // skip if not within bounding box
221 _renderMarkers(dc, area, flags, stop_at);
255 _renderMarkers(dc, area, flags, stop_at);
270 _renderMarkers(dc, area, flags, stop_at);
280 void DrawingShape::_clipItem(DrawingContext &dc, Geom::IntRect const & /*area*/)
[all...]
H A Dnr-filter.cpp271 Geom::OptRect area(minp, maxp);
272 // std::cout << "Filter::filter_effect_area: area: " << *area << std::endl;
273 return area;
441 Geom::Rect const &area, Geom::Affine const &trans,
450 y_len = (_x_pixels * (area.max()[Y] - area.min()[Y]))
451 / (area.max()[X] - area.min()[X]);
456 Geom::Point origo = area
440 _filter_resolution( Geom::Rect const &area, Geom::Affine const &trans, FilterQuality const filterquality) const argument
[all...]
H A Ddrawing-item.cpp272 // mark the area where the object was for redraw.
513 * @param area Area to which the update should be restricted. Only takes effect
525 DrawingItem::update(Geom::IntRect const &area, UpdateContext const &ctx, unsigned flags, unsigned reset) argument
541 if (!area.intersects(outline ? _bbox : _drawbox)) return;
563 _state = _updateItem(area, child_ctx, flags, reset);
581 _clip->update(area, child_ctx, flags, reset);
590 _mask->update(area, child_ctx, flags, reset);
613 cr.cache_size = _cacheRect()->area() * 4;
645 _fill_pattern->update(area, child_ctx, flags, reset);
648 _stroke_pattern->update(area, child_ct
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
1052 _invalidateFilterBackground(Geom::IntRect const &area) argument
[all...]
H A Ddrawing-pattern.h59 virtual unsigned _updateItem(Geom::IntRect const &area, UpdateContext const &ctx,
H A Dnr-filter-convolve-matrix.h37 virtual void area_enlarge(Geom::IntRect &area, Geom::Affine const &trans);
H A Dnr-filter-diffuselighting.h37 virtual void area_enlarge(Geom::IntRect &area, Geom::Affine const &trans);
/inkscape/src/debug/
H A Dlog-display-config.cpp31 GdkRectangle area; local
32 gdk_screen_get_monitor_geometry(screen, monitor, &area);
33 _addProperty("x", area.x);
34 _addProperty("y", area.y);
35 _addProperty("width", area.width);
36 _addProperty("height", area.height);
/inkscape/src/ui/tools/
H A Ddropper-tool.cpp73 , area(NULL)
91 this->area = sp_canvas_bpath_new(this->desktop->getControls(), c);
95 sp_canvas_bpath_set_fill(SP_CANVAS_BPATH(this->area), 0x00000000,(SPWindRule)0);
96 sp_canvas_bpath_set_stroke(SP_CANVAS_BPATH(this->area), 0x0000007f, 1.0, SP_STROKE_LINEJOIN_MITER, SP_STROKE_LINECAP_BUTT);
97 sp_canvas_item_hide(this->area);
118 if (this->area) {
119 sp_canvas_item_destroy(this->area);
120 this->area = NULL;
213 sp_canvas_item_affine_absolute(this->area, sm);
214 sp_canvas_item_show(this->area);
220 Geom::IntRect area = r.roundOutwards(); local
228 Geom::IntRect area = Geom::IntRect::from_xywh(floor(event->button.x), floor(event->button.y), 1, 1); local
[all...]
/inkscape/src/2geom/
H A Dgeom.h51 int centroid(std::vector<Geom::Point> const &p, Geom::Point& centroid, double &area);
/inkscape/src/widgets/
H A Deek-preview.cpp361 GdkRectangle area = {possible.x, local
367 if ( area.width > area.height )
368 area.width = area.height;
369 if ( area.height > area.width )
370 area.height = area.width;
373 if ( area
[all...]
/inkscape/src/live_effects/
H A Dlpe-path_length.cpp65 // TODO: how can we compute the area (such that cw turns don't count negative)?
66 // should we display the area here, too, or write a new LPE for this?
69 double area; local
70 if (centroid(pwd2_in, c, area)) {
73 //g_print ("Area: %f\n", area);

Completed in 37 milliseconds

1234