Questions tagged [openvg]

OpenVG™ is a royalty-free, cross-platform API that provides a low-level hardware acceleration interface for vector graphics libraries such as Flash and SVG.

29 questions
1
vote
1 answer

Accessing VGImage Data

Using OpenVG 1.1 I am trying to dump a VGImage to a file to confirm things are working but I am unsure how to access the raw RGBA data of the VGImage. Using vgReadPixels to capture the data to a char array does somewhat work but before I spend much…
1
vote
1 answer

How to create global instance of objects that require a context?

I am attempting to write a C++ wrapper of OpenVG, which is very Open-GL like in its design. here is a simple wrapper for a path handle: class Path { VGPath handle; public: Path() : …
lezebulon
  • 7,607
  • 11
  • 42
  • 73
0
votes
1 answer

OpenVG on wince: nothing painted on screen (example application Star.exe)

Has anyone got the openvg example (star.exe) running on a wince target successfully? I’ve tried it but failed – nothing was painted on screen except for an empty window. Below is what I’ve done for it. Environment: Qt 4.7.4 Wince 6.0 An SDK with…
user952398
  • 21
  • 3
0
votes
1 answer

Can not connect a Surface eglCreatePbufferFromClientBuffer

VGint num_config; EGLint value; EGLBoolean ret; m_BackLayerBuffer = vgCreateImage(SGA_DIS_FMT_RGB565, LCD_WIDTH, LCD_HEIGHT, VG_IMAGE_QUALITY_NONANTIALIASED); vgClearImage(m_BackLayerBuffer, 0, 0, LCD_WIDTH, LCD_HEIGHT); …
Runner
  • 23
  • 3
0
votes
0 answers

How to rasterize a line in memory without displaying rendered image?

I am trying to use GPGPU for some (scientific) calculations. Essentially, I need to rasterize (with antialiasing) a (bountiful of) line(s) cutting a grid, and save this data in a sparse format (that will later be handled by CUDA or alike). I believe…
Meligordman
  • 75
  • 2
  • 7
0
votes
1 answer

Raspberry Pi OpenVG C/C++

I have two question about OpenVG I'm going to plot a chart using OpenVG. I read documentation and I can't find how to write a single pixel (something like putpixel in Pascal). I found one solution: draw a short line (1 pix line) but is not…
0
votes
1 answer

Rotated text with OpenVG

I've noticed that the OpenVG transformation matrix is ignored by the text rendering routine at all and I cannot control the text position with it manually with VG_GLYPH_ORIGIN parameter. I'm implementing a scene graph. I found out that I can use…
Kos
  • 70,399
  • 25
  • 169
  • 233
0
votes
1 answer

Does Intel Atom support OpenVG?

Some time ago, I read some rumors on hardware implementation of OpenVG in Intel Atoms of a "new ganeration". Now I cannot find any evidence. So, is there at least some plans to support OpenVG at all?
noober
  • 4,819
  • 12
  • 49
  • 85
0
votes
0 answers

why do I need to use OpenVG in my Android App?

I want to scan a fingerprint. Also I have the device SDK provided for the manufacturer and there is an example inside of how to use the functions. When I run the example code suddenly it crashes while saying: "libOpenVG.so not found" There is…
0
votes
1 answer

Unable to Draw in C++ on Raspberry Pi

I have, thanks to some help, managed to get the program below to compile and run but although it keeps on chugging away I cannot see anything drawn on the Pi's screen. I don't think that it is a problem unique to the use of openvg and ajstarks code…
user867358
  • 75
  • 11
0
votes
0 answers

ios + OpenGL/OpenVG/Core Graphics/cocos2d. The most optimal algorithm of checking if a point is inside a region?

I use the algorithm of checking if a point is inside a region: draw a point with color1 draw a region with color2 check if point still has color1 So the main problem for me is the last step. I know it is possible to do this with core graphics but…
user2083364
  • 744
  • 1
  • 7
  • 20
0
votes
2 answers

c++. Convert drawing bezier curve calls with 2 points defined to calls with 3 points defined?

link to theory C and c mean curves with 3 points defined. S and s mean curves with 2 points defined. The relevant functions are (monkSVG + monkVG/openVG): void OpenVG_SVGHandler::onPathCubic( float x1, float y1, float x2, float y2, float x3,…
user2083364
  • 744
  • 1
  • 7
  • 20
0
votes
3 answers

How can I import SVG in an OpenVG context?

I have a C program that uses OpenVG to display vector animations. All the objects are created by writting VG functions again and again... I work with an artist who can provides me SVG files of vectorial pictures. So my objective is to display these…
caymard
  • 158
  • 2
  • 10
0
votes
1 answer

Best current OpenVG implementation?

Possible Duplicate: Best OpenVG implementation? I am aware this is a duplicate of : OpenVG implementation? but the page hasn't been updated in 2 years. Basically I'm looking for a decently fast implementation of OpenVG that works on top of…
lezebulon
  • 7,607
  • 11
  • 42
  • 73
1
2