你可能会认为生成一个带柔和阴影的特效文字与生成一个带光圈的特效文字是完全不同的,其实他们所用到的技术是完全相同的,只是在设置上有些许变化。 在带柔和阴影的效果中...
代码说明:
你可能会认为生成一个带柔和阴影的特效文字与生成一个带光圈的特效文字是完全不同的,其实他们所用到的技术是完全相同的,只是在设置上有些许变化。 在带柔和阴影的效果中,我用到了GDI+中的一些插值模式来生成模糊的文字轮廓,当位图绘制平面放大时,插值模式决定原来某点像素应该怎样和周围的融合。 低质量的插值只是简单的把一个像素变换成同色色块,高质量插值如高质量双线性插值与高质量双三次插值会考虑像素色的平滑与反走样,我发现高质量双线 性插值模式最好。-you may think that a generation with a soft shadow effects of the letter and generate an aperture with the magic words are completely different, they actually have to use the technology is identical, the only set slightly changes. With soft shadows in effect, I used the GDI some of the interpolation model to generate fuzzy outline of the text, when the Bitmap Rendering Large Plane, interpolation mode decision of a point of what should pixels and around integration. Low-quality interpolation just simply put a pixel transform into the same color against a high-quality interpolation such as high-quality and high-quality bilinear interpolation bicubic interpolation will consider pixel color with a smooth anti-aliasing, I found quality bilinear interpolation mode best.
下载说明:请别用迅雷下载,失败请重下,重下不扣分!