... |
... |
@@ -2457,6 +2457,7 @@ FT_BEGIN_HEADER |
2457
|
2457
|
*
|
2458
|
2458
|
* @since:
|
2459
|
2459
|
* 2.4.2
|
|
2460
|
+ *
|
2460
|
2461
|
*/
|
2461
|
2462
|
FT_EXPORT( FT_Error )
|
2462
|
2463
|
FT_Reference_Face( FT_Face face );
|
... |
... |
@@ -3247,6 +3248,10 @@ FT_BEGIN_HEADER |
3247
|
3248
|
* delta ::
|
3248
|
3249
|
* A pointer a translation vector. Set this to NULL if you are not
|
3249
|
3250
|
* interested in the value.
|
|
3251
|
+ *
|
|
3252
|
+ * @since:
|
|
3253
|
+ * 2.11
|
|
3254
|
+ *
|
3250
|
3255
|
*/
|
3251
|
3256
|
FT_EXPORT( void )
|
3252
|
3257
|
FT_Get_Transform( FT_Face face,
|
... |
... |
@@ -3267,14 +3272,14 @@ FT_BEGIN_HEADER |
3267
|
3272
|
* in the @FT_GlyphSlotRec structure gives the format of the returned
|
3268
|
3273
|
* bitmap.
|
3269
|
3274
|
*
|
3270
|
|
- * All modes except @FT_RENDER_MODE_MONO and @FT_RENDER_MODE_SDF use 256
|
3271
|
|
- * levels of opacity, indicating pixel coverage. Use linear alpha
|
3272
|
|
- * blending and gamma correction to correctly render non-monochrome
|
3273
|
|
- * glyph bitmaps onto a surface; see @FT_Render_Glyph.
|
|
3275
|
+ * All modes except @FT_RENDER_MODE_MONO use 256 levels of opacity,
|
|
3276
|
+ * indicating pixel coverage. Use linear alpha blending and gamma
|
|
3277
|
+ * correction to correctly render non-monochrome glyph bitmaps onto a
|
|
3278
|
+ * surface; see @FT_Render_Glyph.
|
3274
|
3279
|
*
|
3275
|
|
- * The @FT_RENDER_MODE_SDF is a special render mode that uses up to
|
3276
|
|
- * 65536 distance values, indicating the signed distance from the grid
|
3277
|
|
- * position to the nearest outline.
|
|
3280
|
+ * The @FT_RENDER_MODE_SDF is a special render mode that uses up to 256
|
|
3281
|
+ * distance values, indicating the signed distance from the grid position
|
|
3282
|
+ * to the nearest outline.
|
3278
|
3283
|
*
|
3279
|
3284
|
* @values:
|
3280
|
3285
|
* FT_RENDER_MODE_NORMAL ::
|
... |
... |
@@ -4295,6 +4300,10 @@ FT_BEGIN_HEADER |
4295
|
4300
|
* configured on the @FT_Face through @FT_Set_Var_Design_Coordinates.
|
4296
|
4301
|
* This implies that always static (interpolated) values are returned
|
4297
|
4302
|
* for both variable and non-variable formats.
|
|
4303
|
+ *
|
|
4304
|
+ * @since:
|
|
4305
|
+ * 2.11
|
|
4306
|
+ *
|
4298
|
4307
|
*/
|
4299
|
4308
|
typedef enum FT_PaintFormat_
|
4300
|
4309
|
{
|
... |
... |
@@ -4338,6 +4347,10 @@ FT_BEGIN_HEADER |
4338
|
4347
|
* p ::
|
4339
|
4348
|
* An opaque pointer into 'COLR' table data. The caller must set this
|
4340
|
4349
|
* to `NULL` before the first call of @FT_Get_Colorline_Stops.
|
|
4350
|
+ *
|
|
4351
|
+ * @since:
|
|
4352
|
+ * 2.11
|
|
4353
|
+ *
|
4341
|
4354
|
*/
|
4342
|
4355
|
typedef struct FT_ColorStopIterator_
|
4343
|
4356
|
{
|
... |
... |
@@ -4364,6 +4377,10 @@ FT_BEGIN_HEADER |
4364
|
4377
|
*
|
4365
|
4378
|
* alpha ::
|
4366
|
4379
|
* Alpha transparency value multiplied with the value from 'CPAL'.
|
|
4380
|
+ *
|
|
4381
|
+ * @since:
|
|
4382
|
+ * 2.11
|
|
4383
|
+ *
|
4367
|
4384
|
*/
|
4368
|
4385
|
typedef struct FT_ColorIndex_
|
4369
|
4386
|
{
|
... |
... |
@@ -4388,6 +4405,10 @@ FT_BEGIN_HEADER |
4388
|
4405
|
*
|
4389
|
4406
|
* color ::
|
4390
|
4407
|
* The color information for this stop, see @FT_ColorIndex.
|
|
4408
|
+ *
|
|
4409
|
+ * @since:
|
|
4410
|
+ * 2.11
|
|
4411
|
+ *
|
4391
|
4412
|
*/
|
4392
|
4413
|
typedef struct FT_ColorStop_
|
4393
|
4414
|
{
|
... |
... |
@@ -4406,6 +4427,10 @@ FT_BEGIN_HEADER |
4406
|
4427
|
* An enumeration representing the 'Extend' mode of the 'COLR' v1
|
4407
|
4428
|
* extensions, see 'https://github.com/googlefonts/colr-gradients-spec'.
|
4408
|
4429
|
* It describes how the gradient fill continues at the other boundaries.
|
|
4430
|
+ *
|
|
4431
|
+ * @since:
|
|
4432
|
+ * 2.11
|
|
4433
|
+ *
|
4409
|
4434
|
*/
|
4410
|
4435
|
typedef enum FT_PaintExtend_
|
4411
|
4436
|
{
|
... |
... |
@@ -4433,6 +4458,10 @@ FT_BEGIN_HEADER |
4433
|
4458
|
* color_stop_iterator ::
|
4434
|
4459
|
* The @FT_ColorStopIterator used to enumerate and retrieve the
|
4435
|
4460
|
* actual @FT_ColorStop's.
|
|
4461
|
+ *
|
|
4462
|
+ * @since:
|
|
4463
|
+ * 2.11
|
|
4464
|
+ *
|
4436
|
4465
|
*/
|
4437
|
4466
|
typedef struct FT_ColorLine_
|
4438
|
4467
|
{
|
... |
... |
@@ -4475,6 +4504,9 @@ FT_BEGIN_HEADER |
4475
|
4504
|
* dy ::
|
4476
|
4505
|
* y translation.
|
4477
|
4506
|
*
|
|
4507
|
+ * @since:
|
|
4508
|
+ * 2.11
|
|
4509
|
+ *
|
4478
|
4510
|
*/
|
4479
|
4511
|
typedef struct FT_Affine_23_
|
4480
|
4512
|
{
|
... |
... |
@@ -4493,6 +4525,10 @@ FT_BEGIN_HEADER |
4493
|
4525
|
* An enumeration listing the 'COLR' v1 composite modes used in
|
4494
|
4526
|
* @FT_PaintComposite. For more details on each paint mode, see
|
4495
|
4527
|
* 'https://www.w3.org/TR/compositing-1/#porterduffcompositingoperators'.
|
|
4528
|
+ *
|
|
4529
|
+ * @since:
|
|
4530
|
+ * 2.11
|
|
4531
|
+ *
|
4496
|
4532
|
*/
|
4497
|
4533
|
typedef enum FT_Composite_Mode_
|
4498
|
4534
|
{
|
... |
... |
@@ -4551,6 +4587,10 @@ FT_BEGIN_HEADER |
4551
|
4587
|
* insert_root_transform ::
|
4552
|
4588
|
* An internal boolean to track whether an initial root transform is
|
4553
|
4589
|
* to be provided. Do not set this value.
|
|
4590
|
+ *
|
|
4591
|
+ * @since:
|
|
4592
|
+ * 2.11
|
|
4593
|
+ *
|
4554
|
4594
|
*/
|
4555
|
4595
|
typedef struct FT_Opaque_Paint_
|
4556
|
4596
|
{
|
... |
... |
@@ -4575,6 +4615,10 @@ FT_BEGIN_HEADER |
4575
|
4615
|
* @fields:
|
4576
|
4616
|
* layer_iterator ::
|
4577
|
4617
|
* The layer iterator that describes the layers of this paint.
|
|
4618
|
+ *
|
|
4619
|
+ * @since:
|
|
4620
|
+ * 2.11
|
|
4621
|
+ *
|
4578
|
4622
|
*/
|
4579
|
4623
|
typedef struct FT_PaintColrLayers_
|
4580
|
4624
|
{
|
... |
... |
@@ -4597,6 +4641,10 @@ FT_BEGIN_HEADER |
4597
|
4641
|
* @fields:
|
4598
|
4642
|
* color ::
|
4599
|
4643
|
* The color information for this solid paint, see @FT_ColorIndex.
|
|
4644
|
+ *
|
|
4645
|
+ * @since:
|
|
4646
|
+ * 2.11
|
|
4647
|
+ *
|
4600
|
4648
|
*/
|
4601
|
4649
|
typedef struct FT_PaintSolid_
|
4602
|
4650
|
{
|
... |
... |
@@ -4630,6 +4678,10 @@ FT_BEGIN_HEADER |
4630
|
4678
|
* p2 ::
|
4631
|
4679
|
* Optional point~p2 to rotate the gradient (in font units).
|
4632
|
4680
|
* Otherwise equal to~p0.
|
|
4681
|
+ *
|
|
4682
|
+ * @since:
|
|
4683
|
+ * 2.11
|
|
4684
|
+ *
|
4633
|
4685
|
*/
|
4634
|
4686
|
typedef struct FT_PaintLinearGradient_
|
4635
|
4687
|
{
|
... |
... |
@@ -4674,6 +4726,10 @@ FT_BEGIN_HEADER |
4674
|
4726
|
* r1 ::
|
4675
|
4727
|
* The radius of the end circle of the radial gradient (in font
|
4676
|
4728
|
* units).
|
|
4729
|
+ *
|
|
4730
|
+ * @since:
|
|
4731
|
+ * 2.11
|
|
4732
|
+ *
|
4677
|
4733
|
*/
|
4678
|
4734
|
typedef struct FT_PaintRadialGradient_
|
4679
|
4735
|
{
|
... |
... |
@@ -4717,6 +4773,9 @@ FT_BEGIN_HEADER |
4717
|
4773
|
* specifying degrees. Values are given counter-clockwise, starting
|
4718
|
4774
|
* from the (positive) y~axis.
|
4719
|
4775
|
*
|
|
4776
|
+ * @since:
|
|
4777
|
+ * 2.11
|
|
4778
|
+ *
|
4720
|
4779
|
*/
|
4721
|
4780
|
typedef struct FT_PaintSweepGradient_
|
4722
|
4781
|
{
|
... |
... |
@@ -4746,6 +4805,9 @@ FT_BEGIN_HEADER |
4746
|
4805
|
* The glyph ID from the 'glyf' table, which serves as the contour
|
4747
|
4806
|
* information that is filled with paint.
|
4748
|
4807
|
*
|
|
4808
|
+ * @since:
|
|
4809
|
+ * 2.11
|
|
4810
|
+ *
|
4749
|
4811
|
*/
|
4750
|
4812
|
typedef struct FT_PaintGlyph_
|
4751
|
4813
|
{
|
... |
... |
@@ -4767,6 +4829,10 @@ FT_BEGIN_HEADER |
4767
|
4829
|
* glyphID ::
|
4768
|
4830
|
* The glyph ID from the `BaseGlyphV1List` table that is drawn for
|
4769
|
4831
|
* this paint.
|
|
4832
|
+ *
|
|
4833
|
+ * @since:
|
|
4834
|
+ * 2.11
|
|
4835
|
+ *
|
4770
|
4836
|
*/
|
4771
|
4837
|
typedef struct FT_PaintColrGlyph_
|
4772
|
4838
|
{
|
... |
... |
@@ -4789,6 +4855,10 @@ FT_BEGIN_HEADER |
4789
|
4855
|
*
|
4790
|
4856
|
* affine ::
|
4791
|
4857
|
* A 2x3 transformation matrix in @FT_Affine23 format.
|
|
4858
|
+ *
|
|
4859
|
+ * @since:
|
|
4860
|
+ * 2.11
|
|
4861
|
+ *
|
4792
|
4862
|
*/
|
4793
|
4863
|
typedef struct FT_PaintTransformed_
|
4794
|
4864
|
{
|
... |
... |
@@ -4817,6 +4887,10 @@ FT_BEGIN_HEADER |
4817
|
4887
|
*
|
4818
|
4888
|
* dy ::
|
4819
|
4889
|
* Translation in y~direction (in font units).
|
|
4890
|
+ *
|
|
4891
|
+ * @since:
|
|
4892
|
+ * 2.11
|
|
4893
|
+ *
|
4820
|
4894
|
*/
|
4821
|
4895
|
typedef struct FT_PaintTranslate_
|
4822
|
4896
|
{
|
... |
... |
@@ -4852,6 +4926,10 @@ FT_BEGIN_HEADER |
4852
|
4926
|
* center_y ::
|
4853
|
4927
|
* The y~coordinate of the pivot point of the rotation (in font
|
4854
|
4928
|
* units).
|
|
4929
|
+ *
|
|
4930
|
+ * @since:
|
|
4931
|
+ * 2.11
|
|
4932
|
+ *
|
4855
|
4933
|
*/
|
4856
|
4934
|
|
4857
|
4935
|
typedef struct FT_PaintRotate_
|
... |
... |
@@ -4892,6 +4970,10 @@ FT_BEGIN_HEADER |
4892
|
4970
|
*
|
4893
|
4971
|
* center_y ::
|
4894
|
4972
|
* The y~coordinate of the pivot point of the skew (in font units).
|
|
4973
|
+ *
|
|
4974
|
+ * @since:
|
|
4975
|
+ * 2.11
|
|
4976
|
+ *
|
4895
|
4977
|
*/
|
4896
|
4978
|
typedef struct FT_PaintSkew_
|
4897
|
4979
|
{
|
... |
... |
@@ -4928,6 +5010,10 @@ FT_BEGIN_HEADER |
4928
|
5010
|
* backdrop_paint ::
|
4929
|
5011
|
* An @FT_OpaquePaint object referencing the backdrop paint that
|
4930
|
5012
|
* `source_paint` is composited onto.
|
|
5013
|
+ *
|
|
5014
|
+ * @since:
|
|
5015
|
+ * 2.11
|
|
5016
|
+ *
|
4931
|
5017
|
*/
|
4932
|
5018
|
typedef struct FT_PaintComposite_
|
4933
|
5019
|
{
|
... |
... |
@@ -4969,6 +5055,10 @@ FT_BEGIN_HEADER |
4969
|
5055
|
* * @FT_PaintSkew
|
4970
|
5056
|
* * @FT_PaintComposite
|
4971
|
5057
|
* * @FT_PaintColrGlyph
|
|
5058
|
+ *
|
|
5059
|
+ * @since:
|
|
5060
|
+ * 2.11
|
|
5061
|
+ *
|
4972
|
5062
|
*/
|
4973
|
5063
|
typedef struct FT_COLR_Paint_
|
4974
|
5064
|
{
|
... |
... |
@@ -5010,6 +5100,10 @@ FT_BEGIN_HEADER |
5010
|
5100
|
*
|
5011
|
5101
|
* FT_COLOR_NO_ROOT_TRANSFORM ::
|
5012
|
5102
|
* Do not output an initial root transform.
|
|
5103
|
+ *
|
|
5104
|
+ * @since:
|
|
5105
|
+ * 2.11
|
|
5106
|
+ *
|
5013
|
5107
|
*/
|
5014
|
5108
|
typedef enum FT_Color_Root_Transform_
|
5015
|
5109
|
{
|
... |
... |
@@ -5100,6 +5194,10 @@ FT_BEGIN_HEADER |
5100
|
5194
|
* Value~1 if everything is OK. If no color glyph is found, or the root
|
5101
|
5195
|
* paint could not be retrieved, value~0 gets returned. In case of an
|
5102
|
5196
|
* error, value~0 is returned also.
|
|
5197
|
+ *
|
|
5198
|
+ * @since:
|
|
5199
|
+ * 2.11
|
|
5200
|
+ *
|
5103
|
5201
|
*/
|
5104
|
5202
|
FT_EXPORT( FT_Bool )
|
5105
|
5203
|
FT_Get_Color_Glyph_Paint( FT_Face face,
|
... |
... |
@@ -5145,6 +5243,10 @@ FT_BEGIN_HEADER |
5145
|
5243
|
* @return:
|
5146
|
5244
|
* Value~1 if everything is OK. Value~0 gets returned when the paint
|
5147
|
5245
|
* object can not be retrieved or any other error occurs.
|
|
5246
|
+ *
|
|
5247
|
+ * @since:
|
|
5248
|
+ * 2.11
|
|
5249
|
+ *
|
5148
|
5250
|
*/
|
5149
|
5251
|
FT_EXPORT( FT_Bool )
|
5150
|
5252
|
FT_Get_Paint_Layers( FT_Face face,
|
... |
... |
@@ -5183,6 +5285,10 @@ FT_BEGIN_HEADER |
5183
|
5285
|
* Value~1 if everything is OK. If there are no more color stops,
|
5184
|
5286
|
* value~0 gets returned. In case of an error, value~0 is returned
|
5185
|
5287
|
* also.
|
|
5288
|
+ *
|
|
5289
|
+ * @since:
|
|
5290
|
+ * 2.11
|
|
5291
|
+ *
|
5186
|
5292
|
*/
|
5187
|
5293
|
FT_EXPORT( FT_Bool )
|
5188
|
5294
|
FT_Get_Colorline_Stops( FT_Face face,
|
... |
... |
@@ -5216,6 +5322,10 @@ FT_BEGIN_HEADER |
5216
|
5322
|
* @return:
|
5217
|
5323
|
* Value~1 if everything is OK. Value~0 if no details can be found for
|
5218
|
5324
|
* this paint or any other error occured.
|
|
5325
|
+ *
|
|
5326
|
+ * @since:
|
|
5327
|
+ * 2.11
|
|
5328
|
+ *
|
5219
|
5329
|
*/
|
5220
|
5330
|
FT_EXPORT( FT_Bool )
|
5221
|
5331
|
FT_Get_Paint( FT_Face face,
|
... |
... |
@@ -5313,6 +5423,7 @@ FT_BEGIN_HEADER |
5313
|
5423
|
*
|
5314
|
5424
|
* @since:
|
5315
|
5425
|
* 2.3.8
|
|
5426
|
+ *
|
5316
|
5427
|
*/
|
5317
|
5428
|
FT_EXPORT( FT_UShort )
|
5318
|
5429
|
FT_Get_FSType_Flags( FT_Face face );
|
... |
... |
@@ -5406,6 +5517,7 @@ FT_BEGIN_HEADER |
5406
|
5517
|
*
|
5407
|
5518
|
* @since:
|
5408
|
5519
|
* 2.3.6
|
|
5520
|
+ *
|
5409
|
5521
|
*/
|
5410
|
5522
|
FT_EXPORT( FT_UInt )
|
5411
|
5523
|
FT_Face_GetCharVariantIndex( FT_Face face,
|
... |
... |
@@ -5442,6 +5554,7 @@ FT_BEGIN_HEADER |
5442
|
5554
|
*
|
5443
|
5555
|
* @since:
|
5444
|
5556
|
* 2.3.6
|
|
5557
|
+ *
|
5445
|
5558
|
*/
|
5446
|
5559
|
FT_EXPORT( FT_Int )
|
5447
|
5560
|
FT_Face_GetCharVariantIsDefault( FT_Face face,
|
... |
... |
@@ -5473,6 +5586,7 @@ FT_BEGIN_HEADER |
5473
|
5586
|
*
|
5474
|
5587
|
* @since:
|
5475
|
5588
|
* 2.3.6
|
|
5589
|
+ *
|
5476
|
5590
|
*/
|
5477
|
5591
|
FT_EXPORT( FT_UInt32* )
|
5478
|
5592
|
FT_Face_GetVariantSelectors( FT_Face face );
|
... |
... |
@@ -5506,6 +5620,7 @@ FT_BEGIN_HEADER |
5506
|
5620
|
*
|
5507
|
5621
|
* @since:
|
5508
|
5622
|
* 2.3.6
|
|
5623
|
+ *
|
5509
|
5624
|
*/
|
5510
|
5625
|
FT_EXPORT( FT_UInt32* )
|
5511
|
5626
|
FT_Face_GetVariantsOfChar( FT_Face face,
|
... |
... |
@@ -5540,6 +5655,7 @@ FT_BEGIN_HEADER |
5540
|
5655
|
*
|
5541
|
5656
|
* @since:
|
5542
|
5657
|
* 2.3.6
|
|
5658
|
+ *
|
5543
|
5659
|
*/
|
5544
|
5660
|
FT_EXPORT( FT_UInt32* )
|
5545
|
5661
|
FT_Face_GetCharsOfVariant( FT_Face face,
|
... |
... |
@@ -5875,6 +5991,7 @@ FT_BEGIN_HEADER |
5875
|
5991
|
*
|
5876
|
5992
|
* @since:
|
5877
|
5993
|
* 2.3.5
|
|
5994
|
+ *
|
5878
|
5995
|
*/
|
5879
|
5996
|
FT_EXPORT( FT_Bool )
|
5880
|
5997
|
FT_Face_CheckTrueTypePatents( FT_Face face );
|
... |
... |
@@ -5903,6 +6020,7 @@ FT_BEGIN_HEADER |
5903
|
6020
|
*
|
5904
|
6021
|
* @since:
|
5905
|
6022
|
* 2.3.5
|
|
6023
|
+ *
|
5906
|
6024
|
*/
|
5907
|
6025
|
FT_EXPORT( FT_Bool )
|
5908
|
6026
|
FT_Face_SetUnpatentedHinting( FT_Face face,
|