Set() public method

public Set ( int pWidth, int pHeight ) : void
pWidth int
pHeight int
return void
Exemplo n.º 1
0
 private void GetLetterBounds(char pCharacter, Size pSize)
 {
     this.mPaint.GetTextBounds(pCharacter.ToString(), 0, 1, this.mGetLetterBoundsTemporaryRect);
     pSize.Set(this.mGetLetterBoundsTemporaryRect.Width() + LETTER_EXTRA_WIDTH, this.GetLineHeight());
 }
Exemplo n.º 2
0
 private void GetLetterBounds(char pCharacter, Size pSize)
 {
     this.mPaint.GetTextBounds(pCharacter.ToString(), 0, 1, this.mGetLetterBoundsTemporaryRect);
     pSize.Set(this.mGetLetterBoundsTemporaryRect.Width() + LETTER_EXTRA_WIDTH, this.GetLineHeight());
 }