Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bolknote/go-gd
/ functions
Functions
325 in github.com/bolknote/go-gd
⨍
Functions
325
◇
Types & classes
37
↓ 1 callers
Method
NeuQuant
(maxColors, sampleFactor int)
pkg/gd/misc.go:62
↓ 1 callers
Function
NewFileContext
NewFileContext creates a gdIOCtx around a C FILE opened for path with mode. Close on the returned context closes the underlying file.
pkg/gd/ioctx.go:63
↓ 1 callers
Method
OpenPolygon
(points []Point, color Color)
pkg/gd/draw.go:211
↓ 1 callers
Method
PaletteCopyFrom
(src *Image)
pkg/gd/color.go:159
↓ 1 callers
Method
PaletteToTrueColor
()
pkg/gd/color.go:172
↓ 1 callers
Method
Pixel
(x, y int)
pkg/gd/draw.go:61
↓ 1 callers
Method
Pixelate
(blockSize int, mode PixelateMode)
pkg/gd/filter.go:190
↓ 1 callers
Method
Polygon
(points []Point, color Color)
pkg/gd/draw.go:196
↓ 1 callers
Method
Rectangle
(x1, y1, x2, y2 int, color Color)
pkg/gd/draw.go:112
↓ 1 callers
Method
Rectilinear
()
pkg/gd/transform.go:250
↓ 1 callers
Method
ReplaceColor
(src, dst Color)
pkg/gd/color.go:237
↓ 1 callers
Method
ReplaceColorThreshold
(src, dst Color, threshold float32)
pkg/gd/color.go:248
↓ 1 callers
Method
ResolveColor
(r, g, b int)
pkg/gd/color.go:108
↓ 1 callers
Method
ResolveColorAlpha
(r, g, b, a int)
pkg/gd/color.go:116
↓ 1 callers
Method
RotateInterpolated
(angle float32, background Color)
pkg/gd/transform.go:131
↓ 1 callers
Method
SaveAlpha
(save bool)
pkg/gd/draw.go:263
↓ 1 callers
Method
Scale
(width, height uint)
pkg/gd/transform.go:119
↓ 1 callers
Method
Scatter
(sub, plus int)
pkg/gd/filter.go:201
↓ 1 callers
Method
ScatterColor
(sub, plus int, colors []Color)
pkg/gd/filter.go:212
↓ 1 callers
Method
ScatterEx
(opts ScatterOptions)
pkg/gd/filter.go:230
↓ 1 callers
Method
SelectiveBlur
()
pkg/gd/filter.go:63
↓ 1 callers
Method
SetAntiAliased
(color Color)
pkg/gd/draw.go:315
↓ 1 callers
Method
SetAntiAliasedDontBlend
(color Color, dontBlend bool)
pkg/gd/draw.go:324
↓ 1 callers
Method
SetBrush
SetBrush registers brush as the source image for libgd's brush-stroke operations. See SetTile for the lifetime contract.
pkg/gd/draw.go:366
↓ 1 callers
Function
SetErrorMethodDiscard
()
pkg/gd/misc.go:45
↓ 1 callers
Method
SetInterpolationMethod
(method InterpolationMethod)
pkg/gd/transform.go:143
↓ 1 callers
Method
SetPaletteQuality
(minQuality, maxQuality int)
pkg/gd/color.go:205
↓ 1 callers
Method
SetResolution
SetResolution sets horizontal and vertical DPI.
pkg/gd/gd.go:220
↓ 1 callers
Method
SetThickness
(thickness int)
pkg/gd/draw.go:290
↓ 1 callers
Method
SetTransparentColor
(color Color)
pkg/gd/color.go:150
↓ 1 callers
Method
Sharpen
(percent int)
pkg/gd/filter.go:43
↓ 1 callers
Method
Smooth
(weight float64)
pkg/gd/filter.go:107
↓ 1 callers
Method
SquareToCircle
(radius int)
pkg/gd/misc.go:78
↓ 1 callers
Method
StringFT
StringFT renders text via libgd's FreeType backend with default options. libgd exposes gdImageStringTTF as a macro alias for gdImageStringFT, so no se
pkg/gd/text.go:238
↓ 1 callers
Method
StringFTCircle
(cx, cy int, radius, textRadius, fillPortion float64, font string, points float64, top, bottom string, fg Colo
pkg/gd/misc.go:86
↓ 1 callers
Method
StringFTEx
(color Color, fontPath string, pointSize, angle float64, x, y int, text string, opts *FTOptions)
pkg/gd/text.go:242
↓ 1 callers
Method
StringUp
StringUp draws vertical Latin-1 text with a built-in bitmap font.
pkg/gd/text.go:151
↓ 1 callers
Method
TransformAffine
TransformAffine returns a new image with srcArea transformed by affine.
pkg/gd/transform.go:261
↓ 1 callers
Method
TransformAffineCopy
TransformAffineCopy applies affine to srcArea of src and copies the result into dst at (dstX, dstY).
pkg/gd/transform.go:279
↓ 1 callers
Method
TrueColorPixel
(x, y int)
pkg/gd/draw.go:69
↓ 1 callers
Method
TrueColorToPalette
(dither bool, colorsWanted int)
pkg/gd/color.go:183
↓ 1 callers
Method
TrueColorToPaletteWithMethod
(method QuantizationMethod, speed int)
pkg/gd/color.go:194
↓ 1 callers
Function
UseFontConfig
(enabled bool)
pkg/gd/text.go:231
↓ 1 callers
Function
configuredHeaders
()
pkg/gd/api_coverage_test.go:52
↓ 1 callers
Function
openFileError
(path string, errno C.int)
pkg/gd/io.go:169
↓ 1 callers
Function
packageSource
(t *testing.T)
pkg/gd/api_coverage_test.go:103
↓ 1 callers
Function
publicSymbols
(t *testing.T, headers []string)
pkg/gd/api_coverage_test.go:81
Function
DecodeAVIF
(data []byte)
pkg/gd/io.go:631
Function
DecodeAVIFContext
(ctx *IOContext)
pkg/gd/ioctx.go:189
Function
DecodeAVIFFile
(path string)
pkg/gd/io.go:637
Function
DecodeBMP
(data []byte)
pkg/gd/io.go:435
Function
DecodeBMPContext
(ctx *IOContext)
pkg/gd/ioctx.go:213
Function
DecodeBMPFile
(path string)
pkg/gd/io.go:441
Function
DecodeGD
(data []byte)
pkg/gd/io.go:513
Function
DecodeGD2
(data []byte)
pkg/gd/io.go:545
Function
DecodeGD2Context
(ctx *IOContext)
pkg/gd/ioctx.go:229
Function
DecodeGD2File
(path string)
pkg/gd/io.go:563
Function
DecodeGD2Part
(data []byte, srcX, srcY, width, height int)
pkg/gd/io.go:551
Function
DecodeGD2PartContext
(ctx *IOContext, srcX, srcY, width, height int)
pkg/gd/ioctx.go:237
Function
DecodeGD2PartFile
(path string, srcX, srcY, width, height int)
pkg/gd/io.go:557
Function
DecodeGDContext
(ctx *IOContext)
pkg/gd/ioctx.go:221
Function
DecodeGDFile
(path string)
pkg/gd/io.go:519
Function
DecodeGIF
(data []byte)
pkg/gd/io.go:330
Function
DecodeGIFContext
(ctx *IOContext)
pkg/gd/ioctx.go:148
Function
DecodeGIFFile
(path string)
pkg/gd/io.go:336
Function
DecodeHEIF
(data []byte)
pkg/gd/io.go:593
Function
DecodeHEIFContext
(ctx *IOContext)
pkg/gd/ioctx.go:181
Function
DecodeHEIFFile
(path string)
pkg/gd/io.go:599
Function
DecodeTGA
(data []byte)
pkg/gd/io.go:469
Function
DecodeTGAContext
(ctx *IOContext)
pkg/gd/ioctx.go:205
Function
DecodeTGAFile
(path string)
pkg/gd/io.go:475
Function
DecodeTIFF
(data []byte)
pkg/gd/io.go:481
Function
DecodeTIFFContext
(ctx *IOContext)
pkg/gd/ioctx.go:197
Function
DecodeTIFFFile
(path string)
pkg/gd/io.go:487
Function
DecodeWBMPContext
(ctx *IOContext)
pkg/gd/ioctx.go:156
Function
DecodeWebP
(data []byte)
pkg/gd/io.go:362
Function
DecodeWebPContext
(ctx *IOContext)
pkg/gd/ioctx.go:173
Function
DecodeWebPFile
(path string)
pkg/gd/io.go:368
Function
DecodeXPMFile
(path string)
pkg/gd/io.go:671
Method
EncodeWBMPContext
(ctx *IOContext, foreground Color)
pkg/gd/ioctx.go:303
Function
TestAdditionalCoreWrappers
(t *testing.T)
pkg/gd/gd_test.go:197
Function
TestAffineShearUsesReceiver
(t *testing.T)
pkg/gd/gd_test.go:270
Function
TestArgumentValidationEdgeCases
(t *testing.T)
pkg/gd/io_extra_test.go:364
Function
TestBitmapTextAndFreeTypeErrors
(t *testing.T)
pkg/gd/io_extra_test.go:191
Function
TestBrushTileAndCopyVariants
(t *testing.T)
pkg/gd/wrapper_coverage_test.go:278
Function
TestClipAlphaInterlaceResolutionAndBounds
(t *testing.T)
pkg/gd/wrapper_coverage_test.go:125
Function
TestClosedImageGettersZero
(t *testing.T)
pkg/gd/io_extra_test.go:291
Function
TestColorRGBARoundTrip
(t *testing.T)
pkg/gd/io_extra_test.go:278
Function
TestCompareFlagsHas
(t *testing.T)
pkg/gd/gd_test.go:401
Function
TestContextEncoders
(t *testing.T)
pkg/gd/wrapper_coverage_test.go:569
Function
TestCopyAndTransform
(t *testing.T)
pkg/gd/io_extra_test.go:76
Function
TestCreateDrawEncodeDecodePNG
(t *testing.T)
pkg/gd/gd_test.go:9
Function
TestCropValidation
(t *testing.T)
pkg/gd/io_extra_test.go:145
Function
TestDecodeFixtureJPEG
(t *testing.T)
pkg/gd/gd_test.go:53
Function
TestDrawingPrimitivesAndPixels
(t *testing.T)
pkg/gd/wrapper_coverage_test.go:40
Function
TestEncodeFileToUnwritablePathReturnsError
(t *testing.T)
pkg/gd/io_extra_test.go:64
Function
TestEncodePNGFileRoundTrip
(t *testing.T)
pkg/gd/io_extra_test.go:39
Function
TestEncodeXBMRoundTrip
(t *testing.T)
pkg/gd/io_extra_test.go:244
Function
TestEnumParityWithLibGD
TestEnumParityWithLibGD asserts that the Go-side enum constants match the underlying libgd values exposed via libgd_consts.go. The Go binding enumerat
pkg/gd/enum_parity_test.go:9
Function
TestFilterWrappers
(t *testing.T)
pkg/gd/wrapper_coverage_test.go:383
← previous
next →
201–300 of 325, ranked by callers