Linux C++ efficent copy and rotate routine for embedded system
Budget: £20 – £250 GBP
SPAM Applications will be ignored.. show me you can do this job !!
The project is to create a copy and rotate routine to fast copy from one label class to another.
The detail is written in the code.. I want someone who can start and finish this quickly.
See the attached project
Detail below...
The routine to create is like this..
CopyAndRotate( sourceX0, sourceY0, sourceX1, sourceY1, destinationX0, destinationY0, rotation , overwrite);
sourceX0 - The xmin coordinate in label source
sourceY0 - The ymin coordinate in label source
sourceX1 - The xmax coordinate in label source
sourceY1 - The ymax coordinate in label source
destinationX0 - The xpos coordinate in label source
destinationY0 - The ypos coordinate in label source
rotation - Rotation can be only 0, 90 ,180 or 270. The top left hand corner of the copied rotated object is always destinationX0 and destinationY0
overwrite - When true.. The block overwrites the destination (AND copy). When false the block copy maintains the existing black pixels and overlays the new black pixels (OR copy).
NOTES: You code must not use SIN or COS in a loop or floating point.. We want an efficent copying routine.. do not use the existing SetPixel routines.
Your example should show the rectangle copied in four rotations 0,90,180,270
The project is to create a copy and rotate routine to fast copy from one label class to another.
The detail is written in the code.. I want someone who can start and finish this quickly.
See the attached project
Detail below...
The routine to create is like this..
CopyAndRotate( sourceX0, sourceY0, sourceX1, sourceY1, destinationX0, destinationY0, rotation , overwrite);
sourceX0 - The xmin coordinate in label source
sourceY0 - The ymin coordinate in label source
sourceX1 - The xmax coordinate in label source
sourceY1 - The ymax coordinate in label source
destinationX0 - The xpos coordinate in label source
destinationY0 - The ypos coordinate in label source
rotation - Rotation can be only 0, 90 ,180 or 270. The top left hand corner of the copied rotated object is always destinationX0 and destinationY0
overwrite - When true.. The block overwrites the destination (AND copy). When false the block copy maintains the existing black pixels and overlays the new black pixels (OR copy).
NOTES: You code must not use SIN or COS in a loop or floating point.. We want an efficent copying routine.. do not use the existing SetPixel routines.
Your example should show the rectangle copied in four rotations 0,90,180,270