summaryrefslogtreecommitdiff
path: root/include/freetype/ftcolor.h
diff options
context:
space:
mode:
authorDominik Röttsches <drott@chromium.org>2021-07-26 17:32:22 +0300
committerWerner Lemberg <wl@gnu.org>2021-07-29 06:01:34 +0000
commit66189807b8f42411d981bc7d2a3cc7f753cf22ae (patch)
tree8a256604e54ecc987fb56bd6e5668c107e0d932a /include/freetype/ftcolor.h
parent48df0fa6522f078498d3be92686522b1a512481f (diff)
downloadfreetype2-66189807b8f42411d981bc7d2a3cc7f753cf22ae.tar.gz
[sfnt] 'COLR' v1 PaintSkew related spec updates
* src/sfnt/ttcolr.c (read_paint): Implement spec changes around PaintSkew, PaintSkewAroundCenter. Update parsing to read shorter values as changed in the spec. * include/freetype/ftcolor.h (FT_PaintSkew): Update documentation.
Diffstat (limited to 'include/freetype/ftcolor.h')
-rw-r--r--include/freetype/ftcolor.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/freetype/ftcolor.h b/include/freetype/ftcolor.h
index 8f2507c6a..43e463e98 100644
--- a/include/freetype/ftcolor.h
+++ b/include/freetype/ftcolor.h
@@ -1219,10 +1219,12 @@ FT_BEGIN_HEADER
* skewed.
*
* x_skew_angle ::
- * The skewing angle in x~direction.
+ * The skewing angle in x~direction in degrees divided by 180.0
+ * (as in the spec). Multiply by 180.0f to receive degrees.
*
* y_skew_angle ::
- * The skewing angle in y~direction.
+ * The skewing angle in y~direction in degrees divided by 180.0
+ * (as in the spec). Multiply by 180.0f to receive degrees.
*
* center_x ::
* The x~coordinate of the pivot point of the skew (in font units).