Lines Matching refs:Run
72 typedef SkinRegionRun Run;
80 #define RUNS_EMPTY ((Run*)(void*)(-1))
81 #define RUNS_RECT ((Run*)(void*)(0))
118 RunStore* s = malloc( sizeof(*s) + sizeof(Run)*count );
135 memcpy( s2, s, sizeof(*s) + s->count*sizeof(Run) );
161 runstore_from_runs( Run* runs )
168 static __inline__ Run*
172 return (Run*)(s + 1);
175 static Run*
188 /** Run parsing
191 static Run*
192 runs_next_scanline( Run* runs )
200 static Run*
201 runs_find_y( Run* runs, int y )
220 runs_set_rect( Run* runs, SkinRect* rect )
230 static Run*
231 runs_copy_scanline( Run* dst, Run* src )
243 static Run*
244 runs_copy_scanline_adj( Run* dst, Run* src, int ytop, int ybot )
246 Run* runs2 = runs_copy_scanline( dst, src );
247 dst[0] = (Run) ytop;
248 dst[1] = (Run) ybot;
252 static __inline__ Run*
253 runs_add_span( Run* dst, int left, int right )
255 dst[0] = (Run) left;
256 dst[1] = (Run) right;
261 runs_get_count( Run* runs )
269 runs_coalesce_band( Run* *psrc_spans, Run* *pdst_spans, SkinBox* minmax )
271 Run* sspan = *psrc_spans;
272 Run* dspan = *pdst_spans;
295 dspan[0] = (Run) pleft;
296 dspan[1] = (Run) pright;
302 dspan[0] = (Run) pleft;
303 dspan[1] = (Run) pright;
316 runs_coalesce( Run* dst, Run* src, SkinBox* minmax )
318 Run* prev = NULL;
319 Run* dst0 = dst;
325 Run* sspan = src + 2;
326 Run* dspan = dst + 2;
336 dst[0] = (Run) ytop;
337 dst[1] = (Run) ybot;
342 !memcmp(prev+2, dst+2, (dspan-dst-2)*sizeof(Run)))
454 Run *runs1, *runs2;
476 !memcmp( (char*)runs1, (char*)runs2, store1->count*sizeof(Run) ) )
485 Run* runs;
500 runs[0] = (Run)(ytop + dy);
501 runs[1] = (Run)(ybot + dy);
507 runs[0] = (Run)(xleft + dx);
508 runs[1] = (Run)(xright + dx);
562 Run* runs = runs_find_y( r->runs, y );
611 Run *runs1, *runs2;
612 Run run2_tmp[ RUNS_RECT_COUNT ];
664 Run* span1;
665 Run* span2;
760 Run* runs1;
761 Run* runs2;
762 Run* runs_base;
763 Run* runs;
766 Run runs1_rect[ RUNS_RECT_COUNT ];
767 Run runs2_rect[ RUNS_RECT_COUNT ];
809 Run* runs1 = o->runs1;
810 Run* runs2 = o->runs2;
811 Run* runs = o->runs_base;
858 runs[0] = (Run) ytop1;
859 runs[1] = (Run) ybot;
863 Run* span1 = runs1 + 2;
864 Run* span2 = runs2 + 2;
865 Run* span = runs + 2;
928 span[0] = (Run) xleft1;
939 span[0] = (Run) xleft2;
990 Run* src = o->runs;
1021 memcpy( o->result->runs, o->runs_base, count*sizeof(Run) );
1173 static const Run dummy[ 2 ] = { XSENTINEL, YSENTINEL };
1175 Run* span = iter->span;
1176 Run* band = iter->band;
1184 iter->span = (Run*) dummy;