VectSharp 2.6.1
A light library for C# vector graphics
Loading...
Searching...
No Matches
VectSharp.DisposableIntPtr Class Reference

An IDisposable wrapper around an IntPtr that frees the allocated memory when it is disposed. More...

Inheritance diagram for VectSharp.DisposableIntPtr:

Public Member Functions

 DisposableIntPtr (IntPtr pointer)
 Create a new DisposableIntPtr. More...
 
void Dispose ()
 

Public Attributes

readonly IntPtr InternalPointer
 The pointer to the unmanaged memory. More...
 

Detailed Description

An IDisposable wrapper around an IntPtr that frees the allocated memory when it is disposed.

Definition at line 54 of file RasterImage.cs.

Constructor & Destructor Documentation

◆ DisposableIntPtr()

VectSharp.DisposableIntPtr.DisposableIntPtr ( IntPtr  pointer)

Create a new DisposableIntPtr.

Parameters
pointerThe pointer that should be freed upon disposing of this object.

Definition at line 65 of file RasterImage.cs.

Member Function Documentation

◆ Dispose()

void VectSharp.DisposableIntPtr.Dispose ( )

Definition at line 89 of file RasterImage.cs.

Member Data Documentation

◆ InternalPointer

readonly IntPtr VectSharp.DisposableIntPtr.InternalPointer

The pointer to the unmanaged memory.

Definition at line 59 of file RasterImage.cs.


The documentation for this class was generated from the following file: