Code formatting.

svn-id: r31851
This commit is contained in:
Eugene Sandulenko 2008-05-03 22:10:52 +00:00
parent e5929da662
commit 3e8e978c4e
2 changed files with 7 additions and 7 deletions

View File

@ -34,11 +34,11 @@ namespace Graphics {
inline uint32 fp_sqroot(uint32 x);
VectorRenderer *createRenderer() {
return new VectorRendererSpec<uint16,ColorMasks<565> >;
return new VectorRendererSpec<uint16,ColorMasks<565>>;
}
void vector_renderer_test( OSystem *_system ) {
void vector_renderer_test(OSystem *_system) {
VectorRenderer *vr = createRenderer();
Surface _screen;
@ -123,7 +123,7 @@ drawLineAlg(int x1, int y1, int x2, int y2, int dx, int dy) {
template<typename PixelType, typename PixelFormat>
void VectorRendererAA<PixelType,PixelFormat>::
blendPixelPtr( PixelType *ptr, uint8 alpha ) {
blendPixelPtr(PixelType *ptr, uint8 alpha) {
register int idst = *ptr;
register int isrc = Base::_color;

View File

@ -33,7 +33,7 @@
namespace Graphics {
void vector_renderer_test( OSystem *_system );
void vector_renderer_test(OSystem *_system);
/**
* VectorRenderer: The core Vector Renderer Class
@ -113,7 +113,7 @@ public:
*
* @param surface Pointer to a Surface object.
*/
virtual void setSurface(Surface *surface){
virtual void setSurface(Surface *surface) {
_activeSurface = surface;
}
@ -248,7 +248,7 @@ public:
*
* @see VectorRenderer::blendPixel()
*/
virtual inline void blendPixel( int x, int y, uint8 alpha ) {
virtual inline void blendPixel(int x, int y, uint8 alpha) {
putPixel(x, y);
}
@ -319,7 +319,7 @@ protected:
* The AA renderer does support alpha blending. Special cases are
* handled separately.
*/
inline void blendPixel( int x, int y, uint8 alpha ) {
inline void blendPixel(int x, int y, uint8 alpha) {
if (alpha == 0)
return;
else if (alpha < 255)