com.tapina.robe.swi
Class VectorUtil
java.lang.Object
com.tapina.robe.runtime.Block
com.tapina.robe.runtime.DataBlock
com.tapina.robe.module.Module
com.tapina.robe.swi.SWIHandler
com.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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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.