gfx/pixel.h header reference
[Lightweight 2d graphic module]

The source code of this header can be browsed online.

Members  

Functions  

  • _GFX_BPP_EXPAND(_GFX_PIXEL_PROTO )
  • void gfx_clear(const struct gfx_surface_s *s, gfx_pixel_t a)
  • gfx_pixel_t gfx_get_pixel_safe(const struct gfx_surface_s *s, gfx_pos_t x, gfx_pos_t y)
  • void gfx_hline_safe(const struct gfx_surface_s *s, gfx_pos_t x0, gfx_pos_t x1, gfx_pos_t y, gfx_pixel_t a)
  • void gfx_put_pixel_safe(const struct gfx_surface_s *s, gfx_pos_t x, gfx_pos_t y, gfx_pixel_t a)
  • void gfx_vline_safe(const struct gfx_surface_s *s, gfx_pos_t x, gfx_pos_t y0, gfx_pos_t y1, gfx_pixel_t a)

Macros  

Members detail  

_GFX_BPP_EXPAND(_GFX_PIXEL_PROTO )  

Alternate declarations with same identifier: [1], [2], [3], [4], [5], [6], [7].

#define _GFX_PIXEL_H_  

This macro is declared in gfx/pixel.h source file, line 37.

#define _GFX_PIXEL_OPS(bpp, ppw, l2bpp, l2ppw, pm, ps, word_t)  

This macro is declared in gfx/pixel.h source file, line 155.

#define _GFX_PIXEL_PROTO(bpp, ppw, l2bpp, l2ppw, pm, ps, word_t)  

This macro is declared in gfx/pixel.h source file, line 92.

void gfx_clear(const struct gfx_surface_s *s, gfx_pixel_t a)  

This function is declared in gfx/pixel.h source file, line 305.

gfx_pixel_t gfx_get_pixel_safe(const struct gfx_surface_s *s, gfx_pos_t x, gfx_pos_t y)  

This function is declared in gfx/pixel.h source file, line 270.

void gfx_hline_safe(const struct gfx_surface_s *s, gfx_pos_t x0, gfx_pos_t x1, gfx_pos_t y, gfx_pixel_t a)  

This function is declared in gfx/pixel.h source file, line 286.

void gfx_put_pixel_safe(const struct gfx_surface_s *s, gfx_pos_t x, gfx_pos_t y, gfx_pixel_t a)  

This function is declared in gfx/pixel.h source file, line 278.

void gfx_vline_safe(const struct gfx_surface_s *s, gfx_pos_t x, gfx_pos_t y0, gfx_pos_t y1, gfx_pixel_t a)  

This function is declared in gfx/pixel.h source file, line 295.

#define _GFX_HLINE_LOOP(d, x0i, x1i, k0, m0, m1, v)  

This macro is declared in gfx/pixel.h source file, line 71.

Horizontal line loop code

This macro is for internal use only.

#define _GFX_HLINE_VARS(word_t, l2bpp, l2ppw, x0, x1, x0i, x1i, k0, m0, m1)  

This macro is declared in gfx/pixel.h source file, line 47.

Declare and precompute variables for horizontal line loop

This macro is for internal use only.

#define _GFX_PUT_PIXEL_ARGS(...)  

This macro is declared in gfx/pixel.h source file, line 43.

This macro is for internal use only.

Valid XHTML 1.0 StrictGenerated by diaxen on Wed Oct 17 21:18:38 2018 using MkDoc