Searched refs:RoundToUnity (Results 1 – 4 of 4) sorted by relevance
47 static inline double RoundToUnity(const double value) in RoundToUnity() function110 composite[i]=ClampToQuantum(QuantumRange*RoundToUnity(Sa+Da-Sa*Da)); in CompositePixelOver()136 composite->alpha=(double) QuantumRange*RoundToUnity(gamma); in CompositePixelInfoOver()158 gamma=RoundToUnity(Sa+Da); /* 'Plus' blending -- not 'Over' blending */ in CompositePixelInfoPlus()159 composite->alpha=(double) QuantumRange*RoundToUnity(gamma); in CompositePixelInfoPlus()
1435 alpha=RoundToUnity(Sa+Da-Sa*Da);1473 alpha=RoundToUnity(source_dissolve*Sa+canvas_dissolve*Da);
1728 fill_opacity=(1.0-RoundToUnity(Sa+Da-Sa*Da))*QuantumRange; in RenderFreetype()
352 inline float RoundToUnity(const float value)