diff options
author | Tor Lillqvist <tlillqvist@suse.com> | 2012-06-11 18:12:04 +0300 |
---|---|---|
committer | Tor Lillqvist <tlillqvist@suse.com> | 2012-06-12 13:50:48 +0300 |
commit | 56595dab6424db6d69f81bfa551118140c5b66ac (patch) | |
tree | 7ebe6d79522662b0b4f4c63d4e7a2e84c65b5556 /touch/idl | |
parent | f44530f1a0b775d8da8be2164cf54b7a2a65c614 (diff) |
Do use separate width and height
Change-Id: I1bae38bf312ebc0186266be0dad3604e3f940aef
Diffstat (limited to 'touch/idl')
-rw-r--r-- | touch/idl/org/libreoffice/touch/XDocument.idl | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/touch/idl/org/libreoffice/touch/XDocument.idl b/touch/idl/org/libreoffice/touch/XDocument.idl index 254970e7ee78..6695de582562 100644 --- a/touch/idl/org/libreoffice/touch/XDocument.idl +++ b/touch/idl/org/libreoffice/touch/XDocument.idl @@ -37,10 +37,11 @@ interface XDocument: com::sun::star::uno::XInterface // on Android version and/or hardware? TBD. Will the same format be useful // also for iOS? TBD. - // buffer must have an exact number of bytes for a square with each side a - // power-of-two number of pixels, At this API level buffer is represented - // as the address of its bytes as a 64-bit integer, i.e. on Android it - // must be a "direct" ByteBuffer for that to be meaningful. + // At this API level buffer is represented as the address of its bytes as + // a 64-bit integer, i.e. on Android it must be a "direct" ByteBuffer for + // that to be meaningful. + + // width and height must be powers of two // listener gets a "reasonable" number of callbacks during the rendering // if it takes "significantly" long, and can inerrupt the rendering. @@ -56,7 +57,8 @@ interface XDocument: com::sun::star::uno::XInterface // Or should we just go OpenGL ES and render into a texture? void render( [in] hyper buffer, - [in] long bufferSize, + [in] long width, + [in] long height, [in] XDocumentRenderCallback listener, [in] long pageNo, [in] long zoomLevel, |