Squeak Class Documentation category index | class index  
 
BalloonCanvas
  category: Balloon-Engine
  superclass: FormCanvas
  subclasses: BalloonDebugCanvas

No comment. Sorry.

instance methods
  TODO
  line:to:brushForm:
paragraph:bounds:color:
text:bounds:font:color:

  accessing
  aaLevel
aaLevel:
deferred
deferred:
ensuredEngine

  balloon drawing
  drawBezier3Shape:color:borderWidth:borderColor:
drawBezierShape:color:borderWidth:borderColor:
drawCompressedShape:
drawGeneralBezier3Shape:color:borderWidth:borderColor:
drawGeneralBezierShape:color:borderWidth:borderColor:
drawGeneralPolygon:color:borderWidth:borderColor:
drawOval:color:borderWidth:borderColor:
drawRectangle:color:borderWidth:borderColor:
render:

  converting
  asBalloonCanvas

  copying
  copy

  drawing
  fillColor:
fillOval:color:borderWidth:borderColor:
fillRectangle:color:
frameAndFillRectangle:fillColor:borderWidth:borderColor:
frameAndFillRectangle:fillColor:borderWidth:topLeftColor:bottomRightColor:
frameRectangle:width:color:
line:to:width:color:
point:color:

  drawing-ovals
  fillOval:fillStyle:borderWidth:borderColor:

  drawing-polygons
  drawPolygon:color:borderWidth:borderColor:
drawPolygon:fillStyle:
drawPolygon:fillStyle:borderWidth:borderColor:

  drawing-rectangles
  fillRectangle:fillStyle:

  initialize
  flush
initialize
resetEngine

  private
  ifNoTransformWithIn:
image:at:sourceRect:rule:

  testing
  isBalloonCanvas
isVisible:

  transforming
  colorTransformBy:
preserveStateDuring:
transformBy:
transformBy:during:

class methods
  instance creation
  new

instance methods
  TODO top  
 

line:to:brushForm:

Who's gonna use this?


 

paragraph:bounds:color:

Draw the given paragraph


 

text:bounds:font:color:

Draw the given string in the given font and color clipped to the given rectangle. If the font is nil, the default font is used.


  accessing top  
 

aaLevel


 

aaLevel:

Only allow changes to aaLevel if we're working on >= 8 bit forms


 

deferred


 

deferred:


 

ensuredEngine


  balloon drawing top  
 

drawBezier3Shape:color:borderWidth:borderColor:


 

drawBezierShape:color:borderWidth:borderColor:

Draw a boundary shape that is defined by a list of vertices.
Each three subsequent vertices define a quadratic bezier segment.
For lines, the control point should be set to either the start or the end
of the bezier curve.


 

drawCompressedShape:

Draw a compressed shape


 

drawGeneralBezier3Shape:color:borderWidth:borderColor:


 

drawGeneralBezierShape:color:borderWidth:borderColor:

Draw a general boundary shape (e.g., possibly containing holes)


 

drawGeneralPolygon:color:borderWidth:borderColor:

Draw a general polygon (e.g., a polygon that can contain holes)


 

drawOval:color:borderWidth:borderColor:

Draw the oval defined by the given rectangle


 

drawRectangle:color:borderWidth:borderColor:

Draw a rectangle


 

render:

Do some 3D operations with the object if possible


  converting top  
 

asBalloonCanvas


  copying top  
 

copy

Make a copy the receiver on the same underlying Form but with its own grafPort.


  drawing top  
 

fillColor:

Note: This always fills, even if the color is transparent.


 

fillOval:color:borderWidth:borderColor:

Draw a filled and outlined oval


 

fillRectangle:color:

Fill the rectangle with the given color


 

frameAndFillRectangle:fillColor:borderWidth:borderColor:

Draw a filled and outlined rectangle


 

frameAndFillRectangle:fillColor:borderWidth:topLeftColor:bottomRightColor:

Draw a beveled or raised rectangle


 

frameRectangle:width:color:

Draw a frame around the given rectangle


 

line:to:width:color:

Draw a line from pt1 to: pt2


 

point:color:

Is there any use for this?


  drawing-ovals top  
 

fillOval:fillStyle:borderWidth:borderColor:

Fill the given rectangle.


  drawing-polygons top  
 

drawPolygon:color:borderWidth:borderColor:

Generalize for the BalloonCanvas


 

drawPolygon:fillStyle:

Fill the given polygon.


 

drawPolygon:fillStyle:borderWidth:borderColor:

Draw a simple polygon defined by the list of vertices.


  drawing-rectangles top  
 

fillRectangle:fillStyle:

Fill the given rectangle.


  initialize top  
 

flush

Force all pending primitives onscreen


 

initialize


 

resetEngine


  private top  
 

ifNoTransformWithIn:

Return true if the current transformation does not affect the given bounding box


 

image:at:sourceRect:rule:

Draw the portion of the given Form defined by sourceRect at the given point using the given BitBlt combination rule.


  testing top  
 

isBalloonCanvas


 

isVisible:

Optimization


  transforming top  
 

colorTransformBy:


 

preserveStateDuring:

Preserve the full canvas state during the execution of aBlock


 

transformBy:


 

transformBy:during:


class methods
  instance creation top  
 

new

Answer a new instance of the receiver (which is a class) with no indexable variables. Fail if the class is indexable.