Fix return value of width to CGFloat

This commit is contained in:
Riccardo Mottola 2020-06-18 00:55:50 +02:00
parent 95f8546eec
commit c5990ed022
2 changed files with 5 additions and 2 deletions

View file

@ -3,6 +3,9 @@
* Source/xlib/XGFontManager.m
Match return value in case of error (nil instead of NO)
* Headers/xlib/XGPrivate.h
Fix return value of width to CGFloat
2020-06-10 Fred Kiefer <FredKiefer@gmx.de>
* Headers/fontconfig/FCFaceInfo.h: Add instancevariable _patternIsResolved.

View file

@ -73,13 +73,13 @@ extern unsigned long XGFontPropULong(Display *dpy, XFontStruct *font_struct,
- (void) draw: (const char*) s length: (int) len
onDisplay: (Display*) xdpy drawable: (Drawable) draw
with: (GC) xgcntxt at: (XPoint) xp;
- (float) widthOf: (const char*) s length: (int) len;
- (CGFloat) widthOf: (const char*) s length: (int) len;
- (void) setActiveFor: (Display*) xdpy gc: (GC) xgcntxt;
- (void) drawGlyphs: (const NSGlyph *) glyphs length: (int) len
onDisplay: (Display*) xdpy drawable: (Drawable) draw
with: (GC) xgcntxt at: (XPoint) xp;
- (float) widthOfGlyphs: (const NSGlyph *) glyphs length: (int) len;
- (CGFloat) widthOfGlyphs: (const NSGlyph *) glyphs length: (int) len;
@end