Searched defs:area (Results 1 - 25 of 53) sorted by relevance

123

/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/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);
/inkscape/src/ui/tools/
H A Ddropper-tool.h58 SPCanvasItem* area; member in class:Inkscape::UI::Tools::DropperTool
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/display/
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 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 Dnr-filter-tile.cpp45 // This is the feTile source area as determined by the input primitive area (see SVG spec).
67 // Get tile area in pixbuf units (tile transformed).
92 // Do tiling (TO DO: restrict to slot area.)
115 void FilterTile::area_enlarge(Geom::IntRect &area, Geom::Affine const &trans) argument
118 area = Geom::IntRect::infinite();
H A Ddrawing-pattern.cpp40 // mark the area where the object was for redraw.
73 if (!_tile_rect || (_tile_rect->area() == 0)) {
152 // TODO investigate if area should be used.
153 unsigned DrawingPattern::_updateItem(Geom::IntRect const &area, UpdateContext const &ctx, unsigned flags, unsigned reset) argument
157 if (!_tile_rect || (_tile_rect->area() == 0)) {
169 //Fully correct solution should make use of visible area bbox and change hach tile rect
H A Dnr-filter-units.cpp53 void FilterUnits::set_filter_area(Geom::OptRect const &area) { argument
54 filter_area = area;
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 Dcanvas-bpath.cpp107 Geom::Rect area = buf->rect; local
123 feed_pathvector_to_cairo (buf->ct, cbp->curve->get_pathvector(), cbp->affine, area,
H A Dcanvas-arena.cpp45 static void sp_canvas_arena_request_render (SPCanvasArena *ca, Geom::IntRect const &area);
336 static void sp_canvas_arena_request_render(SPCanvasArena *ca, Geom::IntRect const &area) argument
339 canvas->requestRedraw(area.left(), area.top(), area.right(), area.bottom());
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 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.cpp160 Drawing::update(Geom::IntRect const &area, UpdateContext const &ctx, unsigned flags, unsigned reset) argument
163 _root->update(area, ctx, flags, reset);
170 Drawing::render(DrawingContext &dc, Geom::IntRect const &area, unsigned flags) argument
173 _root->render(dc, area, flags);
H A Dnr-filter-diffuselighting.cpp199 void FilterDiffuseLighting::area_enlarge(Geom::IntRect &area, Geom::Affine const & /*trans*/) argument
203 // We expand the area by 1 in every direction to avoid artifacts on tile edges.
205 area.expandBy(1);
H A Dnr-filter-displacement-map.cpp140 void FilterDisplacementMap::area_enlarge(Geom::IntRect &area, Geom::Affine const &trans) argument
149 area.expandBy(scalex+2, scaley+2);
H A Dnr-filter-image.cpp55 // Viewport is filter primitive area (in user coordinates).
102 Geom::Rect area = *optarea; local
106 double scaleX = feImageWidth / area.width();
107 double scaleY = feImageHeight / area.height();
118 Geom::IntRect render_rect = area.roundOutwards();
H A Dnr-filter-morphology.cpp220 void FilterMorphology::area_enlarge(Geom::IntRect &area, Geom::Affine const &trans) argument
225 area.expandBy(enlarge_x, enlarge_y);
H A Dnr-filter-slot.cpp235 void FilterSlot::set_primitive_area(int slot_nr, Geom::Rect &area) argument
240 _primitiveAreas[slot_nr] = area;
H A Dnr-filter-specularlighting.cpp214 void FilterSpecularLighting::area_enlarge(Geom::IntRect &area, Geom::Affine const & /*trans*/) argument
217 area.expandBy(1);
/inkscape/src/2geom/
H A Dconvex-hull.cpp151 double ConvexHull::area() const function in class:Geom::ConvexHull
290 * returns the area of the triangle defined by p0, p1, p2. A clockwise triangle has positive area.
406 * proposed algorithm: walk successive edges and require triangle area is positive.
H A Dcircle.h78 Coord area() const { return M_PI * _radius * _radius; } function in class:Geom::Circle
H A Dgeom.cpp355 * polyCentroid: Calculates the centroid (xCentroid, yCentroid) and area of a polygon, given its
357 * the vertex following (x[n-1], y[n-1]) is (x[0], y[0]). The algebraic sign of the area is
363 2 if area = 0 (and the centroid is undefined).
368 int centroid(std::vector<Geom::Point> const &p, Geom::Point& centroid, double &area) { argument
379 area = atmp / 2;
/inkscape/src/ui/cache/
H A Dsvg_preview_cache.cpp45 /* Find visible area */
53 Geom::IntRect area = Geom::IntRect::from_xywh( local
59 Inkscape::DrawingContext dc(s, area.min());
61 drawing.render(dc, area, Inkscape::DrawingItem::RENDER_BYPASS_CACHE);

Completed in 2137 milliseconds

123