DisplayBitmap Class |
Namespace: Rhino.Display
The DisplayBitmap type exposes the following members.
Name | Description | |
---|---|---|
DisplayBitmap(Bitmap) |
Constructs a DisplayBitmap from an existing bitmap.
| |
DisplayBitmap(String, Bitmap) |
Creates a DisplayBitmap either from a path, or a bitmap.
If the path is null, a random tag name will be used.
If the bitmap is null, the bitmap will be loaded from the path.
If both are null, the object is invalid.
if both are valid objects, the bitmap will be used and it will be added to Rhino's bitmap
cache with the path supplied. In other words, this is a way to add a bitmap from memory
directly into Rhino's memory cache.
|
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 | Determines whether the specified object is equal to the current object. (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 | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
Load |
Load a DisplayBitmap from and image file on disk or from URL. If path starts
with http:// or https:// then an attempt is made to load the bitmap from an
online resource
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
SetBlendFunction |
Sets blending function used to determine how this bitmap is blended
with the current frame buffer 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 | Returns a string that represents the current object. (Inherited from Object.) |