hal_gfx_transitions.h File Reference

Header file containing functions prototypes of Graphics library. More...

#include "hal_gfx_blender.h"
+ Include dependency graph for hal_gfx_transitions.h:

Go to the source code of this file.

Enumerations

enum  hal_gfx_transition_t {
  HAL_GFX_TRANS_LINEAR_H, HAL_GFX_TRANS_CUBE_H, HAL_GFX_TRANS_INNERCUBE_H, HAL_GFX_TRANS_STACK_H,
  HAL_GFX_TRANS_LINEAR_V, HAL_GFX_TRANS_CUBE_V, HAL_GFX_TRANS_INNERCUBE_V, HAL_GFX_TRANS_STACK_V,
  HAL_GFX_TRANS_FADE, HAL_GFX_TRANS_FADE_ZOOM, HAL_GFX_TRANS_COVER, HAL_GFX_TRANS_SPIN_H_R2L,
  HAL_GFX_TRANS_SPIN_H_L2R, HAL_GFX_TRANS_PUSHPULL_H, HAL_GFX_TRANS_PUSHPULL_V, HAL_GFX_TRANS_MAX,
  HAL_GFX_TRANS_NONE
}
 Definition of transition effect. More...
 

Functions

void hal_gfx_transition (hal_gfx_transition_t effect, hal_gfx_tex_t initial, hal_gfx_tex_t final, uint32_t blending_mode, float step, int width, int height)
 Transition from 'initial' texture to 'final' texture. More...
 
void hal_gfx_transition_linear_hor (hal_gfx_tex_t left, hal_gfx_tex_t right, uint32_t blending_mode, float step, int width)
 Linear transition horizontally. More...
 
void hal_gfx_transition_linear_ver (hal_gfx_tex_t up, hal_gfx_tex_t down, uint32_t blending_mode, float step, int height)
 Linear transition vertically. More...
 
void hal_gfx_transition_cube_hor (hal_gfx_tex_t left, hal_gfx_tex_t right, uint32_t blending_mode, float step, int width, int height)
 Cubic (textures are mapped on the external faces of a cube) transition horizontally. More...
 
void hal_gfx_transition_cube_ver (hal_gfx_tex_t up, hal_gfx_tex_t down, uint32_t blending_mode, float step, int width, int height)
 Cube (textures are mapped on the external faces of a cube) transition vertically. More...
 
void hal_gfx_transition_innercube_hor (hal_gfx_tex_t left, hal_gfx_tex_t right, uint32_t blending_mode, float step, int width, int height)
 Inner Cube (textures are mapped on the internal faces of a cube) transition horizontally. More...
 
void hal_gfx_transition_innercube_ver (hal_gfx_tex_t up, hal_gfx_tex_t down, uint32_t blending_mode, float step, int width, int height)
 Inner Cube (textures are mapped on the internal faces of a cube) transition vertically. More...
 
void hal_gfx_transition_stack_hor (hal_gfx_tex_t left, hal_gfx_tex_t right, float step, int width, int height)
 Stack transition horizontally. More...
 
void hal_gfx_transition_stack_ver (hal_gfx_tex_t up, hal_gfx_tex_t down, float step, int width, int height)
 Stack transition vertically. More...
 
void hal_gfx_transition_fade (hal_gfx_tex_t initial, hal_gfx_tex_t final, uint32_t blending_mode, float step, int width, int height)
 Fade transition. More...
 
void hal_gfx_transition_fade_zoom (hal_gfx_tex_t initial, hal_gfx_tex_t final, uint32_t blending_mode, float step, int width, int height)
 Fade-zoom transition. More...
 
void hal_gfx_transition_spin_hor (hal_gfx_tex_t front, hal_gfx_tex_t back, uint32_t blending_mode, float step, int width, int height, bool is_clockwise)
 Spin around Y-Axis transition . More...
 
void hal_gfx_transition_pushpull_hor (hal_gfx_tex_t initial, hal_gfx_tex_t final, uint32_t blending_mode, float step, int width, int height)
 Push-pull transition horizontally. More...
 
void hal_gfx_transition_pushpull_ver (hal_gfx_tex_t initial, hal_gfx_tex_t final, uint32_t blending_mode, float step, int width, int height)
 Push-pull transition vertically. More...
 

Detailed Description

Header file containing functions prototypes of Graphics library.

Author
BLE Driver Team
Attention
Copyright (c) 2019 GOODIX

All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. Neither the name of GOODIX nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL COPYRIGHT HOLDERS AND CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Definition in file hal_gfx_transitions.h.