Skip to content

Commit

Permalink
cairo: Set operator
Browse files Browse the repository at this point in the history
  • Loading branch information
okuoku committed Feb 21, 2012
1 parent 990aeaf commit 8784910
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/ext/cairo/moshcairo.c
Expand Up @@ -142,6 +142,10 @@ mc_kick(cairo_t* cr,const unsigned char* ops,int count_ops,void* objs[],int coun
V(x);
cairo_paint_with_alpha(cr,x);
break;
case Draw_SetOperator:
_ID;
cairo_set_operator(cr, r);
break;

case Source_SetTransform:
O(pat);
Expand Down
1 change: 1 addition & 0 deletions src/ext/cairo/moshcairo.h
Expand Up @@ -19,6 +19,7 @@
#define Draw_LoadTransform 20
#define Draw_Paint 21
#define Draw_PaintWithAlpha 22
#define Draw_SetOperator 23

#define Source_SetTransform 101

Expand Down

0 comments on commit 8784910

Please sign in to comment.