GeometricWrapper.st
author Claus Gittinger <cg@exept.de>
Thu, 09 May 1996 10:43:59 +0200
changeset 254 1286cec58b5d
parent 251 9c6e546a96e2
child 265 45c83acd7562
permissions -rw-r--r--
doku
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
251
9c6e546a96e2 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     1
"
9c6e546a96e2 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     2
 COPYRIGHT (c) 1996 by Claus Gittinger
9c6e546a96e2 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     3
              All Rights Reserved
9c6e546a96e2 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     4
9c6e546a96e2 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     5
 This software is furnished under a license and may be used
9c6e546a96e2 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     6
 only in accordance with the terms of that license and with the
9c6e546a96e2 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     7
 inclusion of the above copyright notice.   This software may not
9c6e546a96e2 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     8
 be provided or otherwise made available to, or used by, any
9c6e546a96e2 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     9
 other person.  No title to or ownership of the software is
9c6e546a96e2 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    10
 hereby transferred.
9c6e546a96e2 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    11
"
9c6e546a96e2 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    12
9c6e546a96e2 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    13
9c6e546a96e2 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    14
9c6e546a96e2 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    15
9c6e546a96e2 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    16
9c6e546a96e2 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    17
Wrapper subclass:#GeometricWrapper
9c6e546a96e2 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    18
	instanceVariableNames:''
9c6e546a96e2 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    19
	classVariableNames:''
9c6e546a96e2 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    20
	poolDictionaries:''
9c6e546a96e2 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    21
	category:'Graphics-Display Objects'
9c6e546a96e2 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    22
!
9c6e546a96e2 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    23
9c6e546a96e2 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    24
!GeometricWrapper class methodsFor:'documentation'!
9c6e546a96e2 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    25
9c6e546a96e2 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    26
copyright
9c6e546a96e2 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    27
"
9c6e546a96e2 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    28
 COPYRIGHT (c) 1996 by Claus Gittinger
9c6e546a96e2 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    29
              All Rights Reserved
9c6e546a96e2 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    30
9c6e546a96e2 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    31
 This software is furnished under a license and may be used
9c6e546a96e2 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    32
 only in accordance with the terms of that license and with the
9c6e546a96e2 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    33
 inclusion of the above copyright notice.   This software may not
9c6e546a96e2 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    34
 be provided or otherwise made available to, or used by, any
9c6e546a96e2 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    35
 other person.  No title to or ownership of the software is
9c6e546a96e2 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    36
 hereby transferred.
9c6e546a96e2 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    37
"
9c6e546a96e2 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    38
9c6e546a96e2 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    39
9c6e546a96e2 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    40
9c6e546a96e2 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    41
9c6e546a96e2 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    42
!
9c6e546a96e2 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    43
9c6e546a96e2 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    44
documentation
9c6e546a96e2 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    45
"
9c6e546a96e2 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    46
    abstract class for wrappers of geometric objects.
9c6e546a96e2 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    47
    These allows any geometric thingy to be used as a component in a view.
9c6e546a96e2 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    48
254
Claus Gittinger <cg@exept.de>
parents: 251
diff changeset
    49
    (background info: geometrics are mathematical objects - they do not 
Claus Gittinger <cg@exept.de>
parents: 251
diff changeset
    50
     keep any color or lineStyle attributes. Wrappers add this information
Claus Gittinger <cg@exept.de>
parents: 251
diff changeset
    51
     and can also be used as components of a view)
Claus Gittinger <cg@exept.de>
parents: 251
diff changeset
    52
251
9c6e546a96e2 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    53
    [see also:]
9c6e546a96e2 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    54
        StrokingWrapper FillingWrapper
9c6e546a96e2 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    55
        Geometric GraphicsContext
9c6e546a96e2 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    56
9c6e546a96e2 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    57
    [author:]
9c6e546a96e2 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    58
        Claus Gittinger
9c6e546a96e2 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    59
"
9c6e546a96e2 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    60
9c6e546a96e2 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    61
9c6e546a96e2 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    62
9c6e546a96e2 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    63
! !
9c6e546a96e2 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    64
9c6e546a96e2 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    65
!GeometricWrapper methodsFor:'accessing - bounds'!
9c6e546a96e2 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    66
9c6e546a96e2 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    67
preferredBounds
9c6e546a96e2 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    68
    "return the components bounds as preferredBounds"
9c6e546a96e2 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    69
9c6e546a96e2 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    70
    ^ component bounds
9c6e546a96e2 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    71
9c6e546a96e2 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    72
    "Created: 9.5.1996 / 10:28:10 / cg"
9c6e546a96e2 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    73
! !
9c6e546a96e2 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    74
9c6e546a96e2 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    75
!GeometricWrapper class methodsFor:'documentation'!
9c6e546a96e2 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    76
9c6e546a96e2 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    77
version
254
Claus Gittinger <cg@exept.de>
parents: 251
diff changeset
    78
    ^ '$Header: /cvs/stx/stx/libview2/GeometricWrapper.st,v 1.2 1996-05-09 08:43:49 cg Exp $'
251
9c6e546a96e2 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    79
! !