Searched refs:angle (Results 1 - 25 of 102) sorted by relevance

12345

/macosx-10.10.1/pyobjc-45/2.5/pyobjc/pyobjc-framework-Cocoa/Lib/PyObjCTools/
H A DFndCategories.py10 def rotateByDegrees_atPoint_(self, angle, point):
12 Rotate the coordinatespace ``angle`` degrees around
15 self.rotateByDegrees_(angle)
18 tf.rotateByDegrees_(-angle)
24 def rotateByRadians_atPoint_(self, angle, point):
26 Rotate the coordinatespace ``angle`` radians around
29 self.rotateByRadians_(angle)
32 tf.rotateByRadians_(-angle)
/macosx-10.10.1/pyobjc-45/2.6/pyobjc/pyobjc-framework-Cocoa/Lib/PyObjCTools/
H A DFndCategories.py10 def rotateByDegrees_atPoint_(self, angle, point):
12 Rotate the coordinatespace ``angle`` degrees around
15 self.rotateByDegrees_(angle)
18 tf.rotateByDegrees_(-angle)
24 def rotateByRadians_atPoint_(self, angle, point):
26 Rotate the coordinatespace ``angle`` radians around
29 self.rotateByRadians_(angle)
32 tf.rotateByRadians_(-angle)
/macosx-10.10.1/pyobjc-45/pyobjc/pyobjc-framework-Cocoa-2.5.1/Lib/PyObjCTools/
H A DFndCategories.py10 def rotateByDegrees_atPoint_(self, angle, point):
12 Rotate the coordinatespace ``angle`` degrees around
15 self.rotateByDegrees_(angle)
18 tf.rotateByDegrees_(-angle)
24 def rotateByRadians_atPoint_(self, angle, point):
26 Rotate the coordinatespace ``angle`` radians around
29 self.rotateByRadians_(angle)
32 tf.rotateByRadians_(-angle)
/macosx-10.10.1/tcl-105/tcl_ext/tklib/tklib/modules/diagrams/
H A Ddirection.tcl13 # Standard attributes are 'angle' and 'oppposite', the first providing
14 # the angle of the direction, in degrees (0-360, 0 == right/east, 90
50 } elseif {![dict exists $args angle]} {
51 return -code error "Standard attribute 'angle' is missing"
58 # Should either check the angle, or auto-reduce to the proper
86 ## Public API :: Validate directions, either as explict angle, or named.
87 ## and return it normalized (angle reduced to
91 if {[Norm $direction angle]} { return $angle }
100 if {[Norm $d angle]} { retur
[all...]
H A Dpoint.tcl70 proc ::diagram::point::by {distance angle} {
71 return [list by [list $distance $angle]]
170 lassign $polar distance angle
171 return [geo::s* $distance [geo::direction $angle]]
/macosx-10.10.1/WebInspectorUI-7600.1.17/UserInterface/Models/
H A DGradient.js42 console.error("Couldn't parse angle \"" + typeString + "\"");
145 WebInspector.LinearGradient = function(angle, stops)
148 this.angle = angle;
154 var angle = 180;
157 angle = (parseFloat(components[0][0]) % 360 + 360) % 360;
163 angle = 0;
166 angle = 45;
169 angle = 90;
172 angle
[all...]
/macosx-10.10.1/ruby-106/ruby/ext/tk/sample/tkextlib/vu/
H A Dpie.rb14 configure(:angle=>10, :origin=>90, :shadow=>10)
36 :x=>0, :y=>0, :pie_in=>false, :angle=>pie[:angle], :origin=>pie[:origin]
43 priv[:angle] = w[:angle]
49 w.configure(:angle=>priv[:angle] + (priv[:y] - y)/3,
/macosx-10.10.1/WebInspectorUI-7600.1.17/UserInterface/Controllers/
H A DCodeMirrorGradientEditingController.js141 this._angleInput.value = this.value.angle + "\u00B0";
176 // Ensure the angle input is not focused since, if it were, it'd make a scrollbar appear as we
185 var angle = parseFloat(this._angleInput.value) + amount;
186 if (Math.round(angle) !== angle)
187 angle = angle.toFixed(1);
189 this._angleInput.value = angle;
190 this._angleInputValueDidChange(angle);
197 var angle
[all...]
/macosx-10.10.1/pyobjc-45/2.5/pyobjc/pyobjc-framework-Cocoa/Examples/AppKit/Grady/
H A DMyWindowController.py9 angle = objc.IBOutlet() variable in class:MyWindowController
20 # make sure our angle text input keep the right format
23 self.angle.cell().setFormatter_(formatter)
35 # setup the initial angle value
38 self.angle.setStringValue_("90.0")
70 theAngle = self.angle.floatValue()
74 theAngleDougle = self.angle.doubleValue()
83 self.angle.setDoubleValue_(angleValue)
90 # angle factor does not relate to radial draws
92 self.angle
[all...]
H A DMyBaseGradientView.py35 def setAngle_(self, angle):
36 self.myAngle = angle
/macosx-10.10.1/pyobjc-45/2.6/pyobjc/pyobjc-framework-Cocoa/Examples/AppKit/Grady/
H A DMyWindowController.py9 angle = objc.IBOutlet() variable in class:MyWindowController
20 # make sure our angle text input keep the right format
23 self.angle.cell().setFormatter_(formatter)
35 # setup the initial angle value
38 self.angle.setStringValue_("90.0")
70 theAngle = self.angle.floatValue()
74 theAngleDougle = self.angle.doubleValue()
83 self.angle.setDoubleValue_(angleValue)
90 # angle factor does not relate to radial draws
92 self.angle
[all...]
H A DMyBaseGradientView.py35 def setAngle_(self, angle):
36 self.myAngle = angle
/macosx-10.10.1/pyobjc-45/pyobjc/pyobjc-framework-Cocoa-2.5.1/Examples/AppKit/Grady/
H A DMyWindowController.py9 angle = objc.IBOutlet() variable in class:MyWindowController
20 # make sure our angle text input keep the right format
23 self.angle.cell().setFormatter_(formatter)
35 # setup the initial angle value
38 self.angle.setStringValue_("90.0")
70 theAngle = self.angle.floatValue()
74 theAngleDougle = self.angle.doubleValue()
83 self.angle.setDoubleValue_(angleValue)
90 # angle factor does not relate to radial draws
92 self.angle
[all...]
H A DMyBaseGradientView.py35 def setAngle_(self, angle):
36 self.myAngle = angle
/macosx-10.10.1/tcl-105/tcl_ext/tklib/tklib/modules/controlwidget/
H A Dtachometer.tcl169 set angle 110.0
172 set a [expr {($angle+$delta*$i)*$pi}]
267 set angle [expr {((($v-$min)/($max-$min))*320.0+20.0)*$pi}]
273 set xl [expr {$half-$length*sin($angle)}]
274 set yl [expr {$half+$length*cos($angle)}]
276 set xs [expr {$half+0.2*$length*sin($angle)}]
277 set ys [expr {$half-0.2*$length*cos($angle)}]
301 # Compute the angle with the positive y-axis - easier to examine!
303 set angle [expr {atan2($xc - $x,$yc - $y) / $pi}]
304 if { $angle >
[all...]
H A Dvoltmeter.tcl124 set angle 255.0
130 set a [expr {($angle+$delta*$i)*$pi}]
236 set angle [expr {((($v-$min)/(1.0*($max-$min)))*30.0+165.0)*$pi}]
244 set xl [expr {$xcentre-$l1*sin($angle)}]
245 set yl [expr {$ycentre+$l1*cos($angle)}]
246 set xs [expr {$xcentre-$l2*sin($angle)}]
247 set ys [expr {$ycentre+$l2*cos($angle)}]
271 # Compute the angle with the positive y-axis - easier to examine!
273 set angle [expr {atan2($xc - $x,$yc - $y) / $pi}]
274 if { $angle >
[all...]
/macosx-10.10.1/tcl-105/tcl_ext/tklib/tklib/examples/diagrams/
H A Ddraw_chemical.tcl30 proc bond { {angle 0} {item {}} } {
34 switch -- $angle {
51 line $side $angle
/macosx-10.10.1/Chess-310.6/Sources/
H A DMBCBoardViewMouse.mm455 float angle = fmod((fAzimuth = fRawAzimuth), 90.0f);
456 if (angle < kAzimuthRound)
457 fAzimuth -= angle;
458 else if (angle > 90.0f-kAzimuthRound)
459 fAzimuth += 90.0f-angle;
476 float angle = fmod((fAzimuth = fRawAzimuth), 90.0f);
477 if (angle < kAzimuthRound)
478 fAzimuth -= angle;
479 else if (angle > 90.0f-kAzimuthRound)
480 fAzimuth += 90.0f-angle;
[all...]
/macosx-10.10.1/tcl-105/tcl_ext/tklib/tklib/examples/plotchart/
H A Dplotdemos7.tcl104 for { set angle 0 } { $angle < 360.0 } { set angle [expr {$angle+10.0}] } {
105 set rad [expr {1.0+cos($angle*$::Plotchart::torad)}]
106 $s plot "cardioid" $rad $angle
/macosx-10.10.1/tcl-105/tcl_ext/tklib/tklib/modules/plotchart/
H A Dplotbind.tcl127 set angle [expr {3.1415926*($angle_bgn+$angle_ext/2.0)/180.0}]
128 set dx [expr { 15 * cos($angle)}]
129 set dy [expr {-15 * sin($angle)}]
/macosx-10.10.1/pyobjc-45/2.5/pyobjc/pyobjc-framework-Cocoa/Examples/AppKit/CocoaBindings/GraphicsBindings/
H A DJoystickView.py21 angle = ivar(u"angle")#, 'd') # expect angle in degrees variable in class:JoystickView
50 self.angle = 28.0
59 if bindingName == u"angle":
86 if bindingName == u"angle":
108 # angle changed
111 # then note we have a bad angle
127 self.setValue_forKey_(newAngle, u"angle")
172 # this allows offsets to remain constant, but change angle
[all...]
/macosx-10.10.1/pyobjc-45/2.6/pyobjc/pyobjc-framework-Cocoa/Examples/AppKit/CocoaBindings/GraphicsBindings/
H A DJoystickView.py21 angle = ivar(u"angle")#, 'd') # expect angle in degrees variable in class:JoystickView
50 self.angle = 28.0
59 if bindingName == u"angle":
86 if bindingName == u"angle":
108 # angle changed
111 # then note we have a bad angle
127 self.setValue_forKey_(newAngle, u"angle")
172 # this allows offsets to remain constant, but change angle
[all...]
/macosx-10.10.1/pyobjc-45/pyobjc/pyobjc-framework-Cocoa-2.5.1/Examples/AppKit/CocoaBindings/GraphicsBindings/
H A DJoystickView.py21 angle = ivar(u"angle")#, 'd') # expect angle in degrees variable in class:JoystickView
50 self.angle = 28.0
59 if bindingName == u"angle":
86 if bindingName == u"angle":
108 # angle changed
111 # then note we have a bad angle
127 self.setValue_forKey_(newAngle, u"angle")
172 # this allows offsets to remain constant, but change angle
[all...]
/macosx-10.10.1/ruby-106/ruby/ext/tk/sample/tkextlib/tcllib/
H A Dplotdemos1.rb72 0.step(359, 10){|angle|
73 rad = 1.0+Math.cos(angle*Math::PI/180.0)
74 s.plot('cardioid', rad, angle)
/macosx-10.10.1/pyobjc-45/2.5/pyobjc/pyobjc-framework-Quartz/Examples/Programming with Quartz/ConfidentialStamper/
H A DConfidentialStamper.py81 # Compute angle of the diagonal across the destination page.
82 angle = math.atan(pageRect.size.height/pageRect.size.width)
85 CGContextRotateCTM(context, angle)

Completed in 230 milliseconds

12345