Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
320 views

I'm trying to implement a convolution function in c++. When I use it, it either crashes my program, or it convolves but it shifts my pixels. for (int y = 1; y < m_imageHeight - 1; y++) { for (...
Afonso Britto's user avatar
1 vote
0 answers
156 views

I am using Sebastian Lague portals in my game (text), everything works perfectly but there is an catch, I have a flashlight machanic in my project and when I get close to the portal with it it looks ...
JakeTheBlaze's user avatar
0 votes
1 answer
50 views

Can we declare or initialize or take user input values of arrays in GUI Java only in one frame ?? If yes then how? and no then reason?
Muhammad Usman's user avatar
0 votes
0 answers
95 views

This is the code i want to run . i put QpushButton in QTableWidget by setCellWidget but when i add Menu action to the button the menu doesn't display why? p = QtWidgets.QPushButton("Test")...
Christian BATADIWA's user avatar
0 votes
0 answers
492 views

i'm working on a school project using CSFML (The SFML library but in C), i'm trying to display a line between two points but impossible for me to find any good documentation to do it, if someone know ...
Grainbox's user avatar
0 votes
0 answers
160 views

I am wondering if there is a way for any social network package (sna, network, or igraph) to accommodate duplicate ties with different weights? I have data where division chiefs are rating their ...
NJS's user avatar
  • 1
0 votes
1 answer
383 views

I already know how to write to a texture using Framebuffers. However, for a project I'm doing that requires FFT's, I need at a point to write, in the same shader, into more than one position of the ...
Pedro Fernandes's user avatar
0 votes
1 answer
207 views

I am trying to fill a shape with an imageIcon and I keep getting an error saying that it should be converted to a paint. I am afraid I don't know how to do it. I have read quite a few examples from ...
Pedro Henrique Ferreira's user avatar
0 votes
0 answers
30 views

This is the code and expected output for a revive box that i created for a practice project revboxppl frame contains three labels l1,l2,l3 and each label contains the same image ill.png <--image ...
Salik Malik's user avatar
0 votes
1 answer
576 views

I'm trying to initialize Direct3D11 in C++. On machines that have Visual Studio installed(all of those are running on Windows 10), it runs fine. On other computers (without Visual studio installed, ...
Fabian Burgmann's user avatar
2 votes
1 answer
1k views

https://www.geeksforgeeks.org/bresenhams-circle-drawing-algorithm/ I was looking at Bresenham's algorithm which I'm trying to use to make a MS paint style application. I've implemented it into python ...
Tino Tom's user avatar
2 votes
0 answers
386 views

I'm trying to build a graphical programming editor, similar to Max, Grasshopper, or Antimony using TypeScript. The basic idea is that a block represents a function with inputs on the left and outputs ...
Chet's user avatar
  • 20.1k
0 votes
1 answer
717 views

Assume an image I of dimension (2, 2). Graphical coordinates C are given as: C = [[0, 0], [1, 0], [0, 1], [1, 1]] Objective: rotate I by 90 degrees about the centre (NOT the origin). ...
user1658296's user avatar
  • 1,428
0 votes
1 answer
1k views

Let's just say i have a jlabel with a text in it. And i want the text keep changing every second to the left just like running text on the billboard. Is it possible? if yes, how?
user avatar
-3 votes
1 answer
37 views

public class RoomListener implements ActionListener { public void actionPerformed(ActionEvent event) { double roomtype; if (event.getSource() == room1) roomtype = ...
Sam D.'s user avatar
  • 1
2 votes
0 answers
117 views

I am having some problems in an exercise that I'm doing for the graphical interfaces course. I'm writing a program in F# defined in this way: I have a class A, in which I override the method OnPaint; ...
Carmine's user avatar
  • 119
-4 votes
2 answers
292 views

I want to create a Toplevel window and use this function in it . There is no example anywhere... Here the complete description in /usr/share/ada/adainclude/gtkada/gtk-gentry.ads function Get_Text (...
infinite's user avatar
0 votes
0 answers
550 views

I am revisiting a project that I done at university a few years ago that involved using the Princeton StdDraw Class. When I try to execute it now in eclipse it is giving me an error that "the import ...
Engineer999's user avatar
  • 4,159
0 votes
1 answer
1k views

I am building a Ruby application which consists of the code responsible for the logic of the program and the one for GUI. Both parts of the code are split in classes and run in separate threads. Ruby ...
Lukas Valatka's user avatar
0 votes
2 answers
7k views

I am using m_db command to load the value from a table to a parameter in AbInitio graph. But its not showing any value. I also run it in Unix but still its not showing any value. The command is (...
Ravi's user avatar
  • 182
0 votes
1 answer
35 views

I have an application that whenever I load in any image or update the JTextArea it always places the new object / text in the top left of the frame instead of simply updating whatever object it is ...
Millsie's user avatar
1 vote
2 answers
545 views

i want to convert graphical x,y coordinates x,y to mathematical coordinated ( in this picture you see the Differences between graphical x,y and mathematical x,y the graphical x and graphical y ...
Behzad74's user avatar
1 vote
0 answers
156 views

I am sorry for my bad english. I use C++ and Qt framework for programm development. I call method ISymbologyControl LoadDesktopStyleFile and receive error code: "1075 800a0433 : ArcGIS Desktop is not ...
AlexandrGeoinfo's user avatar
0 votes
1 answer
524 views

I managed to make some arbitrary signals manually, but I want to define them in a database and at the define signal part from the Arbitrary signal properties I would like to take the values from a DB. ...
DaJackal's user avatar
  • 2,095
2 votes
1 answer
3k views

I'm trying to implement the following algorithm (breaking to painting to small triangles) but I couldn't find any tutorial over the net that explains it properly, Most of the things I've found explain ...
igal k's user avatar
  • 1,924