美摄SDK For iOS
3.14.0
include
sdkcore
ios
NvsCaptionTextLayout.h
浏览该文件的文档.
1
//
2
// This code and information is provided "as is" without warranty of any kind,
3
// either expressed or implied, including but not limited to the implied
4
// warranties of merchantability and/or fitness for a particular purpose.
5
//
6
//--------------------------------------------------------------------------------
7
// Birth Date: May 17. 2022
8
// Author: Meishe video team
9
//================================================================================
10
11
#pragma once
12
#import <Foundation/Foundation.h>
13
#import "
NvsCommonDef.h
"
14
15
NVS_EXPORT
@interface
NvsCaptionTextLayout
: NSObject
16
17
- (int)
getLineCount
;
18
- (
NvsRect
)getBoundingRectAtLine:(
int
)lineNum;
19
- (int)getGlyphCountInLine:(
int
)lineNum;
20
- (
NvsRect
)getGlyphBoundingRect:(
int
)lineNum glyphIndexInLine:(
int
)glyphIndexInLine;
21
22
@end
NvsRect
矩形
Definition:
NvsCommonDef.h:361
-[NvsCaptionTextLayout getLineCount]
int getLineCount()
NVS_EXPORT
#define NVS_EXPORT
Definition:
NvsCommonDef.h:20
NvsCommonDef.h
NvsCaptionTextLayout
Definition:
NvsCaptionTextLayout.h:16
制作者
1.8.18