| Modifier and Type | Field and Description |
|---|---|
static int |
FIT_BOTTOM |
static int |
FIT_CENTRE |
static int |
FIT_LEFT |
static int |
FIT_MIDDLE |
static int |
FIT_RIGHT |
static int |
FIT_TOP |
| Modifier and Type | Method and Description |
|---|---|
GFXFillAttr |
background() |
void |
background(GFXFillAttr oBackground) |
boolean |
defaultColours() |
void |
defaultColours(boolean bDefaultColours) |
int |
devH(UnitSpan oHeight) |
GFXDevPoint |
devPoint(CoordPair oPoint) |
GFXDevRect |
devRect(Rect oRect) |
int |
devW(UnitSpan oWidth) |
int |
devX(UnitSpan oX) |
int |
devY(UnitSpan oY) |
boolean |
displayAsPages() |
void |
displayAsPages(boolean bDisplayAsPages) |
boolean |
draw3dEffects() |
void |
draw3dEffects(boolean b3dEffects) |
GFXDriver |
driverAttach() |
GFXDriver |
driverAttach(GFXModelContext poModelContext)
Attach/create a driver instance to render the given model context in
this view.
|
void |
driverDetach() |
void |
driverDetach(GFXModelContext poModelContext)
Detach/release a driver instance previously created to render the
given model context in this view.
|
boolean |
eraseBg() |
void |
fit(double dScale,
CoordPair oOrigin,
int nFit) |
void |
fit(double dScale,
CoordPair oOrigin,
int nFit,
boolean bInvalidate) |
void |
fitPage(Rect oPageRect) |
void |
fitSides(UnitSpan oLeft,
UnitSpan oRight,
UnitSpan oY,
int nFit) |
FontService |
fontService() |
void |
fontService(FontService poNewService) |
GFXDriver |
getDriver() |
int |
height() |
UnitSpan |
heightInAbsUnits() |
boolean |
infoEnv() |
boolean |
interactive() |
void |
interactive(boolean bInteractive) |
void |
invalidateArea(GFXModelContext poModelContext,
Rect oInvalidArea,
boolean bEraseBG)
Invalidate some part of a given model context in this view.
|
boolean |
legacyPositioning() |
void |
legacyPositioning(boolean bLegacyPositioning) |
void |
refresh() |
double |
scale() |
UnitSpan |
unitH(int lHeight) |
CoordPair |
unitPoint(int lX,
int lY) |
Rect |
unitRect(int lLeft,
int lTop,
int lRight,
int lBottom) |
UnitSpan |
unitW(int lWidth) |
UnitSpan |
unitX(int lX) |
UnitSpan |
unitY(int lY) |
GFXDriver |
validDriver() |
Rect |
visibleArea() |
int |
width() |
UnitSpan |
widthInAbsUnits() |
public static final int FIT_LEFT
public static final int FIT_CENTRE
public static final int FIT_RIGHT
public static final int FIT_TOP
public static final int FIT_MIDDLE
public static final int FIT_BOTTOM
public GFXFillAttr background()
public void background(GFXFillAttr oBackground)
public boolean defaultColours()
public void defaultColours(boolean bDefaultColours)
public boolean draw3dEffects()
public void draw3dEffects(boolean b3dEffects)
public boolean displayAsPages()
public void displayAsPages(boolean bDisplayAsPages)
public int devH(UnitSpan oHeight)
public GFXDevPoint devPoint(CoordPair oPoint)
public GFXDevRect devRect(Rect oRect)
public int devW(UnitSpan oWidth)
public int devX(UnitSpan oX)
public int devY(UnitSpan oY)
public GFXDriver driverAttach()
public GFXDriver driverAttach(GFXModelContext poModelContext)
Attaching with different model contexts will likely produce different driver instances--instances that are aware of the co-ordinate spaces of their respective model contexts.
The default implementation simply calls the existing overload of DriverAttach() that has no parameters.
poModelContext - - Pointer to model context for the driver
instance.public void driverDetach()
public void driverDetach(GFXModelContext poModelContext)
The default implementation simply calls the existing overload of DriverDetach() that has no parameters.
poModelContext - - Pointer to model context for the driver
instance.public boolean eraseBg()
public void fit(double dScale,
CoordPair oOrigin,
int nFit,
boolean bInvalidate)
public void fit(double dScale,
CoordPair oOrigin,
int nFit)
public void fitPage(Rect oPageRect)
public FontService fontService()
public void fontService(FontService poNewService)
public GFXDriver getDriver()
public int height()
public UnitSpan heightInAbsUnits()
public boolean infoEnv()
public boolean interactive()
public void interactive(boolean bInteractive)
public boolean legacyPositioning()
public void legacyPositioning(boolean bLegacyPositioning)
public void invalidateArea(GFXModelContext poModelContext, Rect oInvalidArea, boolean bEraseBG)
The default implementation simply calls the existing overload of InvalidateArea() that is not model context aware.
poModelContext - - Pointer to model context for the driver
instance.oInvalidArea - - Rectangular area to invalidate. This will be
in the co-ordinate space of the given model context.bEraseBG - - True if the background is to be erased first; false
if not.public void refresh()
public double scale()
public UnitSpan unitH(int lHeight)
public CoordPair unitPoint(int lX, int lY)
public Rect unitRect(int lLeft, int lTop, int lRight, int lBottom)
public UnitSpan unitW(int lWidth)
public UnitSpan unitX(int lX)
public UnitSpan unitY(int lY)
public Rect visibleArea()
public int width()
public UnitSpan widthInAbsUnits()
public GFXDriver validDriver()
Copyright © 2010 - 2020 Adobe. All Rights Reserved