Skip to content

Commit b697284

Browse files
c++ ver 26.2
1 parent 208615f commit b697284

232 files changed

Lines changed: 1733 additions & 330 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

english/cpp/aspose.font.cff/cfffontmetrics/_index.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@ class CffFontMetrics : public Aspose::Font::FontMetrics
2727
| [get_UnitsPerEM](./get_unitsperem/)() override | Gets UnitsPerEM value. |
2828
| [GetFontMatrixForGlyph](./getfontmatrixforglyph/)(System::SharedPtr\<Glyphs::GlyphId\>) | Calculates transformation matrix for glyph specified by id. |
2929
| [GetGlyphWidth](./getglyphwidth/)(System::SharedPtr\<Glyphs::GlyphId\>) override | Returns glyph width. May be overridden by specific [Font](../../aspose.font/font/) encoding inheritors. |
30-
| [MeasureString](./measurestring/)(System::String, double) override | Sets glyph width. |
30+
| [MeasureString](./measurestring/)(System::String, double) override | Measures string and returns string width. |
31+
| [SetGlyphWidth](./setglyphwidth/)(System::SharedPtr\<Glyphs::GlyphId\>, double) override | Sets glyph width. |
3132
## See Also
3233
3334
* Class [FontMetrics](../../aspose.font/fontmetrics/)

english/cpp/aspose.font.cff/cfffontmetrics/measurestring/_index.md

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22
title: Aspose::Font::Cff::CffFontMetrics::MeasureString method
33
linktitle: MeasureString
44
second_title: Aspose.Font for C++
5-
description: 'Aspose::Font::Cff::CffFontMetrics::MeasureString method. Sets glyph width in C++.'
5+
description: 'Aspose::Font::Cff::CffFontMetrics::MeasureString method. Measures string and returns string width in C++.'
66
type: docs
77
weight: 800
88
url: /cpp/aspose.font.cff/cfffontmetrics/measurestring/
99
---
1010
## CffFontMetrics::MeasureString method
1111

1212

13-
Sets glyph width.
13+
Measures string and returns string width.
1414

