Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/danfragoso/thdwb
/ functions
Functions
486 in github.com/danfragoso/thdwb
⨍
Functions
486
◇
Types & classes
63
↓ 1 callers
Method
joiner
()
gg/context.go:406
↓ 1 callers
Function
layoutDOM
(ctx *gg.Context, node *hotdog.NodeDOM, childIdx int)
bun/bun.go:62
↓ 1 callers
Function
layoutNode
(ctx *gg.Context, node *hotdog.NodeDOM)
bun/layout.go:32
↓ 1 callers
Function
loadErrorPage
(err string)
sauce/pages.go:3
↓ 1 callers
Function
mapPropToStylesheet
(parsedStyleSheet *hotdog.Stylesheet, propSlice []string)
mayo/mayo.go:50
↓ 1 callers
Function
paintBlockElement
(ctx *gg.Context, node *hotdog.NodeDOM)
bun/block.go:8
↓ 1 callers
Function
paintDebugRect
(ctx *gg.Context, node *hotdog.NodeDOM)
browser/browser.go:139
↓ 1 callers
Function
paintInlineElement
(ctx *gg.Context, node *hotdog.NodeDOM)
bun/inline.go:13
↓ 1 callers
Function
paintListItemElement
(ctx *gg.Context, node *hotdog.NodeDOM)
bun/listItem.go:8
↓ 1 callers
Function
paintText
(ctx *gg.Context, node *hotdog.NodeDOM)
bun/layout.go:36
↓ 1 callers
Function
parseHexColor
(x string)
gg/util.go:92
↓ 1 callers
Function
parseInlineStylesheet
(attributes []*hotdog.Attribute, elementStylesheet *hotdog.Stylesheet)
mayo/mayo.go:74
↓ 1 callers
Method
processFrame
()
mustard/window.go:101
↓ 1 callers
Function
processPointerPositionEvent
(browser *hotdog.WebBrowser, x, y float64)
browser/browser.go:88
↓ 1 callers
Function
quadratic
(x0, y0, x1, y1, x2, y2, t float64)
gg/bezier.go:5
↓ 1 callers
Function
redrawWidgets
(widget Widget)
mustard/app.go:46
↓ 1 callers
Function
retrieveAttributes
(node *html.Node)
ketchup/helpers.go:76
↓ 1 callers
Function
retrieveChildren
(node *html.Node)
ketchup/helpers.go:59
↓ 1 callers
Function
selectNodeByValue
(nodes []*TreeWidgetNode, value string)
mustard/tree.go:76
↓ 1 callers
Method
selectWidget
(widget Widget)
mustard/events.go:24
↓ 1 callers
Method
setCoords
(top, left, width, height float64)
mustard/contextMenu.go:177
↓ 1 callers
Function
setWidgetWindow
(widget Widget, window *Window)
mustard/app.go:38
↓ 1 callers
Function
splitOnSpace
(x string)
gg/wrap.go:12
↓ 1 callers
Method
stroke
(painter raster.Painter)
gg/context.go:416
↓ 1 callers
Function
treeNodeFromDOM
(node *hotdog.NodeDOM)
browser/browser.go:72
↓ 1 callers
Function
wordWrap
(m measureStringer, s string, width float64)
gg/wrap.go:28
Method
AddColorStop
(offset float64, color color.Color)
gg/gradient.go:74
Method
AddColorStop
(offset float64, color color.Color)
gg/gradient.go:141
Method
AddNode
(childNode *TreeWidgetNode)
mustard/types.go:285
Method
AsMask
AsMask returns an *image.Alpha representing the alpha channel of this context. This can be useful for advanced clipping operations where you first ren
gg/context.go:530
Method
BaseWidget
()
mustard/widget.go:223
Function
BenchmarkCircles
(b *testing.B)
gg/context_test.go:307
Method
Buffer
()
mustard/widget.go:186
Method
Click
()
mustard/button.go:73
Method
ColorAt
(x, y int)
gg/pattern.go:28
Method
ColorAt
(x, y int)
gg/pattern.go:42
Method
ColorAt
(x, y int)
gg/gradient.go:42
Method
ColorAt
(x, y int)
gg/gradient.go:103
Method
ComputedBox
()
mustard/widget.go:170
Function
CreateTextWidget
CreateTextWidget - Creates and returns a new Text Widget
mustard/text.go:12
Function
Degrees
(radians float64)
gg/util.go:26
Method
DetachWidget
(wd Widget)
mustard/widget.go:203
Method
DisableScrolling
()
mustard/canvas.go:50
Method
DrawImageAnchored
DrawImageAnchored draws the specified image at the specified anchor point. The anchor point is x - w * ax, y - h * ay, where w, h is the size of the i
gg/context.go:680
Method
DrawRegularPolygon
(n int, x, y, r, rotation float64)
gg/context.go:657
Method
DrawRoundedRectangle
(x, y, w, h, r float64)
gg/context.go:599
Method
EnableScrolling
()
mustard/canvas.go:46
Method
EncodeJPG
EncodeJPG encodes the image as a JPG and writes it to the provided io.Writer in JPEG 4:2:0 baseline format with the given options. Default parameters
gg/context.go:164
Method
EncodePNG
EncodePNG encodes the image as a PNG and writes it to the provided io.Writer.
gg/context.go:157
Method
GetAllProfiles
()
profiler/profiler.go:42
Method
GetContent
GetContent - Gets the label content
mustard/label.go:63
Method
GetContent
GetContent - Gets the text content
mustard/text.go:65
Method
GetContent
GetContent - Gets the button content
mustard/button.go:78
Method
GetCurrentPoint
GetCurrentPoint will return the current point and if there is a current point. The point will have been transformed by the context's transformation ma
gg/context.go:124
Method
GetCursorPos
()
mustard/input.go:79
Method
GetHeight
()
mustard/widget.go:166
Method
GetLeft
()
mustard/widget.go:158
Method
GetName
()
profiler/profiler.go:62
Method
GetSize
SetRootFrame - Sets the window root frame
mustard/window.go:97
Method
GetWidth
()
mustard/widget.go:162
Method
InvertMask
InvertMask inverts the alpha values in the current clipping mask such that a fully transparent region becomes fully opaque and vice versa.
gg/context.go:538
Method
InvertY
InvertY flips the Y axis so that Y grows from bottom to top and Y=0 is at the bottom of the image.
gg/context.go:928
Method
JSON
()
hotdog/node.go:36
Method
Less
Less satisfies the Sort interface.
gg/gradient.go:22
Method
LoadAssetFont
(font []byte, points float64)
gg/context.go:719
Method
LoadFontFace
(path string, points float64)
gg/context.go:710
Function
LoadImage
(path string)
gg/util.go:30
Function
LoadJPG
(path string)
gg/util.go:63
Function
LoadPNG
(path string)
gg/util.go:45
Method
MeasureMultilineString
(s string, lineSpacing float64)
gg/context.go:826
Method
NeedsRepaint
()
mustard/widget.go:227
Function
NewContextForImage
NewContextForImage copies the specified image into a new image.RGBA and prepares a context for rendering onto that image.
gg/context.go:91
Function
NewSurfacePattern
(im image.Image, op RepeatOp)
gg/pattern.go:63
Method
NextSibling
()
mustard/types.go:291
Method
Paint
Paint satisfies the Painter interface.
gg/pattern.go:74
Function
ParseMui
(muiString string)
mustard/mui.go:3
Method
Pop
()
hotdog/structs.go:79
Method
Push
(URL *url.URL)
hotdog/structs.go:63
Function
ReflowNode
(node *hotdog.NodeDOM, prev *hotdog.NodeDOM, siblingsOffset float64)
mayo/reflow.go:7
Method
RequestRepaint
()
mustard/widget.go:146
Method
ResetClip
ResetClip clears the clipping region.
gg/context.go:557
Function
SansSerif
()
assets/fonts.go:3
Method
SaveJPG
SaveJPG encodes the image as a JPG and writes it to disk.
gg/context.go:152
Method
SavePNG
SavePNG encodes the image as a PNG and writes it to disk.
gg/context.go:147
Method
Scale
(x, y float64)
gg/matrix.go:78
Method
ScaleAbout
ScaleAbout updates the current matrix with a scaling factor. Scaling occurs about the specified point.
gg/context.go:886
Method
SetBackgroundColor
SetBackgroundColor - Sets the tree background color
mustard/tree.go:164
Method
SetBackgroundColor
SetBackgroundColor - Sets the label background color
mustard/label.go:76
Method
SetBackgroundColor
SetBackgroundColor - Sets the text background color
mustard/text.go:78
Method
SetBackgroundColor
SetBackgroundColor - Sets the input background color
mustard/input.go:84
Method
SetBackgroundColor
SetBackgroundColor - Sets the button background color
mustard/button.go:91
Method
SetBuffer
(buffer *image.RGBA)
mustard/widget.go:174
Method
SetContent
SetContent - Sets the label content
mustard/label.go:57
Method
SetContent
SetContent - Sets the button content
mustard/button.go:68
Method
SetDashOffset
SetDashOffset sets the initial offset into the dash pattern to use when stroking dashed paths.
gg/context.go:177
Method
SetFillRule
(fillRule FillRule)
gg/context.go:213
Method
SetFillRuleEvenOdd
()
gg/context.go:221
Method
SetFillRuleWinding
()
gg/context.go:217
Method
SetFontColor
SetFontColor - Sets the label font color
mustard/label.go:68
Method
SetFontColor
SetFontColor - Sets the text font color
mustard/text.go:70
← previous
next →
301–400 of 486, ranked by callers