Module Expr Str ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad Call NameLoad decorator_list decorator_list Expr Str ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Str Expr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore ListLoad Str If CompareIs AttributeLoad NameLoad attr NameLoad body Expr Call NameLoad NameLoad NameLoad orelse If Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr NameLoad Expr Call NameLoad Num NameLoad orelse Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Num Assign AttributeStore NameLoad attr NameLoad Expr Call NameLoad Num NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return BoolOpAnd Call NameLoad NameLoad Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Num Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Num Num AugAssignAdd AttributeStore NameLoad attr Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam defaults body If UnaryOpNot AttributeLoad NameLoad attr body Return Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num decorator_list decorator_list
N/A N/A 
* Copyright 2008 Google Inc.
* Copyright (C) 2009 Luke Kenneth Casson Leighton <lkcl@lkcl.net>
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http:#www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
 pyjamas.Timer Timer pyjamas Window pyjamas DOM pyjamas.ui.Composite Composite pyjamas.ui.VerticalPanel VerticalPanel pyjamas.Canvas.ImageLoader loadImages SimpleCanvasDemo SimpleCanvasDemo LogoDemoControls N/A Composite N/A __init__ N/A N/A self N/A N/A N/A N/A N/A Composite __init__ self N/A VerticalPanel N/A N/A N/A *
* Demo Showcasing simple image rendering, transformations and animations.
 LogoDemo N/A SimpleCanvasDemo N/A N/A 
    * Controls for the logo demo. We dont actually have any controls at the
    * moment, so we just initialize with an empty Vertical Panel.
     __init__ N/A N/A self theCanvas N/A N/A N/A N/A N/A SimpleCanvasDemo __init__ self theCanvas N/A N/A self height 400 N/A N/A self width 600 N/A N/A self demoName Pyjamas Logo N/A 
        * Reference to our ImageHandle that gets initialized on the callback from
        * ImageLoader.
         N/A N/A self img None N/A N/A self rotation 0.1 N/A N/A self run False N/A createControls N/A N/A self N/A N/A N/A N/A self controls N/A LogoDemoControls N/A drawDemo N/A N/A self N/A N/A N/A N/A N/A N/A self canvas resize N/A self width N/A self height N/A imageUrls N/A ./pyjamas.128x128.png N/A N/A N/A self img None N/A N/A N/A loadImages imageUrls self N/A N/A N/A N/A self isImageLoaded N/A self img N/A N/A N/A self run True N/A N/A Timer 1 self N/A N/A N/A N/A Window alert Refresh the page to reload the image. N/A onImagesLoaded N/A N/A self imageHandles N/A N/A N/A N/A self img N/A imageHandles N/A 0 N/A N/A self run True N/A N/A Timer 1 self N/A stopDemo N/A N/A self N/A N/A N/A N/A self run False N/A isImageLoaded N/A N/A self imgElem N/A N/A N/A N/A N/A hasattr imgElem __isLoaded N/A imgElem __isLoaded N/A renderingLoop N/A N/A self N/A N/A N/A N/A N/A N/A self canvas saveContext N/A N/A N/A N/A self canvas clear N/A N/A N/A N/A self canvas drawImage N/A self img 84 74 N/A N/A N/A N/A self canvas translate 300 200 N/A N/A N/A N/A self canvas rotate N/A self rotation N/A N/A N/A N/A self canvas scale 0.9 0.9 N/A N/A N/A N/A self canvas drawImage N/A self img 0 0 N/A N/A self rotation 0.1 N/A N/A N/A N/A self canvas restoreContext N/A onTimer N/A N/A self timer N/A N/A N/A N/A N/A self run N/A N/A N/A N/A N/A self renderingLoop N/A N/A N/A timer schedule 10 N/A N/A