separate DC out of pdf.c and djvu.c (cleanup)
This commit is contained in:
1 parent
929ea1e703
commit
9ee7afa86d
8 files changed
+160
-222
No files matched your search
+1
-10
@@ -1,15 +1,6 @@
|
||||
require "unireader"
|
||||
|
||||
PDFReader = UniReader:new{
|
||||
newDC = function()
|
||||
print("pdf.newDC")
|
||||
return pdf.newDC()
|
||||
end,
|
||||
}
|
||||
|
||||
function PDFReader:init()
|
||||
self.nulldc = self.newDC();
|
||||
end
|
||||
PDFReader = UniReader:new{}
|
||||
|
||||
-- open a PDF file and its settings store
|
||||
function PDFReader:open(filename, password)
|
||||
|
||||
Reference in new issue
Block a user