VectSharp 2.5.0
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 53 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 64 of file RasterImage.cs.

Member Function Documentation

◆ Dispose()

void VectSharp.DisposableIntPtr.Dispose ( )

Definition at line 88 of file RasterImage.cs.

Member Data Documentation

◆ InternalPointer

readonly IntPtr VectSharp.DisposableIntPtr.InternalPointer

The pointer to the unmanaged memory.

Definition at line 58 of file RasterImage.cs.


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