Graphviz 16.1.3~dev.20261121.1645
Loading...
Searching...
No Matches
GVTextLayout.h
Go to the documentation of this file.
1/*************************************************************************
2 * Copyright (c) 2011 AT&T Intellectual Property
3 * All rights reserved. This program and the accompanying materials
4 * are made available under the terms of the Eclipse Public License v2.0
5 * which accompanies this distribution, and is available at
6 * https://www.eclipse.org/org/documents/epl-2.0/EPL-2.0.html
7 *
8 * Contributors: Details at https://graphviz.org
9 *************************************************************************/
10
11#import <UIKit/UIKit.h>
12
13@interface GVTextLayout : NSObject {
14 UIFont *_font;
15 NSString *_text;
16}
17
18- (id)initWithFontName:(char *)fontName
19 fontSize:(CGFloat)fontSize
20 text:(char *)text;
21
22- (void)sizeUpWidth:(double *)width
23 height:(double *)height
24 yoffset:(double *)yoffset;
25- (void)drawInContext:(CGContextRef)context atPosition:(CGPoint)position;
26
27- (void)dealloc;
28
29@end
static uint64_t id
Definition gv2gml.c:42
UIFont * _font
NSString * _text