Searched refs:n_alpha (Results 1 – 2 of 2) sorted by relevance
65 let n_alpha = 255 - alpha; in pixel() localVariable66 let rb = ((n_alpha * (*old_color & 0x00FF00FF)) in pixel()69 let ag = (n_alpha * ((*old_color & 0xFF00FF00) >> 8)) in pixel()208 let n_alpha = 255 - alpha; in image_fast() localVariable209 let rb = ((n_alpha * (*old & 0x00FF00FF)) in image_fast()212 let ag = (n_alpha * ((*old & 0xFF00FF00) >> 8)) in image_fast()
142 let n_alpha = 255 - alpha; in blend() localVariable144 let o_r = (((old.data >> 16) & 0xFF) * n_alpha) >> 8; in blend()145 let o_g = (((old.data >> 8) & 0xFF) * n_alpha) >> 8; in blend()146 let o_b = ((old.data & 0xFF) * n_alpha) >> 8; in blend()