XSetArcMode(3)
β¨ XSetArcMode(3) β¨
πΈ NAME πΈ
okay bestie, this is the XLIB FUNCTIONS page for XSetArcMode, XSetSubwindowMode, and XSetGraphicsExposure β the GC convenience routines π
and yes, the NAME entry says XSetGraphicsExposure (singular) while the actual function below is XSetGraphicsExposures (plural). thatβs the manualβs exact spelling, we do not edit the lore π
π¦ SYNTAX π¦
int XSetArcMode(Display *display, GC gc, int arc_mode);
int XSetSubwindowMode(Display *display, GC gc, int subwindow_mode);
int XSetGraphicsExposures(Display *display, GC gc, Bool
graphics_exposures);
π ARGUMENTS π
arc_modeβ the arc mode. you can passArcChordorArcPieSliceβ¨displayβ the connection to the X server.gcβ the GC.graphics_exposuresβ a Boolean value that says whether you wantGraphicsExposeandNoExposeevents reported when callingXCopyAreaandXCopyPlanewith this GC πsubwindow_modeβ the subwindow mode. you can passClipByChildrenorIncludeInferiorsπ
π DESCRIPTION π
XSetArcMode sets the arc mode in the specified GC. it can generate BadAlloc, BadGC, and BadValue errors π«Ά
XSetSubwindowMode sets the subwindow mode in the specified GC. it can generate BadAlloc, BadGC, and BadValue errors too π
XSetGraphicsExposures sets the graphics-exposures flag in the specified GC. and yeah, it can generate BadAlloc, BadGC, and BadValue errors as well π
π₯ DIAGNOSTICS π₯
BadAllocβ the server failed to allocate the requested resource or server memory πBadGCβ a value for aGContextargument does not name a definedGContextπBadValueβ some numeric value falls outside the range of values accepted by the request. unless a specific range is specified for an argument, the full range defined by the argumentβs type is accepted. any argument defined as a set of alternatives can generate this error π
π§ SEE ALSO π§
XCopyArea(3)XCreateGC(3)XQueryBestSize(3)XSetClipOrigin(3)XSetFillStyle(3)XSetFont(3)XSetLineAttributes(3)XSetState(3)XSetTile(3)Xlib - C Language X Interface
bye bestie π«Ά this footer is brought to you by X Version 11 and libX11 1.8.14 β thereβs no date on this footer, just XSetArcMode(3) energy π
π¦ where this page comes from
- alpine 3.24: libx11-doc 1.8.14-r0 Β· X11
- arch rolling: libx11 1.8.14-1 Β· MIT AND X11
- nixos 26.05: libx11 1.8.14
- nixpkgs unstable: libx11 1.8.14
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms