Kaydet (Commit) 56595dab authored tarafından Tor Lillqvist's avatar Tor Lillqvist

Do use separate width and height

Change-Id: I1bae38bf312ebc0186266be0dad3604e3f940aef
üst f44530f1
......@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment