Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/gioui/gio
/ functions
Functions
3,179 in github.com/gioui/gio
⨍
Functions
3,179
◇
Types & classes
680
↓ 2 callers
Function
floor
(v float32)
internal/f32/f32.go:175
↓ 2 callers
Function
formatFor
(format driver.TextureFormat)
gpu/internal/vulkan/vulkan.go:1142
↓ 2 callers
Function
freeCStringArr
(s []*C.char)
internal/vk/vulkan.go:877
↓ 2 callers
Method
gap
()
op/clip/clip.go:186
↓ 2 callers
Method
get
(i int)
internal/fling/extrapolation.go:117
↓ 2 callers
Function
getGlyphs
getGlyphs shapes text as english.
widget/index_test.go:99
↓ 2 callers
Method
getLineEnd
()
widget/index.go:25
↓ 2 callers
Function
getPointerButtons
(pi windows.PointerInfo)
app/os_windows.go:1061
↓ 2 callers
Function
getPointerIDwParam
GET_POINTERID_WPARAM (winuser.h)
app/os_windows.go:1057
↓ 2 callers
Method
glslFor
(src shader.Sources)
gpu/internal/opengl/opengl.go:907
↓ 2 callers
Method
handleEvents
handleEvents returns true if the window needs to be redrawn.
app/os_x11.go:544
↓ 2 callers
Method
hashGlyphs
hashGlyphs computes a hash key based on the ID and X offset of every glyph in the slice.
text/lru.go:98
↓ 2 callers
Method
imeSetSelection
(long handle, int start, int end)
app/GioView.java:580
↓ 2 callers
Method
inputOp
(tag event.Tag, state *keyHandler, t f32.Affine2D, area int, bounds image.Rectangle)
io/input/key.go:319
↓ 2 callers
Method
insert
insert adds e to the lru linked list.
text/lru.go:68
↓ 2 callers
Method
insertPosition
(pos combinedPos)
widget/index.go:119
↓ 2 callers
Method
keyEvent
(e js.Value, ks key.State)
app/os_js.go:570
↓ 2 callers
Method
layout
(gtx layout.Context, textMaterial, selectMaterial op.CallOp)
widget/editor.go:708
↓ 2 callers
Method
layout
(gtx layout.Context, checked, hovered bool)
widget/material/checkable.go:32
↓ 2 callers
Method
layoutParagraph
layoutParagraph shapes and wraps a paragraph using the provided parameters. It accepts the paragraph data in either string or rune format, preferring
text/shaper.go:381
↓ 2 callers
Method
layoutText
layoutText lays out a large text document by breaking it into paragraphs and laying out each of them separately. This allows the shaping results to be
text/shaper.go:303
↓ 2 callers
Function
lexQuote
(l *lexer, mark string)
text/family_parser.go:121
↓ 2 callers
Method
loadConfig
(env *C.JNIEnv, class C.jclass)
app/os_android.go:833
↓ 2 callers
Function
loadRegular
()
font/gofont/gofont.go:38
↓ 2 callers
Method
locate
locate returns highlight regions covering the glyphs that represent the runes in [startRune,endRune). If the rects parameter is non-nil, locate will u
widget/index.go:382
↓ 2 callers
Function
logFd
(fd uintptr)
app/log_android.go:61
↓ 2 callers
Function
mallocCStringArr
(s []string)
internal/vk/vulkan.go:869
↓ 2 callers
Function
mapDirection
(d system.TextDirection)
text/gotext.go:823
↓ 2 callers
Function
maxPoint
(p1, p2 image.Point)
io/input/router.go:669
↓ 2 callers
Function
minPoint
(p1, p2 image.Point)
io/input/router.go:680
↓ 2 callers
Function
mix
mix mixes c1 and c2 weighted by (1 - a/256) and a/256 respectively.
internal/f32color/rgba.go:172
↓ 2 callers
Function
modifiersFor
modifiersFor returns the modifier set for a DOM MouseEvent or KeyEvent.
app/os_js.go:638
↓ 2 callers
Method
moveGap
moveGap moves the gap to the caret position. After returning, the gap is guaranteed to be at least space bytes long.
widget/buffer.go:52
↓ 2 callers
Method
newBuffer
(typ driver.BufferBinding, size int, data []byte, immutable bool)
gpu/internal/d3d11/d3d11_windows.go:402
↓ 2 callers
Function
newContext
()
gpu/headless/headless.go:38
↓ 2 callers
Function
newDisplayLink
(callback func())
app/os_darwin.go:124
↓ 2 callers
Function
newGlyphID
newGlyphID encodes a face and a glyph id into a GlyphID.
text/shaper.go:557
↓ 2 callers
Function
newShaders
(ctx driver.Device, vsrc, fsrc shader.Sources)
gpu/gpu.go:1593
↓ 2 callers
Function
newShaperImpl
(systemFonts bool, collection []FontFace)
text/gotext.go:244
↓ 2 callers
Function
newStringSource
(str string)
widget/selectable.go:31
↓ 2 callers
Function
newWindowRendezvous
()
app/os.go:223
↓ 2 callers
Method
next
next advances to the next child.
layout/list.go:184
↓ 2 callers
Method
nextDir
()
layout/list.go:212
↓ 2 callers
Method
obtainA11yEvent
(int eventType, int viewId)
app/GioView.java:346
↓ 2 callers
Method
onFocusChange
(long handle, boolean focus)
app/GioView.java:565
↓ 2 callers
Method
onTouchEvent
(MotionEvent event)
app/GioView.java:149
↓ 2 callers
Function
osMain
()
app/os_js.go:1078
↓ 2 callers
Method
parse
parse the provided rule and return the extracted font families. The returned families are valid only until the next call to parse. If parsing fails, a
text/family_parser.go:213
↓ 2 callers
Function
parseLoader
parseLoader parses the contents of the loader into a face and its font.
font/opentype/opentype.go:96
↓ 2 callers
Function
pixelFormatFor
(f driver.TextureFormat)
gpu/internal/metal/metal_darwin.go:716
↓ 2 callers
Function
polyFit
fit computes the least squares polynomial fit for the set of points in X, Y. If the fitting fails because of contradicting or insufficient data, fit r
internal/fling/extrapolation.go:126
↓ 2 callers
Method
pop
(sid StackID)
internal/ops/ops.go:311
↓ 2 callers
Method
prepareDraw
()
gpu/internal/opengl/opengl.go:854
↓ 2 callers
Method
prepareDraw
()
gpu/internal/d3d11/d3d11_windows.go:575
↓ 2 callers
Function
printLinePositioning
(t *testing.T, lines []line, glyphs []Glyph)
text/shaper_test.go:435
↓ 2 callers
Function
printTree
(indent int, n SemanticNode)
io/input/semantic_test.go:127
↓ 2 callers
Method
processDataEvent
(content string)
app/os_windows.go:727
↓ 2 callers
Method
processEvent
(e event.Event)
app/window.go:605
↓ 2 callers
Method
processEvent
(e event.Event)
app/os_macos.go:954
↓ 2 callers
Method
processFrame
(frame *op.Ops, ack chan<- struct{})
app/window.go:224
↓ 2 callers
Method
processPointerEvent
(gtx layout.Context, ev event.Event)
widget/editor.go:281
↓ 2 callers
Function
processURLEvent
(rawurl string)
app/os_windows.go:1143
↓ 2 callers
Method
props
()
internal/ops/ops.go:431
↓ 2 callers
Method
push
()
internal/ops/ops.go:295
↓ 2 callers
Method
pushArea
(kind areaKind, bounds image.Rectangle)
io/input/pointer.go:169
↓ 2 callers
Function
quadInterp
quadInterp returns the interpolated point at t.
internal/stroke/stroke.go:478
↓ 2 callers
Method
queryState
()
gpu/internal/opengl/opengl.go:309
↓ 2 callers
Method
readClipboard
(Context ctx)
app/Gio.java:50
↓ 2 callers
Method
releaseFBO
()
app/d3d11_windows.go:130
↓ 2 callers
Method
remove
remove cuts e out of the lru linked list.
text/lru.go:62
↓ 2 callers
Method
resetState
()
io/input/pointer.go:146
↓ 2 callers
Function
rot90CW
(p f32.Point)
internal/stroke/stroke.go:327
↓ 2 callers
Method
rotate
(radians float32)
f32/affine.go:140
↓ 2 callers
Method
runDefers
()
gpu/internal/vulkan/vulkan.go:213
↓ 2 callers
Function
runMain
()
app/runmain.go:22
↓ 2 callers
Function
samplerFilterFor
(f driver.TextureFilter)
gpu/internal/metal/metal_darwin.go:613
↓ 2 callers
Method
scale
scale computes the new dimensions and transformation required to fit dims to cs, given the position.
widget/fit.go:34
↓ 2 callers
Method
scale
(factor Point)
f32/affine.go:133
↓ 2 callers
Method
scrollEvent
(wParam, lParam uintptr, horizontal bool, kmods key.Modifiers)
app/os_windows.go:563
↓ 2 callers
Method
scrollToEnd
()
layout/list.go:142
↓ 2 callers
Method
semanticEnabled
(enabled bool)
io/input/pointer.go:389
↓ 2 callers
Method
semanticSelected
(selected bool)
io/input/pointer.go:382
↓ 2 callers
Method
sendA11yEvent
(int eventType, int viewId)
app/GioView.java:338
↓ 2 callers
Method
setBarColor
(Bar t, int color, int luminance)
app/GioView.java:196
↓ 2 callers
Method
setBlendFuncSeparate
(f *gl.Functions, srcRGB, dstRGB, srcA, dstA gl.Enum)
gpu/internal/opengl/opengl.go:620
↓ 2 callers
Method
setComposingText
(CharSequence text, int relCursor)
app/GioView.java:712
↓ 2 callers
Method
setConfig
(env *C.JNIEnv, cnf Config)
app/os_android.go:1369
↓ 2 callers
Method
setCursor
(pointer *C.struct_wl_pointer, serial C.uint32_t)
app/os_wayland.go:1187
↓ 2 callers
Method
setTitle
(prev, cnf Config)
app/os_wayland.go:1135
↓ 2 callers
Method
setTitle
(title string)
app/os_macos.go:519
↓ 2 callers
Method
setTitle
(prev, cnf Config)
app/os_x11.go:243
↓ 2 callers
Method
setViewport
(f *gl.Functions, x, y, width, height int)
gpu/internal/opengl/opengl.go:612
↓ 2 callers
Method
setVisible
(env *C.JNIEnv)
app/os_android.go:812
↓ 2 callers
Method
setWindowConstraints
()
app/os_wayland.go:1116
↓ 2 callers
Method
setup
(funcs *gl.Functions, p gl.Program, uniformSize int, uniforms []shader.UniformLocation)
gpu/internal/opengl/opengl.go:1009
↓ 2 callers
Method
shapeText
shapeText invokes the text shaper and returns the raw text data in the shaper's native format. It does not wrap lines.
text/gotext.go:403
↓ 2 callers
Method
shear
(radiansX, radiansY float32)
f32/affine.go:149
↓ 2 callers
Function
sign
(n int)
widget/editor.go:1131
↓ 2 callers
Function
sliceOf
sliceOf returns a slice from a (native) pointer.
gpu/internal/d3d11/d3d11_windows.go:869
↓ 2 callers
Function
snippetSubstring
(s key.Snippet, r key.Range)
app/ime.go:133
← previous
next →
801–900 of 3,179, ranked by callers