Click or drag to resize

DisplayPipelineDrawBitmap Method (DisplayBitmap, Int32, Int32, Int32, Int32)

Draws a bitmap in screen coordinates, scaled to fit the given size.

Namespace:  Rhino.Display
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 9.0
Syntax
public void DrawBitmap(
	DisplayBitmap bitmap,
	int left,
	int top,
	int width,
	int height
)

Parameters

bitmap
Type: Rhino.DisplayDisplayBitmap
bitmap to draw
left
Type: SystemInt32
where the left edge of the bitmap should appear in screen coordinates
top
Type: SystemInt32
where the top edge of the bitmap should appear in screen coordinates
width
Type: SystemInt32
width (in pixels) to draw the bitmap at
height
Type: SystemInt32
height (in pixels) to draw the bitmap at
See Also