NewBitmapFromFile creates new bitmap from a bitmap file at 96dpi. Deprecated: Newer applications should use NewBitmapFromFileForDPI.
(filePath string)
| 121 | // |
| 122 | // Deprecated: Newer applications should use NewBitmapFromFileForDPI. |
| 123 | func NewBitmapFromFile(filePath string) (*Bitmap, error) { |
| 124 | return NewBitmapFromFileForDPI(filePath, 96) |
| 125 | } |
| 126 | |
| 127 | // NewBitmapFromFileForDPI creates new bitmap from a bitmap file at given DPI. |
| 128 | func NewBitmapFromFileForDPI(filePath string, dpi int) (*Bitmap, error) { |
nothing calls this directly
no test coverage detected
searching dependent graphs…