Changeset 676
- Timestamp:
- 02/04/17 17:57:30 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Cocoa/AntiRSI/CTBadge/CTGradient.m
r370 r676 650 650 float rangle = angle * pi/180; //convert the angle to radians 651 651 652 if(fabsf(tan (rangle))<=1) //for range [-45,45], [135,225]652 if(fabsf(tanf(rangle))<=1) //for range [-45,45], [135,225] 653 653 { 654 654 x = NSWidth(rect);
Note:
See TracChangeset
for help on using the changeset viewer.