CYD-UI
A C++ library for building native graphic user interfaces
Loading...
Searching...
No Matches
pixelmap_editor_t Class Referenceexport

Public Member Functions

 pixelmap_editor_t (pixelmap_t &img)
 
 pixelmap_editor_t (pixelmap_t *img)
 
 pixelmap_editor_t (int width_, int height_, pixel_t *img_, int stride)
 
Cairo::RefPtr< Cairo::Context > operator-> ()
 
void clear ()
 

Public Attributes

int width
 
int height
 
pixel_t * img = nullptr
 
Cairo::RefPtr< Cairo::Surface > surface
 
Cairo::RefPtr< Cairo::Context > ctx
 

Detailed Description

Definition at line 14 of file pixelmap_editor.cppm.

Constructor & Destructor Documentation

◆ pixelmap_editor_t() [1/3]

pixelmap_editor_t::pixelmap_editor_t ( pixelmap_t & img)
inlineexplicit

Definition at line 22 of file pixelmap_editor.cppm.

+ Here is the caller graph for this function:

◆ pixelmap_editor_t() [2/3]

pixelmap_editor_t::pixelmap_editor_t ( pixelmap_t * img)
inlineexplicit

Definition at line 37 of file pixelmap_editor.cppm.

+ Here is the call graph for this function:

◆ pixelmap_editor_t() [3/3]

pixelmap_editor_t::pixelmap_editor_t ( int width_,
int height_,
pixel_t * img_,
int stride )
inlineexplicit

Definition at line 40 of file pixelmap_editor.cppm.

Member Function Documentation

◆ clear()

void pixelmap_editor_t::clear ( )
inline

Definition at line 60 of file pixelmap_editor.cppm.

◆ operator->()

Cairo::RefPtr< Cairo::Context > pixelmap_editor_t::operator-> ( )
inline

Definition at line 56 of file pixelmap_editor.cppm.

Member Data Documentation

◆ ctx

Cairo::RefPtr<Cairo::Context> pixelmap_editor_t::ctx

Definition at line 20 of file pixelmap_editor.cppm.

◆ height

int pixelmap_editor_t::height

Definition at line 16 of file pixelmap_editor.cppm.

◆ img

pixel_t* pixelmap_editor_t::img = nullptr

Definition at line 17 of file pixelmap_editor.cppm.

◆ surface

Cairo::RefPtr<Cairo::Surface> pixelmap_editor_t::surface

Definition at line 19 of file pixelmap_editor.cppm.

◆ width

int pixelmap_editor_t::width

Definition at line 16 of file pixelmap_editor.cppm.


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