Apple Newton Utilities Guia do Utilizador Página 424

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 942
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 423
CHAPTER 10
Recognition: Advanced Topics
10-48 Summary of Advanced Topics in Recognition
// Positive offset (in pixels) from base
// to the top of an uppercase “X”
bigHeight: int,
// Positive offset (in pixels) from base
// to the bottom of a lowercase “g”
descent: int,
…}
// use w/ rcBaseInfo to define grids of input cells
rcGridInfo :=
{// all coordinates are global (screen) coordinates
// coord of left edge of upper-left box in grid
boxLeft: int,
// coord of right edge of upper-left box in grid
boxRight: int,
// distance in pixels from one boxLeft to next boxLeft
xSpace: int,
// coord of topmost edge of upper-left box in grid
boxTop: int,
// coord of bottom edge of upper-left box in grid
boxBottom: int,
// distance in pixels from one boxTop to next boxTop
ySpace: int
}
ProtoCharEdit Template 10
aCharEditTemplate :=
{
format: string, // string array indexes or underscores
filters: [str1, str2, … strN], // valid input values
string: string // initial string to display
// optional method you supply
// sets value of charEditView.text slot
SetupString: func (str) begin … end,
// optional method you supply
// formats charEditView.text string for ext display
CleanupString: func (str)begin … end
}
Vista de página 423
1 2 ... 419 420 421 422 423 424 425 426 427 428 429 ... 941 942

Comentários a estes Manuais

Sem comentários