Lines Matching refs:direction
165 void step(unsigned &level, unsigned &idx, int &direction){
166 if ( direction % 2 == 0 ){
167 if (direction == 0) {
180 direction += 1;
187 direction = (direction + 1)%4;
234 top_tgt_variation(_("Parallelism jitter: 1st side:"), _("Add direction randomness by moving 'bottom' half-turns tangentially to the boundary."), "bottom_tgt_variation", &wr, this, 0),
235 bot_tgt_variation(_("2nd side:"), _("Add direction randomness by randomly moving 'top' half-turns tangentially to the boundary."), "top_tgt_variation", &wr, this, 0),
247 direction(_("Hatches width and dir"), _("Defines hatches frequency and direction"), "direction", &wr, this, Geom::Point(50,0)),
249 bender(_("Global bending"), _("Relative position to a reference point defines global bending direction and amount"), "bender", &wr, this, Geom::Point(-5,0))
251 registerParameter( dynamic_cast<Parameter *>(&direction) );
280 // hide the widgets for direction and bender vectorparams
281 direction.widget_is_visible = false;
283 // give distinguishing colors to direction and bender on-canvas params
284 direction.set_oncanvas_color(0x00ff7d00);
311 Point transformed_org = direction.getOrigin();
327 hatch_dist = Geom::L2(direction.getVector())/5;
328 Point hatches_dir = rot90(unit_vector(direction.getVector()));
573 //direction.set_and_write_new_values(origin, vector);
575 direction.set_and_write_new_values(origin + Geom::Point(0,-5), vector);