RhinoCommon API
DisplayBitmap Class |
A bitmap resource that can be used by the display pipeline (currently only
in OpenGL display). Reuse DisplayBitmaps for drawing if possible; it is
much more expensive to construct new DisplayBitmaps than it is to reuse
existing DisplayBitmaps.

Namespace: Rhino.Display
Assembly: RhinoCommon (in RhinoCommon.dll)

The DisplayBitmap type exposes the following members.

Name | Description | |
---|---|---|
![]() | DisplayBitmap |
Constructs a DisplayBitmap from an existing bitmap.
|

Name | Description | |
---|---|---|
![]() | Dispose |
Actively reclaims unmanaged resources that this instance uses.
|
![]() | Dispose(Boolean) |
For derived class implementers.
This method is called with argument true when class user calls Dispose(), while with argument false when the Garbage Collector invokes the finalizer, or Finalize() method. You must reclaim all used unmanaged resources in both cases, and can use this chance to call Dispose on disposable fields if the argument is true. Also, you must call the base virtual method within your overriding method. |
![]() | Equals | (Inherited from Object.) |
![]() | Finalize |
Passively reclaims unmanaged resources when the class user did not explicitly call Dispose().
(Overrides ObjectFinalize.) |
![]() | GetBlendModes |
Gets the source and destination blend modes.
|
![]() | GetHashCode | (Inherited from Object.) |
![]() | GetType | (Inherited from Object.) |
![]() ![]() | Load |
Load a DisplayBitmap from and image file on disk.
|
![]() | MemberwiseClone | (Inherited from Object.) |
![]() | SetBlendFunction |
Sets blending function used to determine how this bitmap is blended
with the current framebuffer color. The default setting is SourceAlpha
for source and OneMinusSourceAlpha for destination. See OpenGL's
glBlendFunc for details.
http://www.opengl.org/sdk/docs/man/xhtml/glBlendFunc.xml |
![]() | ToString | (Inherited from Object.) |

Rhino for Mac
Supported in: 5.4Rhino for Windows
Supported in: 6.8