MCPcopy
hub / github.com/gographics/imagick / Destroy

Method Destroy

imagick/drawing_wand.go:36–44  ·  view source on GitHub ↗

Frees all resources associated with the drawing wand. Once the drawing wand has been freed, it should not be used and further unless it re-allocated.

()

Source from the content-addressed store, hash-verified

34// Frees all resources associated with the drawing wand. Once the drawing wand
35// has been freed, it should not be used and further unless it re-allocated.
36func (dw *DrawingWand) Destroy() {
37 if dw.dw == nil {
38 return
39 }
40 dw.dw = C.DestroyDrawingWand(dw.dw)
41 C.free(unsafe.Pointer(dw.dw))
42 dw.dw = nil
43
44}
45
46// Adjusts the current affine transformation matrix with the specified affine
47// transformation matrix. Note that the current affine transform is adjusted

Callers 13

mainFunction · 0.95
mainFunction · 0.95
textEffect1Function · 0.95
textEffect2Function · 0.95
textEffect3Function · 0.95
textEffect4Function · 0.95
textEffect5And6Function · 0.95
textEffect7Function · 0.95
textEffect8Function · 0.95
useDrawFunction · 0.95
mainFunction · 0.95
mainFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected