Change-Id: I13ca5ad468167896b4c043358df474a9ecc469c6
Signed-off-by: nisanthmp <nisanth.mp@samsung.com>
* the neareset stop to the zeroth pixel centre in order to correctly
* populate the border color. For completeness, do both edges.
*/
- ((uint32_t*)bytes)[0] = color_stop_to_pixel(&stops[0]);
- ((uint32_t*)bytes)[width-1] = color_stop_to_pixel(&stops[n_stops-1]);
+
+ /* This not needed as we have generated pixman pixels by using the
+ * half pixel from left and right border
+ */
+ /* ((uint32_t*)bytes)[0] = color_stop_to_pixel(&stops[0]);
+ * ((uint32_t*)bytes)[width-1] = color_stop_to_pixel(&stops[n_stops-1]);
+ */
return CAIRO_STATUS_SUCCESS;
}