Road shadow drawing method and device
A shadow drawing and road technology, applied in image data processing, instrumentation, 2D image generation, etc., can solve problems such as color blocks, and achieve the effect of avoiding color block problems
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0019] In order to make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions provided by the embodiments of the present invention will be described in detail below with reference to the accompanying drawings.
[0020] See figure 1 , is a method for drawing road shadows provided by an embodiment of the present invention, the method comprising:
[0021] Step 10: Create a new road shadow drawing buffer;
[0022] Wherein, the size of the road shadow drawing buffer is the same as the size of the map image to be displayed on the user terminal screen. For example, if a map image of 256 pixels*256 pixels is to be displayed on the screen of the user terminal, the size of the road shadow drawing buffer is also 256 pixels*256 pixels.
[0023] Step 11: call the line drawing interface to draw opaque road shadows for all roads to be displayed in the buffer according to the preset road shadow color;
[0024] Where...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 