|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--Gav.JPGraphTools
class JPGraphTools : Various Graphic functions
Field Summary | |
(package private) float |
lHeight
Logical size (theorical size for calculation) |
(package private) float |
lWidth
Logical size (theorical size for calculation) |
(package private) int |
MaxX
Current Canvas size |
(package private) int |
MaxY
Current Canvas size |
(package private) int |
OrigOffsetX
Origin Offsets |
(package private) int |
OrigOffsetY
Origin Offsets |
(package private) float |
pHeight
Pixel size according to logical and real sizes |
(package private) float |
pWidth
Pixel size according to logical and real sizes |
(package private) static int |
REPRANISOTROPIC
|
(package private) static int |
REPRBASE
Type of Representation |
(package private) int |
ReprCrt
Current Reprensentation |
(package private) static int |
REPRISOTROPIC
|
Constructor Summary | |
JPGraphTools()
default constructor. |
|
JPGraphTools(int mx,
int my,
int repr)
Constructor. |
Method Summary | |
int |
GetRepresentation()
Get Representation |
int |
LToRX(float x_)
Logical to system display conversion Return : x=x, y=MaxY-y |
int |
LToRY(float y_)
|
void |
Resize(int mx,
int my)
set current working size |
void |
Resize(int mx,
int my,
float lx,
float ly)
set current working and logical size |
float |
RToLX(int x_)
System display to Logical conversion |
float |
RToLY(int y_)
|
void |
SetLogicSize(float w,
float h)
set logical size |
void |
SetOrigOffset(int x,
int y)
set current origin offsets |
void |
SetRepresentation(int r)
set Representation |
Methods inherited from class java.lang.Object |
|
Field Detail |
static final int REPRBASE
static final int REPRANISOTROPIC
static final int REPRISOTROPIC
int ReprCrt
float lWidth
float lHeight
float pWidth
float pHeight
int MaxX
int MaxY
int OrigOffsetX
int OrigOffsetY
Constructor Detail |
public JPGraphTools()
public JPGraphTools(int mx, int my, int repr)
Method Detail |
public void SetOrigOffset(int x, int y)
public void Resize(int mx, int my)
public void Resize(int mx, int my, float lx, float ly)
public void SetRepresentation(int r)
public int GetRepresentation()
public void SetLogicSize(float w, float h)
public int LToRX(float x_)
public int LToRY(float y_)
public float RToLX(int x_)
public float RToLY(int y_)
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |