#include <NanoVG.hpp>
NanoVG Image class.
This implements NanoVG images as a C++ class where deletion is handled automatically. Images need to be created within a NanoVG or NanoWidget class. 
 
◆ NanoImage() [1/2]
Constructor for an invalid/null image. 
 
 
◆ NanoImage() [2/2]
      
        
          | NanoImage::NanoImage  | 
          ( | 
          const Handle &  | 
          handle | ) | 
           | 
        
      
 
 
◆ ~NanoImage()
      
        
          | NanoImage::~NanoImage  | 
          ( | 
           | ) | 
           | 
        
      
 
 
◆ operator=()
      
        
          | NanoImage& NanoImage::operator=  | 
          ( | 
          const Handle &  | 
          handle | ) | 
           | 
        
      
 
Create a new image without recreating the C++ class. 
 
 
◆ isValid()
  
  
      
        
          | bool NanoImage::isValid  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
noexcept   | 
  
 
Wherever this image is valid. 
 
 
◆ getSize()
  
  
      
        
          | Size<uint> NanoImage::getSize  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
noexcept   | 
  
 
 
◆ getTextureHandle()
      
        
          | GLuint NanoImage::getTextureHandle  | 
          ( | 
           | ) | 
           const | 
        
      
 
Get the OpenGL texture handle. 
 
 
The documentation for this class was generated from the following file: