blob: 8a2515e42bda97c10bfcfeca74a115baae86c0d3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
package com.artifex.mupdf.fitz;
public class DisplayList
{
// Private data
protected long nativeDisplayList;
// Constructions
public DisplayList()
{
nativeDisplayList = newNative();
}
private native long newNative();
// Operation
public native void run(Device device, Matrix ctm, Rect scissor, Cookie cookie);
public void run(Device device, Matrix ctm, Cookie cookie)
{
run(device, ctm, null, cookie);
}
// Destruction
public void destroy()
{
finalize();
nativeDisplayList = 0;
}
protected native void finalize();
}
|