mirror of
https://github.com/gnustep/libs-back.git
synced 2025-04-22 23:42:16 +00:00
Fix return value of width to CGFloat
This commit is contained in:
parent
95f8546eec
commit
c5990ed022
2 changed files with 5 additions and 2 deletions
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue