Index: src/core/SkPMFloat.h |
diff --git a/src/core/SkPMFloat.h b/src/core/SkPMFloat.h |
index b0cb3146c7e17192aecfc3363f96c61769cdd43e..783fc0d40e5cf017f2ae0d3683a2f5a77a56d7a8 100644 |
--- a/src/core/SkPMFloat.h |
+++ b/src/core/SkPMFloat.h |
@@ -29,6 +29,7 @@ public: |
void set(SkPMColor); |
+ // get() and clamped() round component values to the nearest integer. |
SkPMColor get() const; // May SkASSERT(this->isValid()). Some implementations may clamp. |
SkPMColor clamped() const; // Will clamp all values to [0, 255]. Then may assert isValid(). |