3 Commits

Author SHA1 Message Date
Robert Moore
03f3351ad5
Global replace of single-precision floats with CGFloat casts. (#5718)
Replacing all non-integral, single-precision floating point literals with double-precision values explicitly cast to CGFloat.  For example, `0.1f` should become `(CGFloat)0.1`.

Regex used:
```
([0-9]*\.)([0-9]*?)([1-9]+)([0-9]*?)[fF]
```

PiperOrigin-RevId: 220683126
2018-11-12 10:50:01 -05:00
Robert Moore
74a27253e8
Global replace of integral single-precision literals with integer literals. (#5709)
Global replace of integral single-precision literals with integer literals.

Regular expression used:
```perl
/[^\w]([0-9]+)\.[0]*[fF]/$1/
```
2018-11-08 14:02:04 -05:00
Yarden Eitan
83fffdb4cc
[Shapes] Added initial documentation for Shape Theming (#5460)
### Context
After releasing the Shape Theming code, this provides initial documentation for how to use shape theming, and its API.

### The problem
We lack documentation on what is Shape Theming, and how do you use it.

### The fix
An Initial doc outlining shape theming.

### Bug
Closes #4605 
Closes #4606
2018-10-19 15:26:26 -04:00