Questions tagged [drawing]
Issues around forms and graphics being drawn onto a computer screen, windowing system or device
drawing
5,949
questions
-1
votes
0
answers
37
views
Render large .asc files, with variable colormap
Suppose I have a large .asc file (matrix representing elevation, water depth, ....), in my backend and want to visualize it on the client (with openlayers). The requirements are:
Smooth rendering
...
-1
votes
0
answers
44
views
paintMethod not working as intended. Draw method will never call even when manually tried [duplicate]
I am just trying to get the paintComponent method from the LocateMap class to run. currently it never runs.
I am trying to draw a set number of images within a jpanel based on the dimensions given ...
0
votes
0
answers
26
views
How can I remove the stroke radius from text generated using Python Pillow?
I want a stroke around the text, but when I use the built-in parameters of the text function, the border has rounded edges. I want the border to have sharp, cornered edges instead.
I want sharp edges ...
8
votes
1
answer
66
views
What is the best way to adjust the line spacing for text added to an image using R?
I'm currently working on a simple R script in RStudio that generates text-based images. I've almost completed the script and would like to share it with you. Here's my code so far...
# Check if ...
1
vote
1
answer
133
views
"Blur behind" like effect for TPanel
I want to make a TPanel with a blur effect which is like a glass effect that Windows 7 (Aero) had.
The goal is to be a visual component that shows what is behind it but blurred, which is common in web/...
0
votes
0
answers
19
views
Is it possible to make a drawing app that allows only drawing certain shapes and alphabets like below image in Flutter?
I want to create a drawing application for kids that allows them draw alphabets and certain shapes like Circle, rectangle, square .... but not let them draw freely but let them draw between certain ...
1
vote
0
answers
40
views
How to resize objects that have been drawn by UIBezierPath in swift iOS?
I have used UIBezierPath to draw objects like circle, line, freeline etc....
I have a functionality where i have to resize circle and line objects from the topRight and bottomRight variables in the &...
0
votes
0
answers
29
views
Python geodataframe issue with function explore()
I have a GeoDataFrame data as below:
I want to explore this data with function explore(), however this does not work (the map is not showing anything):
gdf.explore(column='value3', cmap='OrRd', ...
0
votes
1
answer
18
views
SkiaSharp not drawing text where it's supposed to for large fonts (X coordinate)
I'm rendering tickets for printing using SkiaSharp. I print multiple lines in a regular font size, and the ticket number using a large font. Here are the SKPaint objects I'm using:
using SKPaint ...
0
votes
0
answers
36
views
How to get the size of Text when building a custom Shape
This is a follow-up to my question How to fill a Path in a Canvas using a Material style where the comment was made, why use a Canvas when a Shape would be easier?
One difference between a Canvas and ...
0
votes
0
answers
16
views
Design the self driving robot and implement it into Gazebo to check out
I don't know how to design my self-driving delivery robot, just need to do it fast and reliable through fixing problems,and then make the physical form of it.Have to design the robot from sketch and ...
0
votes
0
answers
48
views
Use wpf translatetransform and didn't get the correct drawing
i give two point[(100, 100) and (500, 200)] to crate a rect with wpf streamgeometry. and i use translatetransform to translate the rect in grid center.
but draw the point(400, 400) and (2000, 800) and ...
1
vote
1
answer
104
views
how to force cv2.ellipse to draw a clockwise circular arc?
cv2.ellipse seems to have a mind of its own about which way it interprets start-and end angles.
I want to draw a circular arc from 300° to 130° in the clockwise direction, i.e. like this:
with this ...
0
votes
0
answers
39
views
How to Increase plot generation speed with Matplotlib?
I'm using Matplotlib to generate images of trajectories from videos, but it's very slow—around 0.05s to 0.1s per trajectory. A single frame can contain 4 to 5 trajectories, so I'm looking for ...
0
votes
1
answer
177
views
YOLOv8 plotting labels issue, satellite imagery data
I have an issue with the YOLOv8 training output (from ultralytics), specifically the drawing of the labels (not the predictions). I do have a dataset of satellite imagery, where there is (segmentation)...