I want to merge two images in blackberry. one image is a big image and other image is a small one. position of small image will be define by developer. what are the possible ways?
相关问题
- Direct2D Only Partially Linking in C++ Builder
- Asynchronous threads drawing in Bitmaps Delphi
- Create depth map from 3d points
- OpenCL on Linux with integrated intel graphic chip
- How to make background of BrowserField transparent
相关文章
- Behavior of uniforms after glUseProgram() and spee
- Difference between SuspendLayout and BeginUpdate
- How to smooth the blocks of a 3D voxel world?
- Calculating Vertex Normals of a mesh [duplicate]
- myBitmap.RawFormat is something different than any
- anyone can explain the “field of view”
- How to dodge pointrange ggplots on two levels?
- To get the module names in blackberry
You can use the Graphics class to draw multiple Bitmaps onto it in different offsets. Look into the Graphic.drawBitmap function. We use something like:
Where the graphics object is the one passed by the paint method we override and icon is the large image. Than determine the x y position for the smaller image and use the same method on the graphics object:
Where mark is the smaller image.
Hope this helps :)