NewBitmapFromResource creates a Bitmap at 96dpi from resource by name. Deprecated: Newer applications should use NewBitmapFromResourceForDPI.
(name string)
| 168 | // |
| 169 | // Deprecated: Newer applications should use NewBitmapFromResourceForDPI. |
| 170 | func 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. |
| 175 | func NewBitmapFromResourceForDPI(name string, dpi int) (*Bitmap, error) { |
nothing calls this directly
no test coverage detected
searching dependent graphs…