mirror of
https://github.com/gnustep/libs-back.git
synced 2025-05-29 16:31:29 +00:00
Implement dissolving.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@14484 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
394041ce6e
commit
16ddf61f71
4 changed files with 506 additions and 5 deletions
|
@ -41,6 +41,7 @@ typedef struct
|
|||
{
|
||||
unsigned char *dst, *dsta;
|
||||
unsigned char *src, *srca;
|
||||
unsigned char fraction; /* for dissolving */
|
||||
} composite_run_t;
|
||||
|
||||
|
||||
|
@ -125,6 +126,11 @@ typedef struct draw_info_s
|
|||
void (*composite_plusd_oa)(composite_run_t *c, int num);
|
||||
void (*composite_plusd_ao)(composite_run_t *c, int num);
|
||||
void (*composite_plusd_oo)(composite_run_t *c, int num);
|
||||
|
||||
void (*dissolve_aa)(composite_run_t *c, int num);
|
||||
void (*dissolve_oa)(composite_run_t *c, int num);
|
||||
void (*dissolve_ao)(composite_run_t *c, int num);
|
||||
void (*dissolve_oo)(composite_run_t *c, int num);
|
||||
} draw_info_t;
|
||||
|
||||
#define RENDER_RUN_ALPHA (DI.render_run_alpha)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue