|
@@ -3620,7 +3620,7 @@ $core.addMethod(
|
|
$core.method({
|
|
$core.method({
|
|
selector: "arcTan:",
|
|
selector: "arcTan:",
|
|
protocol: "mathematical functions",
|
|
protocol: "mathematical functions",
|
|
-fn: function(aNumber){
|
|
|
|
|
|
+fn: function (aNumber){
|
|
var self=this,$self=this;
|
|
var self=this,$self=this;
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
return $core.withContext(function($ctx1) {
|
|
return $core.withContext(function($ctx1) {
|
|
@@ -3778,7 +3778,7 @@ $core.addMethod(
|
|
$core.method({
|
|
$core.method({
|
|
selector: "between:and:",
|
|
selector: "between:and:",
|
|
protocol: "testing",
|
|
protocol: "testing",
|
|
-fn: function(min,max){
|
|
|
|
|
|
+fn: function (min,max){
|
|
var self=this,$self=this;
|
|
var self=this,$self=this;
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
return $core.withContext(function($ctx1) {
|
|
return $core.withContext(function($ctx1) {
|
|
@@ -3898,7 +3898,7 @@ $core.addMethod(
|
|
$core.method({
|
|
$core.method({
|
|
selector: "degreesToRadians",
|
|
selector: "degreesToRadians",
|
|
protocol: "converting",
|
|
protocol: "converting",
|
|
-fn: function(){
|
|
|
|
|
|
+fn: function (){
|
|
var self=this,$self=this;
|
|
var self=this,$self=this;
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
return $core.withContext(function($ctx1) {
|
|
return $core.withContext(function($ctx1) {
|
|
@@ -4147,7 +4147,7 @@ $core.addMethod(
|
|
$core.method({
|
|
$core.method({
|
|
selector: "min:max:",
|
|
selector: "min:max:",
|
|
protocol: "arithmetic",
|
|
protocol: "arithmetic",
|
|
-fn: function(aMin,aMax){
|
|
|
|
|
|
+fn: function (aMin,aMax){
|
|
var self=this,$self=this;
|
|
var self=this,$self=this;
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
return $core.withContext(function($ctx1) {
|
|
return $core.withContext(function($ctx1) {
|
|
@@ -4310,7 +4310,7 @@ $core.addMethod(
|
|
$core.method({
|
|
$core.method({
|
|
selector: "radiansToDegrees",
|
|
selector: "radiansToDegrees",
|
|
protocol: "converting",
|
|
protocol: "converting",
|
|
-fn: function(){
|
|
|
|
|
|
+fn: function (){
|
|
var self=this,$self=this;
|
|
var self=this,$self=this;
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
return $core.withContext(function($ctx1) {
|
|
return $core.withContext(function($ctx1) {
|
|
@@ -4943,7 +4943,7 @@ $core.addMethod(
|
|
$core.method({
|
|
$core.method({
|
|
selector: "radiansPerDegree",
|
|
selector: "radiansPerDegree",
|
|
protocol: "instance creation",
|
|
protocol: "instance creation",
|
|
-fn: function(){
|
|
|
|
|
|
+fn: function (){
|
|
var self=this,$self=this;
|
|
var self=this,$self=this;
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
return $core.withContext(function($ctx1) {
|
|
return $core.withContext(function($ctx1) {
|
|
@@ -5368,7 +5368,7 @@ $core.addMethod(
|
|
$core.method({
|
|
$core.method({
|
|
selector: "angle",
|
|
selector: "angle",
|
|
protocol: "geometry",
|
|
protocol: "geometry",
|
|
-fn: function(){
|
|
|
|
|
|
+fn: function (){
|
|
var self=this,$self=this;
|
|
var self=this,$self=this;
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
return $core.withContext(function($ctx1) {
|
|
return $core.withContext(function($ctx1) {
|
|
@@ -5409,7 +5409,7 @@ $core.addMethod(
|
|
$core.method({
|
|
$core.method({
|
|
selector: "corner:",
|
|
selector: "corner:",
|
|
protocol: "rectangle creation",
|
|
protocol: "rectangle creation",
|
|
-fn: function(aPoint){
|
|
|
|
|
|
+fn: function (aPoint){
|
|
var self=this,$self=this;
|
|
var self=this,$self=this;
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
return $core.withContext(function($ctx1) {
|
|
return $core.withContext(function($ctx1) {
|
|
@@ -5467,7 +5467,7 @@ $core.addMethod(
|
|
$core.method({
|
|
$core.method({
|
|
selector: "dotProduct:",
|
|
selector: "dotProduct:",
|
|
protocol: "point functions",
|
|
protocol: "point functions",
|
|
-fn: function(aPoint){
|
|
|
|
|
|
+fn: function (aPoint){
|
|
var self=this,$self=this;
|
|
var self=this,$self=this;
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
return $core.withContext(function($ctx1) {
|
|
return $core.withContext(function($ctx1) {
|
|
@@ -5495,7 +5495,7 @@ $core.addMethod(
|
|
$core.method({
|
|
$core.method({
|
|
selector: "extent:",
|
|
selector: "extent:",
|
|
protocol: "rectangle creation",
|
|
protocol: "rectangle creation",
|
|
-fn: function(aPoint){
|
|
|
|
|
|
+fn: function (aPoint){
|
|
var self=this,$self=this;
|
|
var self=this,$self=this;
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
return $core.withContext(function($ctx1) {
|
|
return $core.withContext(function($ctx1) {
|
|
@@ -5518,7 +5518,7 @@ $core.addMethod(
|
|
$core.method({
|
|
$core.method({
|
|
selector: "normal",
|
|
selector: "normal",
|
|
protocol: "point functions",
|
|
protocol: "point functions",
|
|
-fn: function(){
|
|
|
|
|
|
+fn: function (){
|
|
var self=this,$self=this;
|
|
var self=this,$self=this;
|
|
var n,d;
|
|
var n,d;
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
@@ -5566,7 +5566,7 @@ $core.addMethod(
|
|
$core.method({
|
|
$core.method({
|
|
selector: "normalized",
|
|
selector: "normalized",
|
|
protocol: "point functions",
|
|
protocol: "point functions",
|
|
-fn: function(){
|
|
|
|
|
|
+fn: function (){
|
|
var self=this,$self=this;
|
|
var self=this,$self=this;
|
|
var r;
|
|
var r;
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
@@ -5648,7 +5648,7 @@ $core.addMethod(
|
|
$core.method({
|
|
$core.method({
|
|
selector: "r",
|
|
selector: "r",
|
|
protocol: "polar coordinates",
|
|
protocol: "polar coordinates",
|
|
-fn: function(){
|
|
|
|
|
|
+fn: function (){
|
|
var self=this,$self=this;
|
|
var self=this,$self=this;
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
return $core.withContext(function($ctx1) {
|
|
return $core.withContext(function($ctx1) {
|
|
@@ -5677,7 +5677,7 @@ $core.addMethod(
|
|
$core.method({
|
|
$core.method({
|
|
selector: "rectangle:",
|
|
selector: "rectangle:",
|
|
protocol: "rectangle creation",
|
|
protocol: "rectangle creation",
|
|
-fn: function(aPoint){
|
|
|
|
|
|
+fn: function (aPoint){
|
|
var self=this,$self=this;
|
|
var self=this,$self=this;
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
return $core.withContext(function($ctx1) {
|
|
return $core.withContext(function($ctx1) {
|
|
@@ -5914,7 +5914,7 @@ $core.addMethod(
|
|
$core.method({
|
|
$core.method({
|
|
selector: "=",
|
|
selector: "=",
|
|
protocol: "testing",
|
|
protocol: "testing",
|
|
-fn: function(aRectangle){
|
|
|
|
|
|
+fn: function (aRectangle){
|
|
var self=this,$self=this;
|
|
var self=this,$self=this;
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
return $core.withContext(function($ctx1) {
|
|
return $core.withContext(function($ctx1) {
|
|
@@ -5950,7 +5950,7 @@ $core.addMethod(
|
|
$core.method({
|
|
$core.method({
|
|
selector: "containsPoint:",
|
|
selector: "containsPoint:",
|
|
protocol: "testing",
|
|
protocol: "testing",
|
|
-fn: function(aPoint){
|
|
|
|
|
|
+fn: function (aPoint){
|
|
var self=this,$self=this;
|
|
var self=this,$self=this;
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
return $core.withContext(function($ctx1) {
|
|
return $core.withContext(function($ctx1) {
|
|
@@ -5981,7 +5981,7 @@ $core.addMethod(
|
|
$core.method({
|
|
$core.method({
|
|
selector: "containsRect:",
|
|
selector: "containsRect:",
|
|
protocol: "testing",
|
|
protocol: "testing",
|
|
-fn: function(aRect){
|
|
|
|
|
|
+fn: function (aRect){
|
|
var self=this,$self=this;
|
|
var self=this,$self=this;
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
return $core.withContext(function($ctx1) {
|
|
return $core.withContext(function($ctx1) {
|
|
@@ -6012,7 +6012,7 @@ $core.addMethod(
|
|
$core.method({
|
|
$core.method({
|
|
selector: "corner",
|
|
selector: "corner",
|
|
protocol: "accessing",
|
|
protocol: "accessing",
|
|
-fn: function(){
|
|
|
|
|
|
+fn: function (){
|
|
var self=this,$self=this;
|
|
var self=this,$self=this;
|
|
return $self["@corner"];
|
|
return $self["@corner"];
|
|
|
|
|
|
@@ -6030,7 +6030,7 @@ $core.addMethod(
|
|
$core.method({
|
|
$core.method({
|
|
selector: "origin",
|
|
selector: "origin",
|
|
protocol: "accessing",
|
|
protocol: "accessing",
|
|
-fn: function(){
|
|
|
|
|
|
+fn: function (){
|
|
var self=this,$self=this;
|
|
var self=this,$self=this;
|
|
return $self["@origin"];
|
|
return $self["@origin"];
|
|
|
|
|
|
@@ -6048,7 +6048,7 @@ $core.addMethod(
|
|
$core.method({
|
|
$core.method({
|
|
selector: "printOn:",
|
|
selector: "printOn:",
|
|
protocol: "testing",
|
|
protocol: "testing",
|
|
-fn: function(aStream){
|
|
|
|
|
|
+fn: function (aStream){
|
|
var self=this,$self=this;
|
|
var self=this,$self=this;
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
return $core.withContext(function($ctx1) {
|
|
return $core.withContext(function($ctx1) {
|
|
@@ -6077,7 +6077,7 @@ $core.addMethod(
|
|
$core.method({
|
|
$core.method({
|
|
selector: "setPoint:point:",
|
|
selector: "setPoint:point:",
|
|
protocol: "private",
|
|
protocol: "private",
|
|
-fn: function(pt1,pt2){
|
|
|
|
|
|
+fn: function (pt1,pt2){
|
|
var self=this,$self=this;
|
|
var self=this,$self=this;
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
return $core.withContext(function($ctx1) {
|
|
return $core.withContext(function($ctx1) {
|
|
@@ -6141,7 +6141,7 @@ $core.addMethod(
|
|
$core.method({
|
|
$core.method({
|
|
selector: "origin:corner:",
|
|
selector: "origin:corner:",
|
|
protocol: "instance creation",
|
|
protocol: "instance creation",
|
|
-fn: function(anOrigin,aCorner){
|
|
|
|
|
|
+fn: function (anOrigin,aCorner){
|
|
var self=this,$self=this;
|
|
var self=this,$self=this;
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
return $core.withContext(function($ctx1) {
|
|
return $core.withContext(function($ctx1) {
|
|
@@ -6164,7 +6164,7 @@ $core.addMethod(
|
|
$core.method({
|
|
$core.method({
|
|
selector: "origin:extent:",
|
|
selector: "origin:extent:",
|
|
protocol: "instance creation",
|
|
protocol: "instance creation",
|
|
-fn: function(anOrigin,anExtent){
|
|
|
|
|
|
+fn: function (anOrigin,anExtent){
|
|
var self=this,$self=this;
|
|
var self=this,$self=this;
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
return $core.withContext(function($ctx1) {
|
|
return $core.withContext(function($ctx1) {
|
|
@@ -6187,7 +6187,7 @@ $core.addMethod(
|
|
$core.method({
|
|
$core.method({
|
|
selector: "point:point:",
|
|
selector: "point:point:",
|
|
protocol: "instance creation",
|
|
protocol: "instance creation",
|
|
-fn: function(anOrigin,aCorner){
|
|
|
|
|
|
+fn: function (anOrigin,aCorner){
|
|
var self=this,$self=this;
|
|
var self=this,$self=this;
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
return $core.withContext(function($ctx1) {
|
|
return $core.withContext(function($ctx1) {
|