Hello,
I have some Images (or BufferedImages) that I need to get the Color of some pixels (x, y). Is there a way to do that? Java API says I need to get BufferedImage's Raster and use function getPixel, but the function returns an array of doubles. I need just the Color. Thank you,
JVFF
Hello,
The int sin(int) function isn't working. If I put sin(90) it returns 0. If I put use double cos(double) with cos(90) it returns -0.043. Is there an alternative to the default functions? ThanX,
JVFF
ThanQ, ;-)
JVFF (Janito Vaqueiro Ferreira Filho)
Hello,
is there a way to use some sort of list as an array? I want to, example:
list<int> myList;
myList[3] = 4;
int a = myList[3];
mylist[30000243857292084] = 56937;
a = mylist[30000243857292084];
myList[0] = 0;
int b = myList[0];
...
Is there any way to do something similiar? ThanX in...
Hello,
Is there a way to use some sort of memory stream like the std::fstream? This is for a normal, (almost) plain Win32 Console app. ThanX in advance.
ThanQ, ;-)
JVFF (Janito Vaqueiro Ferreira Filho)
Hello,
Is there a way to record all sounds the computer sends to the speakers (not the computer internal beep speaker, the sound speaker)? I need a component, library, unit, anything to do that. ThanQ, ;-)
JVFF (Janito Vaqueiro Ferreira Filho)
Hello,
I'm working on a project that needs syntax hylighting. It needs to highlite some keywords. What I did so far was, OnChange of TRichEdit, convert the entire line where the user is typing into black and 'Courier New'. Then I look for the keyword on the line and set it's color to blue...
Hello,
I am making a PC Player program (see www.jvffprogramming.hpg.com.br for more info) and I need to read a command from a file. I loaded it into MemoHidden and now I need to check MemoHidden.Lines.Strings[1] to see if it has the character '(' and the position it is to SetLen to remove the...
Hello,
I am a C++ Program, new to Object Pascal. Is there a function to make the program wait for a few seconds like Sleep() in C++? ThanQ, ;-)
JVFF (Janito Vaqueiro Ferreira Filho)
Hi I created this TreeView
Project
C++ Files
Resources
Classes
then when I click a button ity adds a child to Item[1]
Project
C++ Files
Noname
Resources
Classes
then when I click a button to add a resource Item[2] it does this:
Project
C++ Files...
Hi,
I created this code for opening pixels but it doesn't work.
void CPCPlayerDlg::OnPaint()
{
unsigned short int index = 0;
unsigned long int x = 0;
unsigned long int y = 0;
if (IsIconic())
{
CPaintDC dc(this); // device context for painting
SendMessage(WM_ICONERASEBKGND...
Hi!
I got the hwnd handle and I've setted some pixels but I don't know how I can put the changed pixels onto the screen. How can I do that? ThanQ, ;-)
JVFF (Janito Vaqueiro Ferreira Filho)
Hi!
I need to create a HDC for the useable part of the dialog box so I can change some pixels. How do I create the HDC? ThanQ, ;-)
JVFF (Janito Vaqueiro Ferreira Filho)
I've tried to create so many classes like CBitmapFile CBlock but all of them present compiler error: Unexpected end of file while looking for precompiled header directive. Please help... ThanQ, ;-)
JVFF (Janito Vaqueiro Ferreira Filho)
Hello,
I've got 300 images called Image1, Image2... Image300. Is there any way to make an array so that I may use:
Image[SpinNum1->Value]->Picture->LoadFromFile("b.bmp");
instead of a 2 huge switches ( I am already using
switch(EditChosenChar->Text) ). ThanQ. ThanQ, ;-)...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.