com.tapina.robe.swi
Class VectorUtil

java.lang.Object
  extended bycom.tapina.robe.runtime.Block
      extended bycom.tapina.robe.runtime.DataBlock
          extended bycom.tapina.robe.module.Module
              extended bycom.tapina.robe.swi.SWIHandler
                  extended bycom.tapina.robe.swi.VectorUtil

public final class VectorUtil
extends SWIHandler

This class represents the VectorUtil module which is used by Jonathan Marten's Draw Plus, Vector, GridPro etc. It is not a RISC OS ROM module but until we can handle loading RISC OS modules we need to reimplement this one in Java and pretend it is.


Field Summary
 
Fields inherited from class com.tapina.robe.swi.SWIHandler
log, METHOD_PARAMETERS
 
Method Summary
 void claimTask()
           
 void ClaimTask(Environment env)
          Increment our count of the number of tasks that are using us.
static int getBase()
           
 java.lang.String getHelp()
           
static VectorUtil getInstance()
           
static java.lang.reflect.Method getMethod(java.lang.Integer offset)
           
 void setResolution(boolean resFlag)
           
 void SetResolution(Environment env)
          Set resolution to use for pointer sprites.
 
Methods inherited from class com.tapina.robe.module.Module
getBytes, getName, getSize, setSize
 
Methods inherited from class com.tapina.robe.runtime.Block
getAddress, setAddress
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static VectorUtil getInstance()

getBase

public static int getBase()

getMethod

public static java.lang.reflect.Method getMethod(java.lang.Integer offset)
                                          throws java.lang.NoSuchMethodException
Throws:
java.lang.NoSuchMethodException

getHelp

public java.lang.String getHelp()
Overrides:
getHelp in class Module

ClaimTask

public final void ClaimTask(Environment env)
Increment our count of the number of tasks that are using us. Preserves all registers.

Parameters:
env -

claimTask

public void claimTask()

SetResolution

public final void SetResolution(Environment env)
Set resolution to use for pointer sprites. Entry: R0 = TRUE for high resolution, FALSE for low. Preserves all registers.

Parameters:
env -

setResolution

public final void setResolution(boolean resFlag)


Copyright © 2003-2005 . All Rights Reserved.