Showing content from https://arrayfire.org/docs/group__gfx__func__window.htm below:
ArrayFire: Window Functions
Window () Creates a window object with default width and height with title set to "ArrayFire". More...
Window (const char *const title) Creates a window object with default width and height using the title provided by the user. More...
Window (const int width, const int height, const char *const title="ArrayFire") Creates a window object using the parameters provided by the user. More...
Window (const af_window window) Creates a window object with default width and height with title set to "ArrayFire". More...
~Window () Destroys the window handle. More...
af_window get () const void setPos (const unsigned x, const unsigned y) Set the start position where the window will appear. More...
void setTitle (const char *const title) Set the window title. More...
void setSize (const unsigned w, const unsigned h) Set the window size. More...
void setColorMap (const ColorMap cmap) Set the colormap to be used for subsequent rendering calls. More...
void setAxesLimits (const array &x, const array &y, const bool exact=false) Setup the axes limits for a 2D histogram/plot/vector field. More...
void setAxesLimits (const array &x, const array &y, const array &z, const bool exact=false) Setup the axes limits for a histogram/plot/surface/vector field. More...
void setAxesLimits (const float xmin, const float xmax, const float ymin, const float ymax, const bool exact=false) Setup the axes limits for a histogram/plot/surface/vector field. More...
void setAxesLimits (const float xmin, const float xmax, const float ymin, const float ymax, const float zmin, const float zmax, const bool exact=false) Setup the axes limits for a histogram/plot/surface/vector field. More...
void setAxesTitles (const char *const xtitle="X-Axis", const char *const ytitle="Y-Axis", const char *const ztitle=NULL) Setup the axes titles for a plot/surface/vector field. More...
void setAxesLabelFormat (const char *const xformat="4.1%f", const char *const yformat="4.1%f", const char *const zformat=NULL) Setup the axes label formats for charts. More...
void grid (const int rows, const int cols) Setup grid layout for multiview mode in a window. More...
void show () This function swaps the background buffer to current view and polls for any key strokes while the window was in focus. More...
bool close () Check if window is marked for close. More...
void setVisibility (const bool isVisible) Hide/Show the window. More...
AFAPI af_err af_create_window (af_window *out, const int width, const int height, const char *const title) C Interface wrapper for creating a window. More...
AFAPI af_err af_set_position (const af_window wind, const unsigned x, const unsigned y) C Interface wrapper for setting the start position when window is displayed. More...
AFAPI af_err af_set_title (const af_window wind, const char *const title) C Interface wrapper for setting window title. More...
AFAPI af_err af_set_size (const af_window wind, const unsigned w, const unsigned h) C Interface wrapper for setting window position. More...
AFAPI af_err af_grid (const af_window wind, const int rows, const int cols) C Interface wrapper for grid setup in a window. More...
AFAPI af_err af_set_axes_limits_compute (const af_window wind, const af_array x, const af_array y, const af_array z, const bool exact, const af_cell *const props) C Interface for setting axes limits for a histogram/plot/surface/vector field. More...
AFAPI af_err af_set_axes_limits_2d (const af_window wind, const float xmin, const float xmax, const float ymin, const float ymax, const bool exact, const af_cell *const props) C Interface for setting axes limits for a 2D histogram/plot/vector field. More...
AFAPI af_err af_set_axes_limits_3d (const af_window wind, const float xmin, const float xmax, const float ymin, const float ymax, const float zmin, const float zmax, const bool exact, const af_cell *const props) C Interface for setting axes limits for a 3D plot/surface/vector field. More...
AFAPI af_err af_set_axes_titles (const af_window wind, const char *const xtitle, const char *const ytitle, const char *const ztitle, const af_cell *const props) C Interface wrapper for setting axes titles for histogram/plot/surface/vector field. More...
AFAPI af_err af_set_axes_label_format (const af_window wind, const char *const xformat, const char *const yformat, const char *const zformat, const af_cell *const props) C Interface wrapper for setting axes labels formats for charts. More...
AFAPI af_err af_show (const af_window wind) C Interface wrapper for showing a window. More...
AFAPI af_err af_is_window_closed (bool *out, const af_window wind) C Interface wrapper for checking if window is marked for close. More...
AFAPI af_err af_set_visibility (const af_window wind, const bool is_visible) Hide/Show a window. More...
AFAPI af_err af_destroy_window (const af_window wind) C Interface wrapper for destroying a window handle. More...
Window creation, modification and destruction functions.
RetroSearch is an open source project built by @garambo
| Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4