Method | Description | |
---|---|---|
BitmapToBitmapImage ( |
||
DrawingVisualToBitmap ( System.Windows.Media.DrawingVisual visual, Rect rect ) : |
||
GenerateWindowIcon ( ) : System.Windows.Media.Imaging.RenderTargetBitmap |
Loads the BowIcon from resources and colors it according to the current theme
|
|
ResizeImage ( |
Resize the image to the specified width and height.
|
public static BitmapToBitmapImage ( |
||
b | ||
return |
public static DrawingVisualToBitmap ( System.Windows.Media.DrawingVisual visual, Rect rect ) : |
||
visual | System.Windows.Media.DrawingVisual | |
rect | Rect | |
return |
public static GenerateWindowIcon ( ) : System.Windows.Media.Imaging.RenderTargetBitmap | ||
return | System.Windows.Media.Imaging.RenderTargetBitmap |
public static ResizeImage ( |
||
image | The image to resize. | |
width | int | The width to resize to. |
height | int | The height to resize to. |
return |