のねのBlog

パソコンの問題や、ソフトウェアの開発で起きた問題など書いていきます。よろしくお願いします^^。

メモ

				if ((width != 0) && (height != 0))
				{
					if ((this.mFixWidthFlag) && (width < (mW*2)))
					{
						canvas.drawText(text, 0, end, (float)sx, (float)sy, mPaint);
					} else {
						int alpha = 0x40;
						mPaint.setColor(Color.argb(alpha, 0, 0xff, 0));
						canvas.drawCircle((float)sx, (float)sy, mW/4, mPaint);
						mPaint.setColor(mForeColor);
						Log.d("DroidView", "code=["+ Integer.toHexString(code)
								+"] width=[" + width + "] height=["+height+"] over");
					}
				} else {
					// Width = 0 Or Height = 0
					Log.d("DroidView", "code=["+ Integer.toHexString(code)
							+"] width=[" + width + "] height=["+height+"]");
				}