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

Function NewBitmapFromResourceId

bitmap.go:182–184  ·  view source on GitHub ↗

NewBitmapFromResourceId creates a Bitmap at 96dpi from resource by ID. Deprecated: Newer applications should use NewBitmapFromResourceIdForDPI.

(id int)

Source from the content-addressed store, hash-verified

180//
181// Deprecated: Newer applications should use NewBitmapFromResourceIdForDPI.
182func NewBitmapFromResourceId(id int) (*Bitmap, error) {
183 return newBitmapFromResource(win.MAKEINTRESOURCE(uintptr(id)), 96)
184}
185
186// NewBitmapFromResourceIdForDPI creates a Bitmap at given DPI from resource by ID.
187func NewBitmapFromResourceIdForDPI(id int, 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…