CharacterArray.st
changeset 6528 cf4e93b8104b
parent 6523 ae1aeac5c67d
child 6642 4ce854094c6f
equal deleted inserted replaced
6527:e6528da50c43 6528:cf4e93b8104b
  4884 !
  4884 !
  4885 
  4885 
  4886 heightOn:aGC
  4886 heightOn:aGC
  4887     "return the size of the recevier in device units if displayed on aGC"
  4887     "return the size of the recevier in device units if displayed on aGC"
  4888 
  4888 
  4889     ^ (aGC font on:aGC device) heightOf:self
  4889     ^ (aGC font onDevice:aGC device) heightOf:self
  4890 
  4890 
  4891     "
  4891     "
  4892      'hello world' heightOn:(View new)                 
  4892      'hello world' heightOn:(View new)                 
  4893     "
  4893     "
  4894 
  4894 
  4929 !
  4929 !
  4930 
  4930 
  4931 widthOn:aGC
  4931 widthOn:aGC
  4932     "return ths size of the recevier in device units if displayed on aGC"
  4932     "return ths size of the recevier in device units if displayed on aGC"
  4933 
  4933 
  4934     ^ (aGC font on:aGC device) widthOf:self
  4934     ^ (aGC font onDevice:aGC device) widthOf:self
  4935 
  4935 
  4936     "
  4936     "
  4937      'hello world' widthOn:(View new)                 
  4937      'hello world' widthOn:(View new)                 
  4938     "
  4938     "
  4939 
  4939 
  6116 ! !
  6116 ! !
  6117 
  6117 
  6118 !CharacterArray class methodsFor:'documentation'!
  6118 !CharacterArray class methodsFor:'documentation'!
  6119 
  6119 
  6120 version
  6120 version
  6121     ^ '$Header: /cvs/stx/stx/libbasic/CharacterArray.st,v 1.220 2002-05-03 12:29:46 cg Exp $'
  6121     ^ '$Header: /cvs/stx/stx/libbasic/CharacterArray.st,v 1.221 2002-05-06 06:05:11 cg Exp $'
  6122 ! !
  6122 ! !
  6123 CharacterArray initialize!
  6123 CharacterArray initialize!