MCPcopy Create free account
hub / github.com/lxn/walk / NewBitmapFromResource

Function NewBitmapFromResource

bitmap.go:170–172  ·  view source on GitHub ↗

NewBitmapFromResource creates a Bitmap at 96dpi from resource by name. Deprecated: Newer applications should use NewBitmapFromResourceForDPI.

(name string)

Source from the content-addressed store, hash-verified

168//
169// Deprecated: Newer applications should use NewBitmapFromResourceForDPI.
170func NewBitmapFromResource(name string) (*Bitmap, error) {
171 return newBitmapFromResource(syscall.StringToUTF16Ptr(name), 96)
172}
173
174// NewBitmapFromResourceForDPI creates a Bitmap at given DPI from resource by name.
175func NewBitmapFromResourceForDPI(name string, dpi int) (*Bitmap, error) {

Callers

nothing calls this directly

Calls 1

newBitmapFromResourceFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…