DrawingUtilities Methods |
The DrawingUtilities type exposes the following members.
| Name | Description | |
|---|---|---|
| BitmapFromIconResource(String, Assembly) |
Load a Icon from an embedded resource and convert it to a bitmap of the
specified size. Will look for a icon image that is greater than or
equal to the requested size, if all images are less than the requested
size the largest image will be used.
| |
| BitmapFromIconResource(String, Size, Assembly) |
Load a Icon from an embedded resource and convert it to a bitmap of the
specified size. Will look for a icon image that is greater than or
equal to the requested size, if all images are less than the requested
size the largest image will be used.
| |
| BitmapFromSvg(String, Int32, Int32) |
Create bitmap of a given size from an svg string
| |
| BitmapFromSvg(String, Int32, Int32, Boolean) |
Create bitmap of a given size from an svg string
| |
| CreateCurvePreviewGeometry |
Create a series of closed polyline loops representing a curve and a linetype combination.
| |
| CreateMeshPreviewImage(IEnumerableMesh, IEnumerableColor, Size) |
Creates a preview image of one or more meshes.
| |
| CreateMeshPreviewImage(Mesh, Color, Size) |
Creates a preview image of a mesh.
| |
| CreateMeshPreviewImage(RhinoDoc, IEnumerableMesh, IEnumerableColor, Size) |
Creates a preview image of one or more meshes.
| |
| DarkModeConvertPixel |
Attempt to adjust pixels to an image that works for dark mode
| |
| DarkModeConvertPixels |
Attempt to adjust pixels to an image that works for dark mode
| |
| IconFromResource(String, Assembly) |
Load a Icon from an embedded resource.
| |
| IconFromResource(String, Size, Assembly) |
Load a Icon from an embedded resource.
| |
| ImageFromResource |
Load a Image from an embedded resource.
| |
| LoadBitmapWithScaleDown |
Loads an icon from an embedded resource and converts it to a bitmap.
If the icon is not a standard size, this function scales down a larger
image.
| |
| LoadIconWithScaleDown |
Loads an icon from an embedded resource.
If the icon is not a standard size, this function scales down a larger
image.
| |
| MakeArgb | ||
| PixelsFromSvg |
Get array of bytes that represent RGBA values for an image of a given
size created from SVG
| |
| SvgToRhinoDibIntPtr |
Create bitmap of a given size from an svg string
|