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

12

/inkscape/src/
H A Dknot.h96 void setFill(guint32 normal, guint32 mouseover, guint32 dragging);
97 void setStroke(guint32 normal, guint32 mouseover, guint32 dragging);
98 void setImage(unsigned char* normal, unsigned char* mouseover, unsigned char* dragging);
100 void setCursor(GdkCursor* normal, GdkCursor* mouseover, GdkCursor* dragging);
152 * Set knot control state (dragging/mouseover/normal).
H A Dline-geometry.cpp38 normal = v_dir.ccw();
39 d0 = Geom::dot(normal, pt);
45 normal(line.normal),
53 normal = line.normal;
60 Geom::Coord denom = Geom::dot(v_dir, line.normal);
65 Geom::Coord lambda = (line.d0 - Geom::dot(pt, line.normal)) / denom;
72 normal = v_dir.ccw();
73 d0 = Geom::dot(normal, p
[all...]
H A Ddesktop-events.cpp61 void sp_dt_ruler_snap_new_guide(SPDesktop *desktop, SPCanvasItem *guide, Geom::Point &event_dt, Geom::Point &normal);
91 static Geom::Point normal; local
123 // calculate the normal of the guidelines when dragged from the edges of rulers.
133 // guidelines normal to gridlines
144 normal = normal_bl_to_tr;
146 normal = normal_tr_to_bl;
148 normal = Geom::Point(0.,1.);
152 normal = normal_bl_to_tr;
154 normal = normal_tr_to_bl;
156 normal
201 sp_guideline_set_normal(SP_GUIDELINE(guide), normal); local
745 sp_dt_ruler_snap_new_guide(SPDesktop *desktop, SPCanvasItem * , Geom::Point &event_dt, Geom::Point &normal) argument
[all...]
H A Dline-geometry.h40 /* If A is a point in the plane and n is the normal vector of the line then
43 return ((Geom::dot(A, normal) - d0) * (Geom::dot(B, normal) - d0)) > 0;
59 Geom::Point normal; member in class:Box3D::Line
H A Dknot.cpp508 void SPKnot::setFill(guint32 normal, guint32 mouseover, guint32 dragging) { argument
509 fill[SP_KNOT_STATE_NORMAL] = normal;
514 void SPKnot::setStroke(guint32 normal, guint32 mouseover, guint32 dragging) { argument
515 stroke[SP_KNOT_STATE_NORMAL] = normal;
520 void SPKnot::setImage(guchar* normal, guchar* mouseover, guchar* dragging) { argument
521 image[SP_KNOT_STATE_NORMAL] = normal;
526 void SPKnot::setCursor(GdkCursor* normal, GdkCursor* mouseover, GdkCursor* dragging) { argument
535 cursor[SP_KNOT_STATE_NORMAL] = normal;
537 if (normal) {
539 g_object_ref(normal);
[all...]
H A Dstyle-internal.h401 normal(true)
406 normal(true)
417 normal = true;
425 normal = rhs.normal;
436 bool normal : 1;
H A Dstyle-internal.cpp455 if ( !strcmp(str, "normal") ) {
460 normal = true;
463 normal = false;
476 if (this->normal) {
477 return (name + ":normal;");
489 normal = p->normal;
502 normal = p->normal;
512 if( normal
[all...]
H A Ddesktop-style.cpp1088 if (style->letter_spacing.normal) {
1097 if (style->word_spacing.normal) {
1112 if (style->line_height.normal) {
1177 style_res->letter_spacing.normal = letterspacing_normal;
1180 style_res->word_spacing.normal = wordspacing_normal;
1183 style_res->line_height.normal = lineheight_normal;
1746 // defaults to blend mode = "normal"
/inkscape/src/display/
H A Dcairo-templates.h475 // compute surface normal at given coordinates using 3x3 Sobel gradient filter
480 NR::Fvector normal; local
482 normal[Z_3D] = 1.0;
491 normal[X_3D] =
494 normal[Y_3D] =
503 normal[X_3D] =
506 normal[Y_3D] =
516 normal[X_3D] =
520 normal[Y_3D] =
533 normal[X_3
[all...]
H A Dguideline.h52 SPCanvasItem *sp_guideline_new(SPCanvasGroup *parent, char* label, Geom::Point point_on_line, Geom::Point normal);
H A Dnr-filter-diffuselighting.cpp54 NR::Fvector normal = surfaceNormalAt(x, y, _scale); local
55 double k = _kd * NR::scalar_product(normal, light);
H A Dnr-filter-specularlighting.cpp56 NR::Fvector normal = surfaceNormalAt(x, y, _scale); local
57 double sp = NR::scalar_product(normal, halfway);
H A Dguideline.cpp209 SPCanvasItem *sp_guideline_new(SPCanvasGroup *parent, char* label, Geom::Point point_on_line, Geom::Point normal) argument
214 normal.normalize();
217 gl->normal_to_line = normal;
/inkscape/src/2geom/
H A Delliptical-arc-from-sbasis.cpp137 // versor and the ellipse normal versor at the sample points
154 * the second one computes the normal versor at a given point of an ellipse
175 Point normal(double x, double y) const function in struct:Geom::detail::ellipse_equation
181 Point normal(Point const& p) const function in struct:Geom::detail::ellipse_equation
183 return normal(p[X], p[Y]);
218 // and the normal versor of the elliptical arc, both evaluate
220 angle_err = std::fabs( dot( dcurve(k/partitions), ee.normal(p[k]) ) );
H A Dline.h104 /// Create a line normal to a vector at a specified distance from origin.
316 /** @brief Get a unit vector normal to the line.
317 * If Y grows upwards, then this is the left normal. If Y grows downwards,
318 * then this is the right normal. */
319 Point normal() const { function in class:Geom::Line
325 Point n = normal();
/inkscape/packaging/macosx/Resources/etc/fonts/
H A Dfonts.conf12 most environments. If you have a reasonably normal environment and
17 Note that the normal 'make install' procedure for fontconfig is to
/inkscape/src/ui/dialog/
H A Dguides.cpp95 Geom::Point normal; local
97 normal = Geom::Point(1.,0.);
99 normal = Geom::Point(0.,1.);
102 normal = Geom::rot90(Geom::Point::polar(rad_angle, 1.0));
107 _guide->set_normal(normal, true);
/inkscape/src/ui/tool/
H A Dcontrol-point.cpp33 {0xffffff00, 0x01000000}, // normal fill, stroke
37 {0x0000ffff, 0x000000ff}, // normal fill, stroke when selected
81 "filled", TRUE, "fill_color", _cset.normal.fill,
82 "stroked", TRUE, "stroke_color", _cset.normal.stroke,
102 "filled", TRUE, "fill_color", _cset.normal.fill,
103 "stroked", TRUE, "stroke_color", _cset.normal.stroke,
419 _clearMouseover(); // this will also reset state to normal
552 current = activeCset.normal;
H A Dcontrol-point.h210 ColorEntry normal; member in struct:Inkscape::UI::ControlPoint::ColorSet
303 * Alters the appearance of the knot to match one of the states: normal, mouseover
/inkscape/src/widgets/
H A Dege-select-one-action.cpp755 GtkWidget *normal; local
758 normal = gtk_combo_box_new_with_model_and_entry (act->private_data->model);
759 gtk_combo_box_set_entry_text_column (GTK_COMBO_BOX (normal), act->private_data->labelColumn);
761 GtkWidget *child = gtk_bin_get_child( GTK_BIN(normal) );
783 normal = gtk_combo_box_new_with_model( act->private_data->model );
786 gtk_cell_layout_pack_start( GTK_CELL_LAYOUT(normal), renderer, TRUE );
789 gtk_cell_layout_add_attribute( GTK_CELL_LAYOUT(normal), renderer, "stock-id", act->private_data->iconColumn );
793 gtk_cell_layout_pack_start( GTK_CELL_LAYOUT(normal), renderer, TRUE );
794 gtk_cell_layout_add_attribute( GTK_CELL_LAYOUT(normal), renderer, "text", act->private_data->labelColumn );
797 gtk_combo_box_set_active( GTK_COMBO_BOX(normal), ac
804 g_object_set_data( G_OBJECT(holder), "ege-combo-box", normal ); local
805 g_object_set_data( G_OBJECT(act), "ege-combo-box", normal ); local
818 gtk_box_pack_start( GTK_BOX(holder), normal, FALSE, FALSE, 0 ); local
[all...]
/inkscape/src/live_effects/parameter/
H A Dpowerstrokepointarray.cpp77 Geom::Piecewise<Geom::D2<Geom::SBasis> > normal = rot90(unitVector(derivative(pwd2_in))); local
83 double offset = dot(position - pwd2_in.valueAt(t), normal.valueAt(t));
/inkscape/src/helper/
H A Dgeom-pathstroke.cpp53 Geom::Point normal = unitTangentAt(curve, t).cw(); local
55 Geom::Point center = curve(t) + radius*normal;
73 Geom::Point normal; local
82 normal = Geom::Point(curve[1] - curve[0]).cw();
83 normal.normalize();
84 // std::cout << "Start k: " << k << " d: " << distance << " normal: " << normal << std::endl;
93 normal = Geom::Point(curve[3] - curve[2]).cw();
94 normal.normalize();
95 // std::cout << "End k: " << k << " d: " << distance << " normal
[all...]
/inkscape/src/ui/tools/
H A Dmeasure-tool.cpp111 void repositionOverlappingLabels(std::vector<LabelPlacement> &placements, SPDesktop *desktop, Geom::Point const &normal, double fontsize, int precision) argument
143 place.end = place.start - desktop->w2d(normal * place.offset);
945 sp_repr_css_set_property (css, "font-style", "normal");
946 sp_repr_css_set_property (css, "font-weight", "normal");
1220 Geom::Point normal = desktop->w2d(windowNormal); local
1246 placement.end = placement.start - (normal * placement.offset);
1275 Geom::Point origin = desktop->doc2dt((intersections[0] + intersections[intersections.size()-1])/2) + normal * dimension_offset;
1320 setMeasureCanvasControlLine(desktop->doc2dt(intersections[0]) + normal * dimension_offset, desktop->doc2dt(intersections[intersections.size() - 1]) + normal * dimension_offset, to_item, to_phantom, CTLINE_PRIMARY , measure_repr);
1322 setMeasureCanvasControlLine(desktop->doc2dt(intersections[0]), desktop->doc2dt(intersections[0]) + normal * dimension_offse
[all...]
/inkscape/src/live_effects/
H A Dlpe-powerstroke.cpp120 Geom::Point normal = unitTangentAt(curve, t).cw(); local
122 Geom::Point center = curve(t) + radius*normal;
/inkscape/src/libnrtype/
H A DLayout-TNG-OutIter.cpp322 Geom::Point normal = tangent.cw(); local
323 top_left += span.baseline_shift * normal;
324 bottom_right += span.baseline_shift * normal;

Completed in 3182 milliseconds

12