context.lastBlit = null;
}
if (atile == null) {
if (context.lastBlit == null) {
CompositeType comptype = sg.imageComp;
if (CompositeType.SrcOverNoEa.equals(comptype) &&
paintModel.getTransparency() == Transparency.OPAQUE)
{
comptype = CompositeType.SrcNoEa;
}
context.lastBlit =
Blit.getFromCache(srcData.getSurfaceType(),
comptype,
dstData.getSurfaceType());
}
context.lastBlit.Blit(srcData, dstData,
sg.composite, null,
0, 0, tx, ty, tw, th);
} else {
if (context.lastMask == null) {
CompositeType comptype = sg.imageComp;
if (CompositeType.SrcOverNoEa.equals(comptype) &&
paintModel.getTransparency() == Transparency.OPAQUE)
{
comptype = CompositeType.SrcNoEa;
}