|
|
|
@ -1427,8 +1427,10 @@ typedef ptrdiff_t FT_PtrDist; |
|
|
|
|
|
|
|
|
|
static int |
|
|
|
|
gray_move_to( const FT_Vector* to, |
|
|
|
|
gray_PWorker worker ) |
|
|
|
|
void* worker_ ) /* gray_PWorker */ |
|
|
|
|
{ |
|
|
|
|
gray_PWorker worker = (gray_PWorker)worker_; |
|
|
|
|
|
|
|
|
|
TPos x, y; |
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -1446,8 +1448,11 @@ typedef ptrdiff_t FT_PtrDist; |
|
|
|
|
|
|
|
|
|
static int |
|
|
|
|
gray_line_to( const FT_Vector* to, |
|
|
|
|
gray_PWorker worker ) |
|
|
|
|
void* worker_ ) /* gray_PWorker */ |
|
|
|
|
{ |
|
|
|
|
gray_PWorker worker = (gray_PWorker)worker_; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
gray_render_line( RAS_VAR_ UPSCALE( to->x ), UPSCALE( to->y ) ); |
|
|
|
|
return 0; |
|
|
|
|
} |
|
|
|
@ -1456,8 +1461,11 @@ typedef ptrdiff_t FT_PtrDist; |
|
|
|
|
static int |
|
|
|
|
gray_conic_to( const FT_Vector* control, |
|
|
|
|
const FT_Vector* to, |
|
|
|
|
gray_PWorker worker ) |
|
|
|
|
void* worker_ ) /* gray_PWorker */ |
|
|
|
|
{ |
|
|
|
|
gray_PWorker worker = (gray_PWorker)worker_; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
gray_render_conic( RAS_VAR_ control, to ); |
|
|
|
|
return 0; |
|
|
|
|
} |
|
|
|
@ -1467,8 +1475,11 @@ typedef ptrdiff_t FT_PtrDist; |
|
|
|
|
gray_cubic_to( const FT_Vector* control1, |
|
|
|
|
const FT_Vector* control2, |
|
|
|
|
const FT_Vector* to, |
|
|
|
|
gray_PWorker worker ) |
|
|
|
|
void* worker_ ) /* gray_PWorker */ |
|
|
|
|
{ |
|
|
|
|
gray_PWorker worker = (gray_PWorker)worker_; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
gray_render_cubic( RAS_VAR_ control1, control2, to ); |
|
|
|
|
return 0; |
|
|
|
|
} |
|
|
|
@ -2155,9 +2166,12 @@ typedef ptrdiff_t FT_PtrDist; |
|
|
|
|
#else /* !STANDALONE_ */ |
|
|
|
|
|
|
|
|
|
static int |
|
|
|
|
gray_raster_new( FT_Memory memory, |
|
|
|
|
gray_PRaster* araster ) |
|
|
|
|
gray_raster_new( void* memory_, |
|
|
|
|
FT_Raster* araster_ ) |
|
|
|
|
{ |
|
|
|
|
FT_Memory memory = (FT_Memory)memory_; |
|
|
|
|
gray_PRaster* araster = (gray_PRaster*)araster_; |
|
|
|
|
|
|
|
|
|
FT_Error error; |
|
|
|
|
gray_PRaster raster = NULL; |
|
|
|
|
|
|
|
|
|