<< Click to Display Table of Contents > Bitmap Marking |
Return value |
Function / Property name |
Parameter |
---|---|---|
long |
ScDevicePixelLine() |
float *PixelLine, long PixelCount, double dx, double dy, double dz |
long |
ScSCIDevicePixelLine() |
float *PixelLine, long PixelCount, double dx, double dy, double dz |
This function starts drawing a single pixel line to facilitate bitmap marking. The array PixelLine represents the intensity values for every pixel in range 0.0 .. 1.0 where 1.0 is the highest intensity. PixelCount specifies the amount of pixels in one line, which is the size of the PixelLine-array. The last three parameters dx, dy and dz set the width of a single pixel and the direction of the line. Together with the current marking speed, these parameters define the real horizontal size and marking intensity. If the value for a single pixel that is calculated out of the defined speed and its size is out of the valid range, this function will return immediately without marking. The three parameters dx, dy and dz are important for the result of the marking process, and together with the current speed have to meet the following condition:
VectorLength = sqrt(dx²+dy²+dz²)
PixelPeriod = VectorLength / MarkingSpeed * 1000000
PixelPeriod must be greater than 10 and smaller than 50000 in order to get a valid marking operation.
The raster bitmap functionality requires USC-2 with enabled USC-2 Pixel Output Mode. |
---|
Return value |
Function / Property name |
Parameter |
---|---|---|
long |
ScSCIRasterStart() |
double origin_x, double origin_y, double dir_x, double dir_y, double pixel_step, double line_step, double acceleration_time, double deceleration_time, double line_offset, double jump_speed, double wait_delay_0, double limit_value, long mode_flags |
long |
ScSCIRasterEnd() |
none |
Starts/ends raster marking in the dll interface and exposes most of the sc_com_raster_info structure members. For the COM interface, use ScSetDeviceData. For more information check the Bitmap Marking section.
Return value |
Function / Property name |
Parameter |
---|---|---|
long |
ScRasterPixelLine() |
float *PixelLine, long PixelCount, double PixelPeriod |
long |
ScSCIRasterPixelLine() |
float *PixelLine, long PixelCount, double PixelPeriod |
Outputs one line of PixelCount pixels contained in PixelLine with PixelPeriod output period. PixelPeriod must correspond to the currently configured output frequency.