NewBitmapFromResourceId creates a Bitmap at 96dpi from resource by ID. Deprecated: Newer applications should use NewBitmapFromResourceIdForDPI.
(id int)
| 180 | // |
| 181 | // Deprecated: Newer applications should use NewBitmapFromResourceIdForDPI. |
| 182 | func 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. |
| 187 | func NewBitmapFromResourceIdForDPI(id int, dpi int) (*Bitmap, error) { |
nothing calls this directly
no test coverage detected
searching dependent graphs…