/ohos5.0/docs/en/application-dev/reference/apis-arkgraphics2d/ |
H A D | _o_h___drawing___run_buffer.md | 20 | uint16_t \* [glyphs](#glyphs) | Storage for glyph indexes in the run. | 21 | float \* [pos](#pos) | Storage for glyph positions in the run. | 23 | uint32_t \* [clusters](#clusters) | Storage for glyph clusters (index of the UTF-8 encoded text u… 36 Storage for glyph clusters (index of the UTF-8 encoded text unit) in the run. 46 Storage for glyph indexes in the run. 56 Storage for glyph positions in the run.
|
H A D | drawing__text__line_8h.md | 37 …textlinegetglyphruns) (OH_Drawing_TextLine \*line) | Obtains the array of glyph runs in a text lin… 38 …rray](_drawing.md#oh_drawing_array) \*runs) | Releases the memory occupied by a glyph run array. | 39 …rawing_array) \*runs, size_t index) | Obtains the glyph run object with the specified index in a g…
|
H A D | drawing__text__declaration_8h.md | 30 …ing_positionandaffinity) | Defines a struct used to receive the position and affinity of a glyph.| 31 …drawing_range) | Defines a struct used to receive the start position and end position of a glyph.|
|
H A D | drawing__text__run_8h.md | 34 …_Array](_drawing.md#oh_drawing_array) \*glyphs) | Releases the pointer to a glyph array in a run. | 37 …y](_drawing.md#oh_drawing_array) \*positions) | Releases the pointer to a glyph position array in …
|
H A D | drawing__font_8h.md | 64 …textencoding) encoding, uint16_t \*glyphs, int maxGlyphCount) | Converts text into glyph indices.| 65 …onst uint16_t \*glyphs, int count, float \*widths) | Obtains the width of each glyph in a string.|
|
H A D | js-apis-graphics-text.md | 927 Obtains the position of a glyph close to a given coordinate. 942 | [PositionWithAffinity](#positionwithaffinity) | Position of the glyph.| 954 Obtains the range of the word where the glyph with a given offset is located. 962 | offset | number | Yes | Offset of the glyph. The value is an integer.| 1206 Describes the position and affinity of a glyph. 1212 | position | number | Yes | No | Index of the glyph relative to the paragraph. Th… 1814 Obtains the index of each glyph in this run. 1822 | Array\<number> | Array holding the index of each glyph in the run.| 1830 let glyph = runs[0].getGlyphs(); 1851 Obtains the position of each glyph relative to the respective line in this run. [all …]
|
H A D | drawing__text__typography_8h.md | 144 …ypography) \*, double, double) | Obtains the position and affinity of the glyph at the given coord… 145 …ains the position and affinity of the glyph cluster to which the glyph at the given coordinates be…
|
H A D | js-apis-graphics-drawing.md | 3278 | glyph | number | Yes | Yes | Index of the glyph. The value is an integer. If a floating poi… 3293 | TEXT_ENCODING_GLYPH_ID | 3 | Two bytes are used to indicate the glyph index. | 3562 { glyph: 65, positionX: 0, positionY: 0 }, 3563 { glyph: 227, positionX: 14.9, positionY: 0 }, 3564 { glyph: 283, positionX: 25.84, positionY: 0 }, 3565 { glyph: 283, positionX: 30.62, positionY: 0 }, 3566 { glyph: 299, positionX: 35.4, positionY: 0} 4503 Obtains the width of each glyph in an array. 4517 | Array\<number> | Array that holds the obtained glyph widths.| 4545 Converts text into glyph indexes. [all …]
|
H A D | _drawing.md | 1707 Defines a struct used to receive the position and affinity of a glyph. 2886 | TEXT_ENCODING_GLYPH_ID | Two bytes used to indicate the glyph index.| 5153 Converts text into glyph indices. 5171 | glyphs | Pointer to the start address for storing the glyph indices.| 5176 Returns the number of glyph indices. 5187 Obtains the width of each glyph in a string of text. 5202 | glyphs | Pointer to the start address for storing the glyph indices.| 5203 | count | Number of glyph indices.| 5204 | widths | Pointer to the start address for storing the glyph widths.| 15149 Obtains the position and affinity of the glyph at the given coordinates. [all …]
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/drawing_ets/ets/testcase/interface/ |
H A D | textblobtest.ts | 47 { glyph: 65, positionX: 0, positionY: 0 }, 48 { glyph: 227, positionX: 14.9 * 2, positionY: 0 }, 49 { glyph: 283, positionX: 25.84 * 2, positionY: 0 }, 50 { glyph: 283, positionX: 30.62 * 2, positionY: 0 }, 51 { glyph: 299, positionX: 35.4 * 2, positionY: 0}, 52 { glyph: 2, positionX: 47.22 * 2, positionY: 0}, 53 { glyph: 94, positionX: 52.62 * 2, positionY: 0}, 54 { glyph: 37, positionX: 67.42 * 2, positionY: 0}, 55 { glyph: 84, positionX: 81.70 * 2, positionY: 0},
|
/ohos5.0/foundation/arkui/ui_lite/frameworks/font/ |
H A D | ui_font_vector.cpp | 759 FT_GlyphSlot slot = ftFaces_[fontId]->glyph; in SetBold() 806 glyphNode.top = faceInfo.face->glyph->bitmap_top; in LoadGlyphIntoFace() 841 SetItaly(ftFaces_[fontId]->glyph); in LoadGlyphIntoFace() 845 SetItaly(ftFaces_[fontId]->glyph); in LoadGlyphIntoFace() 880 f->left = faceInfo.face->glyph->bitmap_left; in SetFace() 881 f->top = faceInfo.face->glyph->bitmap_top; in SetFace() 882 f->cols = faceInfo.face->glyph->bitmap.width; in SetFace() 883 f->rows = faceInfo.face->glyph->bitmap.rows; in SetFace() 934 ft_glyphslot_free_bitmap(face->glyph); in ClearFontGlyph() 935 FT_Outline_Done(face->glyph->library, &face->glyph->outline); in ClearFontGlyph() [all …]
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/text/ |
H A D | font.cpp | 187 uint16_t glyph = UnicharToGlyph(unicode); in MeasureSingleCharacter() local 188 if (glyph != 0) { in MeasureSingleCharacter() 189 textWidth = MeasureText(&glyph, sizeof(uint16_t), TextEncoding::GLYPH_ID); in MeasureSingleCharacter()
|
/ohos5.0/docs/en/application-dev/reference/apis-arkui/arkui-ts/ |
H A D | ohos-arkui-advanced-SubHeader.md | 45 …ol options. This parameter is available when **icon** is set to a [symbol glyph](ts-basic-componen… 96 | fontColor | [ResourceStr](ts-types.md#resourcestr) | No| Color of the [symbol glyph](ts-basic-com… 97 | fontSize | number \|string \|[Resource](ts-types.md#Resource) | No| Size of the [symbol glyph](ts… 98 …ix-enums.md#fontweight)\|number \|string | No| Font weight of the [symbol glyph](ts-basic-componen… 99 …yph.md#symbolrenderingstrategy11) | No| Rendering strategy of the [symbol glyph](ts-basic-componen… 100 …mbolGlyph.md#symboleffectstrategy11) | No| Effect strategy of the [symbol glyph](ts-basic-componen…
|
H A D | ts-text-common.md | 54 Obtains the position of a glyph close to a given coordinate. 71 | [PositionWithAffinity](#positionwithaffinity12) | Position of the glyph.| 121 Describes the position and affinity of a glyph. 129 | position | number | Yes | No | Index of the glyph relative to the paragraph. Th…
|
H A D | ts-basic-components-symbolGlyph.md | 3 The **SymbolGlyph** component represents a symbol glyph. 61 …glyph is controlled by the **fontSize** setting. Once **width** or **height** is specified, other …
|
H A D | ohos-arkui-advanced-ChipGroup.md | 70 …os-arkui-advanced-Chip.md#chipsymbolglyphoptions12) | No | Prefix symbol glyph icon of the chip. … 73 …os-arkui-advanced-Chip.md#chipsymbolglyphoptions12) | No | Suffix symbol glyph icon of the chip. …
|
/ohos5.0/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/drawing/text_blob_napi/ |
H A D | js_text_blob.cpp | 175 uint32_t glyph = 0; in OnMakeRunBuffer() local 179 bool isGlyphOk = ConvertFromJsValue(env, tempValue, glyph); in OnMakeRunBuffer() 188 runBuffer.glyphs[i] = (uint16_t)glyph; in OnMakeRunBuffer()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/draw/ |
H A D | core_canvas.cpp | 358 uint16_t glyph = font.UnicharToGlyph(unicode); in DrawSingleCharacter() local 359 if (glyph != 0) { in DrawSingleCharacter() 360 drawSingleCharacterProc(glyph, font); in DrawSingleCharacter()
|
/ohos5.0/docs/en/application-dev/ui/ |
H A D | arkts-common-components-symbol.md | 8 You create a symbol glyph by referencing a resource through $r. Currently, only the preset symbol r… 21 To embed a symbol glyph within a text string, use [SymbolSpan](../reference/apis-arkui/arkui-ts/ts-…
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkgraphics2d/ |
H A D | js-apis-graphics-drawing.md | 3278 | glyph | number | 是 | 是 | 存储文字的索引,该参数为整数,传入浮点类型时向下取整。 | 3293 | TEXT_ENCODING_GLYPH_ID | 3 | 使用2个字节表示glyph index。 | 3562 { glyph: 65, positionX: 0, positionY: 0 }, 3563 { glyph: 227, positionX: 14.9, positionY: 0 }, 3564 { glyph: 283, positionX: 25.84, positionY: 0 }, 3565 { glyph: 283, positionX: 30.62, positionY: 0 }, 3566 { glyph: 299, positionX: 35.4, positionY: 0}
|
H A D | js-apis-graphics-text.md | 1827 let glyph = runs[0].getGlyphs();
|