remame BitMapTotalHeight to bitmapTotalHeight

This commit is contained in:
minggo 2011-09-19 18:15:47 +08:00
parent 371d4e646a
commit 5ff9bd0c9e
3 changed files with 6 additions and 6 deletions

View File

@ -64,11 +64,11 @@ public class Cocos2dxBitmap{
TextProperty textProperty = computeTextProperty(content, paint, width, height);
int BitMapTotalHeight = (height == 0 ? textProperty.totalHeight:height);
int bitmapTotalHeight = (height == 0 ? textProperty.totalHeight:height);
// Draw text to bitmap
Bitmap bitmap = Bitmap.createBitmap(textProperty.maxWidth,
BitMapTotalHeight, Bitmap.Config.ARGB_8888);
bitmapTotalHeight, Bitmap.Config.ARGB_8888);
Canvas canvas = new Canvas(bitmap);
// Draw string

View File

@ -64,11 +64,11 @@ public class Cocos2dxBitmap{
TextProperty textProperty = computeTextProperty(content, paint, width, height);
int BitMapTotalHeight = (height == 0 ? textProperty.totalHeight:height);
int bitmapTotalHeight = (height == 0 ? textProperty.totalHeight:height);
// Draw text to bitmap
Bitmap bitmap = Bitmap.createBitmap(textProperty.maxWidth,
BitMapTotalHeight, Bitmap.Config.ARGB_8888);
bitmapTotalHeight, Bitmap.Config.ARGB_8888);
Canvas canvas = new Canvas(bitmap);
// Draw string

View File

@ -64,11 +64,11 @@ public class Cocos2dxBitmap{
TextProperty textProperty = computeTextProperty(content, paint, width, height);
int BitMapTotalHeight = (height == 0 ? textProperty.totalHeight:height);
int bitmapTotalHeight = (height == 0 ? textProperty.totalHeight:height);
// Draw text to bitmap
Bitmap bitmap = Bitmap.createBitmap(textProperty.maxWidth,
BitMapTotalHeight, Bitmap.Config.ARGB_8888);
bitmapTotalHeight, Bitmap.Config.ARGB_8888);
Canvas canvas = new Canvas(bitmap);
// Draw string