Manual Pages for Linux CentOS command on man xcb_list_fonts_with_info_reply
MyWebUniversity

Manual Pages for Linux CentOS command on man xcb_list_fonts_with_info_reply

xcblistfontswithinfo(3) XCB Requests xcblistfontswithinfo(3)

NAME

xcblistfontswithinfo - get matching font names and information SYNOPSIS

#include Request function xcblistfontswithinfocookiet xcblistfontswithinfo(xcbconnectiont *conn, uint16t maxnames, uint16t patternlen, const char *pattern); Reply datastructure typedef struct xcblistfontswithinforeplyt { uint8t responsetype; uint8t namelen; uint16t sequence; uint32t length; xcbcharinfot minbounds; uint8t pad0[4]; xcbcharinfot maxbounds; uint8t pad1[4]; uint16t mincharorbyte2; uint16t maxcharorbyte2; uint16t defaultchar; uint16t propertieslen; uint8t drawdirection; uint8t minbyte1; uint8t maxbyte1; uint8t allcharsexist; int16t fontascent; int16t fontdescent; uint32t replieshint; } xcblistfontswithinforeplyt; Reply function xcblistfontswithinforeplyt *xcblistfontswithinforeply(xcbconnectiont *conn, xcblistfontswithinfocookiet cookie, xcbgenericerrort **e); Reply accessors xcbfontpropt *xcblistfontswithinfoproperties(const xcblistfontswithinforequestt *reply); int xcblistfontswithinfopropertieslength(const xcblistfontswithinforeplyt *reply); xcbfontpropiteratort xcblistfontswithinfopropertiesiterator(const xcblistfontswithinforeplyt *reply); char *xcblistfontswithinfoname(const xcblistfontswithinforequestt *reply); int xcblistfontswithinfonamelength(const xcblistfontswithinforeplyt *reply); xcbgenericiteratort xcblistfontswithinfonameend(const xcblistfontswithinforeplyt *reply); REQUEST ARGUMENTS conn The XCB connection to X11. maxnames The maximum number of fonts to be returned. patternlen The length (in bytes) of pattern.

pattern A font pattern, for example "-misc-fixed-*". The asterisk (*) is a wildcard for any number of characters. The question mark (?) is a wildcard for a single character. Use of uppercase or lowercase does not matter. REPLY FIELDS responsetype The type of this reply, in this case XCBLISTFONTSWITHIN‐ FO. This field is also present in the xcbgenericreplyt and can be used to tell replies apart from each other. sequence The sequence number of the last request processed by the X11 server. length The length of the reply, in words (a word is 4 bytes). namelen The number of matched font names. minbounds minimum bounds over all existing char maxbounds maximum bounds over all existing char mincharorbyte2 first character maxcharorbyte2 last character defaultchar char to print for undefined character propertieslen how many properties there are drawdirection One of the following values: XCBFONTDRAWLEFTTORIGHT TODO: NOT YET DOCUMENTED. XCBFONTDRAWRIGHTTOLEFT TODO: NOT YET DOCUMENTED. minbyte1 TODO: NOT YET DOCUMENTED. maxbyte1 TODO: NOT YET DOCUMENTED. allcharsexist flag if all characters have nonzero size fontascent baseline to top edge of raster fontdescent baseline to bottom edge of raster replieshint An indication of how many more fonts will be returned. This is only a hint and may be larger or smaller than the number of fonts actually returned. A zero value does not guarantee that no more fonts will be returned. DESCRIPTION Gets a list of available font names which match the given pattern. RETURN VALUE Returns an xcblistfontswithinfocookiet. Errors have to be handled when calling the reply function xcblistfontswithinforeply. If you want to handle errors in the event loop instead, use

xcblistfontswithinfounchecked. See xcb-requests(3) for details. ERRORS This request does never generate any errors. SEE ALSO

xcb-requests(3) AUTHOR Generated from xproto.xml. Contact xcb@lists.freedesktop.org for cor‐ rections and improvements. X Version 11 libxcb 1.13 xcblistfontswithinfo(3)




Contact us      |      About us      |      Term of use      |       Copyright © 2000-2019 MyWebUniversity.com ™