MCPcopy Create free account

hub / github.com/danfragoso/thdwb / functions

Functions486 in github.com/danfragoso/thdwb

↓ 40 callersMethodFill
Fill fills the current path with the current color. Open subpaths are implicity closed. The path is cleared after this operation.
gg/context.go:495
↓ 33 callersMethodSetHexColor
SetHexColor sets the current color using a hex string. The leading pound sign (#) is optional. Both 3- and 6-digit variations are supported. 8 digits
gg/context.go:255
↓ 32 callersMethodSetRGB
SetRGB sets the current color. r, g, b values should be between 0 and 1, inclusive. Alpha will be set to 1 (fully opaque).
gg/context.go:287
↓ 30 callersMethodAttachWidget
(wd Widget)
mustard/widget.go:194
↓ 28 callersMethodDrawRectangle
(x, y, w, h float64)
gg/context.go:590
↓ 28 callersFunctionNewContext
NewContext creates a new image.RGBA with the specified width and height and prepares a context for rendering onto that image.
gg/context.go:85
↓ 23 callersMethodClear
Convenient Drawing Functions Clear fills the entire image with the current color.
gg/context.go:564
↓ 20 callersMethodImage
Image returns the image that has been drawn by this context.
gg/context.go:132
↓ 19 callersMethodRequestReflow
()
mustard/window.go:125
↓ 16 callersMethodFixed
()
gg/point.go:13
↓ 16 callersFunctioncheckHash
(t *testing.T, dc *Context, expected string)
gg/context_test.go:23
↓ 16 callersFunctionsaveImage
(dc *Context, name string)
gg/context_test.go:30
↓ 14 callersMethodGetCoords
()
mustard/types.go:121
↓ 14 callersFunctionhexToFloatInRange
(hex string)
mayo/color.go:10
↓ 14 callersFunctionunfix
(x fixed.Int26_6)
gg/util.go:121
↓ 13 callersFunctionCreateFrame
CreateFrame - Creates and returns a new Frame
mustard/frame.go:4
↓ 13 callersMethodSetFont
Text Functions
gg/context.go:700
↓ 11 callersMethodAddContextMenuEntry
(entryText string, action func())
mustard/contextMenu.go:19
↓ 11 callersMethodLineTo
LineTo adds a line segment to the current path starting at the current point. If there is no current point, it is equivalent to MoveTo(x, y)
gg/context.go:310
↓ 11 callersMethodSetRGBA
SetRGBA sets the current color. r, g, b, a values should be between 0 and 1, inclusive.
gg/context.go:275
↓ 11 callersFunctionloadDocumentFromUrl
(browser *hotdog.WebBrowser, statusLabel *mustard.LabelWidget, urlInput *mustard.InputWidget, viewPort *mustar
browser/browser.go:61
↓ 10 callersMethodMeasureString
(s string)
gg/wrap.go:9
↓ 10 callersMethodSetValue
SetFontColor - Sets the input font color
mustard/input.go:69
↓ 9 callersMethodClose
()
mustard/types.go:277
↓ 9 callersMethodDrawImage
DrawImage draws the specified image at the specified point.
gg/context.go:672
↓ 9 callersFunctionGetElementStylesheet
(elementName string, attributes []*hotdog.Attribute)
mayo/mayo.go:107
↓ 9 callersMethodMoveTo
Path Manipulation MoveTo starts a new subpath within the current path starting at the specified point.
gg/context.go:295
↓ 9 callersFunctionRadians
(degrees float64)
gg/util.go:22
↓ 9 callersMethodRequestRepaint
()
hotdog/node.go:126
↓ 9 callersMethodSetCursor
(cursorType cursorType)
mustard/window.go:352
↓ 9 callersMethodStroke
Stroke strokes the current path with the current color, line width, line cap, line join and dash settings. The path is cleared after this operation.
gg/context.go:469
↓ 9 callersMethodTranslate
Translate updates the current matrix with a translation.
gg/context.go:874
↓ 9 callersFunctioncopyWidgetToBuffer
(widget Widget, src image.Image)
mustard/widget.go:8
↓ 8 callersMethodDrawString
DrawString draws the specified text at the specified point.
gg/context.go:767
↓ 8 callersMethodSetWidth
SetWidth - Sets the frame width
mustard/frame.go:29
↓ 8 callersMethodTransformPoint
TransformPoint multiplies the specified point by the current matrix, returning a transformed position.
gg/context.go:922
↓ 7 callersMethodGetOffset
()
mustard/canvas.go:59
↓ 7 callersMethodSetBackgroundColor
SetBackgroundColor - Sets the frame background color
mustard/frame.go:21
↓ 6 callersMethodAddColorStop
(offset float64, color color.Color)
gg/gradient.go:33
↓ 6 callersMethodClosePath
ClosePath adds a line segment from the current point to the beginning of the current subpath. If there is no current point, this is a no-op.
gg/context.go:367
↓ 6 callersMethodDrawCircle
(x, y, r float64)
gg/context.go:651
↓ 6 callersMethodDrawLine
(x1, y1, x2, y2 float64)
gg/context.go:585
↓ 6 callersMethodNewSubPath
NewSubPath starts a new subpath within the current path. There is no current point after this operation.
gg/context.go:385
↓ 6 callersMethodSetHeight
SetHeight - Sets the frame height
mustard/frame.go:36
↓ 6 callersMethodSetLineWidth
(lineWidth float64)
gg/context.go:181
↓ 6 callersFunctiongetColor
(pos float64, stops stops)
gg/gradient.go:167
↓ 5 callersMethodBaseWidget
()
mustard/types.go:133
↓ 5 callersMethodDrawStringWrapped
DrawStringWrapped word-wraps the specified string to the given max width and then draws it at the specified anchor point using the given line spacing
gg/context.go:790
↓ 5 callersMethodFindChildByName
(childName string)
hotdog/node.go:73
↓ 5 callersMethodSetContent
SetContent - Sets the text content
mustard/text.go:58
↓ 5 callersMethodStart
(profileName string)
profiler/profiler.go:20
↓ 5 callersMethodWidgets
()
mustard/types.go:130
↓ 5 callersFunctionparseFont
(weight int)
bun/fonts.go:17
↓ 4 callersFunctionCreateButtonWidget
CreateButtonWidget - Creates and returns a new Button Widget
mustard/button.go:12
↓ 4 callersMethodDrawArc
(x, y, r, angle1, angle2 float64)
gg/context.go:647
↓ 4 callersMethodDrawStringAnchored
DrawStringAnchored draws the specified text at the specified anchor point. The anchor point is x - w * ax, y - h * ay, where w, h is the size of the t
gg/context.go:774
↓ 4 callersMethodError
()
hotdog/structs.go:112
↓ 4 callersFunctionLoadAsset
(asset []byte)
gg/util.go:40
↓ 4 callersFunctionLog
(component, msg string)
hotdog/structs.go:207
↓ 4 callersMethodMultiply
(b Matrix)
gg/matrix.go:51
↓ 4 callersFunctionNewSolidPattern
(color color.Color)
gg/pattern.go:32
↓ 4 callersMethodOpen
()
mustard/types.go:281
↓ 4 callersMethodPop
Pop restores the last saved context state from the stack.
gg/context.go:943
↓ 4 callersMethodProcessArrowKeys
(arrowKey string)
mustard/events.go:63
↓ 4 callersMethodPush
Stack Push saves the current state of the context for later retrieval. These can be nested.
gg/context.go:937
↓ 4 callersMethodRegisterButton
(button *ButtonWidget, callback func())
mustard/window.go:331
↓ 4 callersMethodRemoveStaticOverlay
(ref string)
mustard/window.go:394
↓ 4 callersMethodSetFontSize
SetFontSize - Sets the tree font size
mustard/tree.go:150
↓ 4 callersFunctiondot3
(x0, y0, z0, x1, y1, z1 float64)
gg/gradient.go:99
↓ 4 callersFunctionlerp
(a, b uint32, t float64)
gg/gradient.go:200
↓ 3 callersMethodAddWindow
(window *Window)
mustard/app.go:19
↓ 3 callersMethodAttr
(attrName string)
hotdog/node.go:97
↓ 3 callersMethodClearPath
ClearPath clears the current path. There is no current point after this operation.
gg/context.go:377
↓ 3 callersMethodComputedBox
()
mustard/types.go:131
↓ 3 callersFunctionCreateLabelWidget
CreateLabelWidget - Creates and returns a new Label Widget
mustard/label.go:11
↓ 3 callersFunctionCreateNewWindow
(title string, width int, height int, hiDPI bool)
mustard/window.go:22
↓ 3 callersMethodDrawEllipticalArc
(x, y, rx, ry, angle1, angle2 float64)
gg/context.go:615
↓ 3 callersMethodGetCursorPosition
()
mustard/window.go:323
↓ 3 callersMethodGetXPath
()
hotdog/node.go:69
↓ 3 callersMethodHeight
Height returns the height of the image in pixels.
gg/context.go:142
↓ 3 callersFunctionHexStringToColor
HexStringToColor - Transforms hex color string to *hotdog.ColorRGBA
mayo/color.go:86
↓ 3 callersMethodIsPointInside
(x, y float64)
mustard/widget.go:235
↓ 3 callersMethodLast
()
hotdog/structs.go:68
↓ 3 callersFunctionMapCSSColor
MapCSSColor - Transforms css color strings to #hotdog.ColorRGBA
mayo/color.go:129
↓ 3 callersMethodMeasureStringWrapped
(s string, width, lineSpacing float64)
gg/context.go:816
↓ 3 callersFunctionNewContextForRGBA
NewContextForRGBA prepares a context for rendering onto the specified image. No copy is made.
gg/context.go:97
↓ 3 callersMethodRun
(callback func())
mustard/app.go:7
↓ 3 callersMethodScale
Scale updates the current matrix with a scaling factor. Scaling occurs about the origin.
gg/context.go:880
↓ 3 callersMethodSetOffset
(offset int)
mustard/canvas.go:55
↓ 3 callersMethodSetRootFrame
SetRootFrame - Sets the window root frame
mustard/window.go:92
↓ 3 callersMethodSetWindow
(*Window)
mustard/types.go:132
↓ 3 callersMethodShow
Show - Show the window
mustard/window.go:85
↓ 3 callersMethodWidth
Width returns the width of the image in pixels.
gg/context.go:137
↓ 3 callersMethoddraw
()
mustard/types.go:135
↓ 3 callersFunctionfix
(x float64)
gg/util.go:117
↓ 3 callersFunctiongetNodeChildren
(NodeDOM *hotdog.NodeDOM)
bun/bun.go:49
↓ 3 callersFunctionmapSizeValue
(sizeValue string)
mayo/mayo.go:38
↓ 3 callersMethodsetFillAndStrokeColor
Color Setters
gg/context.go:227
↓ 2 callersMethodAddNode
(childNode *TreeWidgetNode)
mustard/types.go:245
↓ 2 callersMethodBuffer
()
mustard/types.go:126
next →1–100 of 486, ranked by callers