MCPcopy Create free account

hub / github.com/gioui/gio / functions

Functions3,179 in github.com/gioui/gio

↓ 2 callersFunctionfloor
(v float32)
internal/f32/f32.go:175
↓ 2 callersFunctionformatFor
(format driver.TextureFormat)
gpu/internal/vulkan/vulkan.go:1142
↓ 2 callersFunctionfreeCStringArr
(s []*C.char)
internal/vk/vulkan.go:877
↓ 2 callersMethodgap
()
op/clip/clip.go:186
↓ 2 callersMethodget
(i int)
internal/fling/extrapolation.go:117
↓ 2 callersFunctiongetGlyphs
getGlyphs shapes text as english.
widget/index_test.go:99
↓ 2 callersMethodgetLineEnd
()
widget/index.go:25
↓ 2 callersFunctiongetPointerButtons
(pi windows.PointerInfo)
app/os_windows.go:1061
↓ 2 callersFunctiongetPointerIDwParam
GET_POINTERID_WPARAM (winuser.h)
app/os_windows.go:1057
↓ 2 callersMethodglslFor
(src shader.Sources)
gpu/internal/opengl/opengl.go:907
↓ 2 callersMethodhandleEvents
handleEvents returns true if the window needs to be redrawn.
app/os_x11.go:544
↓ 2 callersMethodhashGlyphs
hashGlyphs computes a hash key based on the ID and X offset of every glyph in the slice.
text/lru.go:98
↓ 2 callersMethodimeSetSelection
(long handle, int start, int end)
app/GioView.java:580
↓ 2 callersMethodinputOp
(tag event.Tag, state *keyHandler, t f32.Affine2D, area int, bounds image.Rectangle)
io/input/key.go:319
↓ 2 callersMethodinsert
insert adds e to the lru linked list.
text/lru.go:68
↓ 2 callersMethodinsertPosition
(pos combinedPos)
widget/index.go:119
↓ 2 callersMethodkeyEvent
(e js.Value, ks key.State)
app/os_js.go:570
↓ 2 callersMethodlayout
(gtx layout.Context, textMaterial, selectMaterial op.CallOp)
widget/editor.go:708
↓ 2 callersMethodlayout
(gtx layout.Context, checked, hovered bool)
widget/material/checkable.go:32
↓ 2 callersMethodlayoutParagraph
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 callersMethodlayoutText
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 callersFunctionlexQuote
(l *lexer, mark string)
text/family_parser.go:121
↓ 2 callersMethodloadConfig
(env *C.JNIEnv, class C.jclass)
app/os_android.go:833
↓ 2 callersFunctionloadRegular
()
font/gofont/gofont.go:38
↓ 2 callersMethodlocate
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 callersFunctionlogFd
(fd uintptr)
app/log_android.go:61
↓ 2 callersFunctionmallocCStringArr
(s []string)
internal/vk/vulkan.go:869
↓ 2 callersFunctionmapDirection
(d system.TextDirection)
text/gotext.go:823
↓ 2 callersFunctionmaxPoint
(p1, p2 image.Point)
io/input/router.go:669
↓ 2 callersFunctionminPoint
(p1, p2 image.Point)
io/input/router.go:680
↓ 2 callersFunctionmix
mix mixes c1 and c2 weighted by (1 - a/256) and a/256 respectively.
internal/f32color/rgba.go:172
↓ 2 callersFunctionmodifiersFor
modifiersFor returns the modifier set for a DOM MouseEvent or KeyEvent.
app/os_js.go:638
↓ 2 callersMethodmoveGap
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 callersMethodnewBuffer
(typ driver.BufferBinding, size int, data []byte, immutable bool)
gpu/internal/d3d11/d3d11_windows.go:402
↓ 2 callersFunctionnewContext
()
gpu/headless/headless.go:38
↓ 2 callersFunctionnewDisplayLink
(callback func())
app/os_darwin.go:124
↓ 2 callersFunctionnewGlyphID
newGlyphID encodes a face and a glyph id into a GlyphID.
text/shaper.go:557
↓ 2 callersFunctionnewShaders
(ctx driver.Device, vsrc, fsrc shader.Sources)
gpu/gpu.go:1593
↓ 2 callersFunctionnewShaperImpl
(systemFonts bool, collection []FontFace)
text/gotext.go:244
↓ 2 callersFunctionnewStringSource
(str string)
widget/selectable.go:31
↓ 2 callersFunctionnewWindowRendezvous
()
app/os.go:223
↓ 2 callersMethodnext
next advances to the next child.
layout/list.go:184
↓ 2 callersMethodnextDir
()
layout/list.go:212
↓ 2 callersMethodobtainA11yEvent
(int eventType, int viewId)
app/GioView.java:346
↓ 2 callersMethodonFocusChange
(long handle, boolean focus)
app/GioView.java:565
↓ 2 callersMethodonTouchEvent
(MotionEvent event)
app/GioView.java:149
↓ 2 callersFunctionosMain
()
app/os_js.go:1078
↓ 2 callersMethodparse
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 callersFunctionparseLoader
parseLoader parses the contents of the loader into a face and its font.
font/opentype/opentype.go:96
↓ 2 callersFunctionpixelFormatFor
(f driver.TextureFormat)
gpu/internal/metal/metal_darwin.go:716
↓ 2 callersFunctionpolyFit
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 callersMethodpop
(sid StackID)
internal/ops/ops.go:311
↓ 2 callersMethodprepareDraw
()
gpu/internal/opengl/opengl.go:854
↓ 2 callersMethodprepareDraw
()
gpu/internal/d3d11/d3d11_windows.go:575
↓ 2 callersFunctionprintLinePositioning
(t *testing.T, lines []line, glyphs []Glyph)
text/shaper_test.go:435
↓ 2 callersFunctionprintTree
(indent int, n SemanticNode)
io/input/semantic_test.go:127
↓ 2 callersMethodprocessDataEvent
(content string)
app/os_windows.go:727
↓ 2 callersMethodprocessEvent
(e event.Event)
app/window.go:605
↓ 2 callersMethodprocessEvent
(e event.Event)
app/os_macos.go:954
↓ 2 callersMethodprocessFrame
(frame *op.Ops, ack chan<- struct{})
app/window.go:224
↓ 2 callersMethodprocessPointerEvent
(gtx layout.Context, ev event.Event)
widget/editor.go:281
↓ 2 callersFunctionprocessURLEvent
(rawurl string)
app/os_windows.go:1143
↓ 2 callersMethodprops
()
internal/ops/ops.go:431
↓ 2 callersMethodpush
()
internal/ops/ops.go:295
↓ 2 callersMethodpushArea
(kind areaKind, bounds image.Rectangle)
io/input/pointer.go:169
↓ 2 callersFunctionquadInterp
quadInterp returns the interpolated point at t.
internal/stroke/stroke.go:478
↓ 2 callersMethodqueryState
()
gpu/internal/opengl/opengl.go:309
↓ 2 callersMethodreadClipboard
(Context ctx)
app/Gio.java:50
↓ 2 callersMethodreleaseFBO
()
app/d3d11_windows.go:130
↓ 2 callersMethodremove
remove cuts e out of the lru linked list.
text/lru.go:62
↓ 2 callersMethodresetState
()
io/input/pointer.go:146
↓ 2 callersFunctionrot90CW
(p f32.Point)
internal/stroke/stroke.go:327
↓ 2 callersMethodrotate
(radians float32)
f32/affine.go:140
↓ 2 callersMethodrunDefers
()
gpu/internal/vulkan/vulkan.go:213
↓ 2 callersFunctionrunMain
()
app/runmain.go:22
↓ 2 callersFunctionsamplerFilterFor
(f driver.TextureFilter)
gpu/internal/metal/metal_darwin.go:613
↓ 2 callersMethodscale
scale computes the new dimensions and transformation required to fit dims to cs, given the position.
widget/fit.go:34
↓ 2 callersMethodscale
(factor Point)
f32/affine.go:133
↓ 2 callersMethodscrollEvent
(wParam, lParam uintptr, horizontal bool, kmods key.Modifiers)
app/os_windows.go:563
↓ 2 callersMethodscrollToEnd
()
layout/list.go:142
↓ 2 callersMethodsemanticEnabled
(enabled bool)
io/input/pointer.go:389
↓ 2 callersMethodsemanticSelected
(selected bool)
io/input/pointer.go:382
↓ 2 callersMethodsendA11yEvent
(int eventType, int viewId)
app/GioView.java:338
↓ 2 callersMethodsetBarColor
(Bar t, int color, int luminance)
app/GioView.java:196
↓ 2 callersMethodsetBlendFuncSeparate
(f *gl.Functions, srcRGB, dstRGB, srcA, dstA gl.Enum)
gpu/internal/opengl/opengl.go:620
↓ 2 callersMethodsetComposingText
(CharSequence text, int relCursor)
app/GioView.java:712
↓ 2 callersMethodsetConfig
(env *C.JNIEnv, cnf Config)
app/os_android.go:1369
↓ 2 callersMethodsetCursor
(pointer *C.struct_wl_pointer, serial C.uint32_t)
app/os_wayland.go:1187
↓ 2 callersMethodsetTitle
(prev, cnf Config)
app/os_wayland.go:1135
↓ 2 callersMethodsetTitle
(title string)
app/os_macos.go:519
↓ 2 callersMethodsetTitle
(prev, cnf Config)
app/os_x11.go:243
↓ 2 callersMethodsetViewport
(f *gl.Functions, x, y, width, height int)
gpu/internal/opengl/opengl.go:612
↓ 2 callersMethodsetVisible
(env *C.JNIEnv)
app/os_android.go:812
↓ 2 callersMethodsetWindowConstraints
()
app/os_wayland.go:1116
↓ 2 callersMethodsetup
(funcs *gl.Functions, p gl.Program, uniformSize int, uniforms []shader.UniformLocation)
gpu/internal/opengl/opengl.go:1009
↓ 2 callersMethodshapeText
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 callersMethodshear
(radiansX, radiansY float32)
f32/affine.go:149
↓ 2 callersFunctionsign
(n int)
widget/editor.go:1131
↓ 2 callersFunctionsliceOf
sliceOf returns a slice from a (native) pointer.
gpu/internal/d3d11/d3d11_windows.go:869
↓ 2 callersFunctionsnippetSubstring
(s key.Snippet, r key.Range)
app/ime.go:133
← previousnext →801–900 of 3,179, ranked by callers