1515
```cpp
1616
double Aspose::Font::Cff::CffFontMetrics::MeasureString(System::String unicode, double fontSize) override
@@ -19,17 +19,12 @@ double Aspose::Font::Cff::CffFontMetrics::MeasureString(System::String unicode,
1919
2020
| Parameter | Type | Description |
2121
| --- | --- | --- |
22-
| glyphId | System::String | Glyph identifier. |
23-
| value | double | New width |
22+
| unicode | System::String | Unicode string. |
23+
| fontSize | double | [Font](../../../aspose.font/font/) size. |
2424
2525
### ReturnValue
2626
2727
String width.
28-
## Remarks
29-
30-
31-
32-
Measures string and returns string width.
3328
3429
## See Also
3530
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
---
2+
title: Aspose::Font::Cff::CffFontMetrics::SetGlyphWidth method
3+
linktitle: SetGlyphWidth
4+
second_title: Aspose.Font for C++
5+
description: 'Aspose::Font::Cff::CffFontMetrics::SetGlyphWidth method. Sets glyph width in C++.'
6+
type: docs
7+
weight: 900
8+
url: /cpp/aspose.font.cff/cfffontmetrics/setglyphwidth/
9+
---
10+
## CffFontMetrics::SetGlyphWidth method
11+
12+
13+
Sets glyph width.
14+
15+
```cpp
16+
void Aspose::Font::Cff::CffFontMetrics::SetGlyphWidth(System::SharedPtr<Glyphs::GlyphId> glyphId, double value) override
17+
```
18+
19+
20+
| Parameter | Type | Description |
21+
| --- | --- | --- |
22+
| glyphId | System::SharedPtr\<Glyphs::GlyphId\> | Glyph identifier. |
23+
| value | double | New width |
24+
25+
## See Also
26+
27+
* Typedef [SharedPtr](../../../system/sharedptr/)
28+
* Class [GlyphId](../../../aspose.font.glyphs/glyphid/)
29+
* Class [CffFontMetrics](../)
30+
* Namespace [Aspose::Font::Cff](../../)
31+
* Library [Aspose.Font for C++](../../../)

english/cpp/aspose.font.ttf/ttffontmetrics/_index.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,14 @@ class TtfFontMetrics : public Aspose::Font::FontMetrics
3131
| [get_UnitsPerEM](./get_unitsperem/)() override | Gets UnitsPerEM value. |
3232
| [GetGlyphWidth](./getglyphwidth/)(System::SharedPtr\<Glyphs::GlyphId\>) override | Returns glyphs width by glyph id. |
3333
| [GetKerningValue](./getkerningvalue/)(System::SharedPtr\<Glyphs::GlyphId\>, System::SharedPtr\<Glyphs::GlyphId\>) override | Returns kerning value for the glyph pair. |
34-
| [MeasureString](./measurestring/)(System::String, double) override | Sets glyph width. |
34+
| [MeasureString](./measurestring/)(System::String, double) override | Measures string and returns string width. |
3535
| [MeasureString](./measurestring/)(System::ArrayPtr\<uint32_t\>, double) | Measures text represented as array of character codes and returns string width. |
3636
| [set_Ascender](./set_ascender/)(double) override | Gets ascender value. |
3737
| [set_Descender](./set_descender/)(double) override | Gets descender value. |
3838
| [set_TypoAscender](./set_typoascender/)(double) override | Gets TypoAscender value. |
3939
| [set_TypoDescender](./set_typodescender/)(double) override | Gets TypoDescender value. |
4040
| [set_UnitsPerEM](./set_unitsperem/)(uint32_t) override | Gets UnitsPerEM value. |
41+
| [SetGlyphWidth](./setglyphwidth/)(System::SharedPtr\<Glyphs::GlyphId\>, double) override | Sets glyph width. |
4142
## See Also
4243
4344
* Class [FontMetrics](../../aspose.font/fontmetrics/)

english/cpp/aspose.font.ttf/ttffontmetrics/measurestring/_index.md

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ String width.
3535
## TtfFontMetrics::MeasureString(System::String, double) method
3636
3737
38-
Sets glyph width.
38+
Measures string and returns string width.
3939
4040
```cpp
4141
double Aspose::Font::Ttf::TtfFontMetrics::MeasureString(System::String unicode, double fontSize) override
@@ -44,17 +44,12 @@ double Aspose::Font::Ttf::TtfFontMetrics::MeasureString(System::String unicode,
4444

4545
| Parameter | Type | Description |
4646
| --- | --- | --- |
47-
| glyphId | System::String | Glyph identifier. |
48-
| value | double | New width |
47+
| unicode | System::String | Unicode string. |
48+
| fontSize | double | [Font](../../../aspose.font/font/) size. |
4949

5050
### ReturnValue
5151

5252
String width.
53-
## Remarks
54-
55-
56-
57-
Measures string and returns string width.
5853

5954
## See Also
6055

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
---
2+
title: Aspose::Font::Ttf::TtfFontMetrics::SetGlyphWidth method
3+
linktitle: SetGlyphWidth
4+
second_title: Aspose.Font for C++
5+
description: 'Aspose::Font::Ttf::TtfFontMetrics::SetGlyphWidth method. Sets glyph width in C++.'
6+
type: docs
7+
weight: 1800
8+
url: /cpp/aspose.font.ttf/ttffontmetrics/setglyphwidth/
9+
---
10+
## TtfFontMetrics::SetGlyphWidth method
11+
12+
13+
Sets glyph width.
14+
15+
```cpp
16+
void Aspose::Font::Ttf::TtfFontMetrics::SetGlyphWidth(System::SharedPtr<Glyphs::GlyphId> glyphId, double value) override
17+
```
18+
19+
20+
| Parameter | Type | Description |
21+
| --- | --- | --- |
22+
| glyphId | System::SharedPtr\<Glyphs::GlyphId\> | Glyph identifier. |
23+
| value | double | New width |
24+
25+
## See Also
26+
27+
* Typedef [SharedPtr](../../../system/sharedptr/)
28+
* Class [GlyphId](../../../aspose.font.glyphs/glyphid/)
29+
* Class [TtfFontMetrics](../)
30+
* Namespace [Aspose::Font::Ttf](../../)
31+
* Library [Aspose.Font for C++](../../../)

english/cpp/aspose.font.type1/type1fontmetrics/_index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ class Type1FontMetrics : public Aspose::Font::FontMetrics
3636
| [GetGlyphWidth](./getglyphwidth/)(System::SharedPtr\<Glyphs::GlyphId\>) override | Returns glyph width. May be ovridden by specific font encoding inheritors. |
3737
| [MeasureString](./measurestring/)(System::String, double) override | Measures string and returns string width. |
3838
| [set_UnitsPerEM](./set_unitsperem/)(uint32_t) override | Gets underline UnitsPerEM value. |
39+
| [SetGlyphWidth](./setglyphwidth/)(System::SharedPtr\<Glyphs::GlyphId\>, double) override | Sets glyph width. |
3940
## See Also
4041
4142
* Class [FontMetrics](../../aspose.font/fontmetrics/)
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
---
2+
title: Aspose::Font::Type1::Type1FontMetrics::SetGlyphWidth method
3+
linktitle: SetGlyphWidth
4+
second_title: Aspose.Font for C++
5+
description: 'Aspose::Font::Type1::Type1FontMetrics::SetGlyphWidth method. Sets glyph width in C++.'
6+
type: docs
7+
weight: 1700
8+
url: /cpp/aspose.font.type1/type1fontmetrics/setglyphwidth/
9+
---
10+
## Type1FontMetrics::SetGlyphWidth method
11+
12+
13+
Sets glyph width.
14+
15+
```cpp
16+
void Aspose::Font::Type1::Type1FontMetrics::SetGlyphWidth(System::SharedPtr<Glyphs::GlyphId> glyphId, double value) override
17+
```
18+
19+
20+
| Parameter | Type | Description |
21+
| --- | --- | --- |
22+
| glyphId | System::SharedPtr\<Glyphs::GlyphId\> | Glyph identifier. |
23+
| value | double | New width |
24+
25+
## See Also
26+
27+
* Typedef [SharedPtr](../../../system/sharedptr/)
28+
* Class [GlyphId](../../../aspose.font.glyphs/glyphid/)
29+
* Class [Type1FontMetrics](../)
30+
* Namespace [Aspose::Font::Type1](../../)
31+
* Library [Aspose.Font for C++](../../../)

english/cpp/aspose.font/fontmetrics/_index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ class FontMetrics : public Aspose::Font::IFontMetrics
4444
| [set_TypoAscender](./set_typoascender/)(double) override | Gets TypoAscender value. |
4545
| [set_TypoDescender](./set_typodescender/)(double) override | Gets TypoDescender value. |
4646
| [set_UnitsPerEM](./set_unitsperem/)(uint32_t) override | Gets UnitsPerEM value. |
47+
| virtual [SetGlyphWidth](./setglyphwidth/)(System::SharedPtr\<Glyphs::GlyphId\>, double) | Sets glyph width. |
4748
## See Also
4849
4950
* Class [IFontMetrics](../ifontmetrics/)
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
---
2+
title: Aspose::Font::FontMetrics::SetGlyphWidth method
3+
linktitle: SetGlyphWidth
4+
second_title: Aspose.Font for C++
5+
description: 'Aspose::Font::FontMetrics::SetGlyphWidth method. Sets glyph width in C++.'
6+
type: docs
7+
weight: 2500
8+
url: /cpp/aspose.font/fontmetrics/setglyphwidth/
9+
---
10+
## FontMetrics::SetGlyphWidth method
11+
12+
13+
Sets glyph width.
14+
15+
```cpp
16+
void Aspose::Font::FontMetrics::SetGlyphWidth(System::SharedPtr<Glyphs::GlyphId> glyphId, double value) override=0
17+
```
18+
19+
20+
| Parameter | Type | Description |
21+
| --- | --- | --- |
22+
| glyphId | System::SharedPtr\<Glyphs::GlyphId\> | Glyph identifier. |
23+
| value | double | New width |
24+
25+
## See Also
26+
27+
* Typedef [SharedPtr](../../../system/sharedptr/)
28+
* Class [GlyphId](../../../aspose.font.glyphs/glyphid/)
29+
* Class [FontMetrics](../)
30+
* Namespace [Aspose::Font](../../)
31+
* Library [Aspose.Font for C++](../../../)

0 commit comments

Comments
 (0)