Manual Pages for Linux CentOS command on man xcb_query_font_properties
MyWebUniversity

Manual Pages for Linux CentOS command on man xcb_query_font_properties

xcbqueryfont(3) XCB Requests xcbqueryfont(3)

NAME

xcbqueryfont - query font metrics SYNOPSIS

#include Request function xcbqueryfontcookiet xcbqueryfont(xcbconnectiont *conn, xcbfontablet font); Reply datastructure typedef struct xcbqueryfontreplyt { uint8t responsetype; uint8t pad0; uint16t sequence; uint32t length; xcbcharinfot minbounds; uint8t pad1[4]; xcbcharinfot maxbounds; uint8t pad2[4]; uint16t mincharorbyte2; uint16t maxcharorbyte2; uint16t defaultchar; uint16t propertieslen; uint8t drawdirection; uint8t minbyte1; uint8t maxbyte1; uint8t allcharsexist; int16t fontascent; int16t fontdescent; uint32t charinfoslen; } xcbqueryfontreplyt; Reply function xcbqueryfontreplyt *xcbqueryfontreply(xcbconnectiont *conn, xcbqueryfontcookiet cookie, xcbgenericerrort **e); Reply accessors xcbfontpropt *xcbqueryfontproperties(const xcbqueryfontrequestt *reply); int xcbqueryfontpropertieslength(const xcbqueryfontreplyt *reply); xcbfontpropiteratort xcbqueryfontpropertiesiterator(const xcbqueryfontreplyt *reply); xcbcharinfot *xcbqueryfontcharinfos(const xcbqueryfontrequestt *reply); int xcbqueryfontcharinfoslength(const xcbqueryfontreplyt *reply); xcbcharinfoiteratort xcbqueryfontcharinfositerator(const xcbqueryfontreplyt *reply); REQUEST ARGUMENTS conn The XCB connection to X11. font The fontable (Font or Graphics Context) to query. REPLY FIELDS responsetype The type of this reply, in this case XCBQUERYFONT. 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). 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 charinfoslen TODO: NOT YET DOCUMENTED. DESCRIPTION Queries information associated with the font. RETURN VALUE Returns an xcbqueryfontcookiet. Errors have to be handled when calling the reply function xcbqueryfontreply. If you want to handle errors in the event loop instead, use

xcbqueryfontunchecked. 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 xcbqueryfont(3)




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