60 Topics

Member Avatar for
Member Avatar for kazekagerandy

i am working on a virtual make-up software and the only thing i lack to totally finish it is the lipstick part. is there a way that i can trace the edges of the lips of the picture that im editing and fill its insides with colors from a colordialog …

Member Avatar for Unhnd_Exception
0
157
Member Avatar for kazekagerandy

how can i draw a free-shape (it means no particular shape or sides) and fill it in with the colors chosen from colordialog? e.g. im gonna draw a rounded rectangle and i want to fill its insides with color red. answers will be appreciated :)

Member Avatar for debasisdas
0
287
Member Avatar for wonder_laptop

Hello, I have written some java classes to generate a random network. The network is made of : 200 nodes . Each node has a maximum of 50 neighbors. What i want is to Randomly chose a node from that network and GRAPHICALLY show it with its one hop neighbors …

Member Avatar for Taywin
0
118
Member Avatar for Dexxta27

I need a program for making flowcharts. I used to use OpenOffice Draw, but I'm looking for something else right now, preferably a stand-alone program or one that comes with little unrelated functions. It would be better if free ones are separated from paid ones.

Member Avatar for Dexxta27
0
133
Member Avatar for Dasharnb777

I need to draw sin(x)/x graphic into PictureBox in animation mode by timer component. I have axes already on my picBox and graphic draws from 0;0. Also I have some code from this forum, but there my graphic draws FROM RIGHT TO THE LEFT, and I need to draw it …

Member Avatar for Dasharnb777
0
235
Member Avatar for Avasulthiris

Hi, I'm trying to expand an existing php-based project. I need to be able to allow users to create basic flow diagrams inside their web browser. Drag and drop environments with movement and resize abilities on a js canvas. Start blocks, information blocks (possible hyperlinks too), Decision Blocks, End Blocks, …

Member Avatar for Avasulthiris
0
185
Member Avatar for OpenSDL

Hi! I have a problem with SDL and OpenGL. I wrote a code to convert SDL Surfaces to OpenGL textures. Now I have a function to Draw a rect(with opengl) on a SDL_Surface. That's the code to draw a rect: [CODE] void DrawRect(SDL_Rect *rect, GLuint texture) { float x = …

Member Avatar for mike_2000_17
0
270
Member Avatar for JeeJ

Hi all am a beginner in C# iam making a Drawing application the user will choose the x-y position , width ,hight , the shape and the color he want and then press the Draw button i coded the button and it work properly and draw the shape in the …

Member Avatar for taylby
0
139
Member Avatar for ak24

Hello... I want to draw three straight lines on a form. Can you tell me if the following code is correct: [CODE]Private Sub Form1_Paint(ByVal sender As Object, ByVal e As System.Windows.Forms.PaintEventArgs) Handles Me.Paint Dim Line1 As System.Drawing.Graphics Dim PenLine As New System.Drawing.Pen(System.Drawing.Color.Black) Line1 = Me.CreateGraphics Line1.DrawLine(PenLine, 0, 129, 529, 129) …

Member Avatar for ak24
0
630
Member Avatar for Obsidian_496

Hello. I've created a program which calculates points which belong to a specific graph, such as Archimedes spiral, Logarithmic spiral, Cardioid etc. The program generates an array with coordinates. Technically coordinates are polar, but I can convert them to cartesian by using polar() function. Question is - how do i …

Member Avatar for mike_2000_17
0
686
Member Avatar for GregMalick

I'm trying to write a Windows App that will let me write or draw in a window and still see what's below. Kinda a transparent Notepad with Borders. It's easy to create a transparent Window using: CreateWindow() with wndclass.hbrBackground = (HBRUSH) 0; But in the CALLBACK WndProc() where I'm drawing, …

Member Avatar for GregMalick
0
225
Member Avatar for ineale

I have a program that will use the following code to draw the nodes i need (ellipses), but it won't draw the paths(lines). The only thing i could think of is that it might not be calling properly through two classes. [CODE]protected override void OnRender(DrawingContext drawingContext) { base.OnRender(drawingContext); DrawingGroup dGroup …

0
77
Member Avatar for P.manidas

Dear Sir/Madam, I want to draw a word/sentence over form by coding as like as pencil is drawing in Paint Programe. But in Paint Programe Pencil is handle by user, here i want it to draw automatically. (like somebody is writing his name by Pen/Pencil) Please guide me.

Member Avatar for billmaster
0
203
Member Avatar for educated_fool

Hello dear All, Now I'm writing an app that have to react on some user's actions in real time and redraw a big form according to this activity and a timer's firing. Also, when redrawing the form, the app must emit some short sounds. For the last purpose I used …

Member Avatar for educated_fool
0
186
Member Avatar for moroshko

Hi, I would like to write a program that enable user to draw geometric shapes like circles, triangles, rectangles and so on. I would like also to be able to drag and drop or resize a shape that was previously drawn. 1) I thought to draw the shapes inside a …

Member Avatar for pauldani
0
257
Member Avatar for tuba-zeynep

Hi, I don't know C# very well, so I did^n't understand where the problem is. Program works without errors. But it doesn't do what I want, when I click on panel1 , not draws rectangle. Maybe, you can realise something wrong in the code. [CODE] using System; using System.Collections.Generic; using …

Member Avatar for ddanbe
0
188
Member Avatar for bottledwater

hi all! i have been programming in C for about 4 months now, and i have the very basics down pretty well (functions, pointers, etc etc), and have been doing a lot of console apps, and i was hoping to do a fractals program. i have the algorithm down (at …

Member Avatar for Ancient Dragon
0
155
Member Avatar for sathya8819

Hi, I have a code where I have to use the region class in drawing. When I type using System.Drawing., the region class doesnt appear in the drop down list. I know this is a kinda silly doubt, but I need to include it in my project. Thanks prashanth

Member Avatar for sathya8819
0
166
Member Avatar for sathya8819

Hi, I have this following code for RGB to HSL conversion, but I do not know how to use it to display my image. Can someone help out [CODE]var_R = ( R / 255 ) //RGB from 0 to 255 var_G = ( G / 255 ) var_B = ( …

Member Avatar for sathya8819
0
228
Member Avatar for Diamonddrake

I need to be able to take a point on an image and convert it into a point relative to a picturebox with the pictureSizeMode set to zoom here is the code that the picturebox uses to scale and center the image [CODE] Size size = this.image.Size; float num = …

Member Avatar for Diamonddrake
0
283
Member Avatar for Byrne86

Iv made conways game of life, but I want the user to be able to select a pre defined pattern or for them to be able to choose different shaped brushes then draw with that brush. Aswell, when I use the radio buttons to change the size, the program goes …

Member Avatar for Geekitygeek
0
225
Member Avatar for student88

hi all .. just want to ask if anyone have an idea how can i move image down throug keyboard cursors up an down .. i know that there is the keydown event and the keyup event but really i don't know how to write the code .. other qusetion …

Member Avatar for student88
0
172
Member Avatar for student88

hi all iam new in this forum and i need some help in my assignment .. it's a c# game using graphics .. this game when start it should show a sheep then a chicken randomly then all graphics will move to the left .. there will be a dora …

Member Avatar for Geekitygeek
0
154
Member Avatar for arshad115

hi,i am making trees and i want to draw the structure of the tree in windows forms applications.since the class tree has the access to the trees root pointer.so only a member function of the class can draw the nodes of that tree. but i cannot use the graphics pointer …

0
150
Member Avatar for Byrne86

Hi, Iv had to convert a program from Java to C#, I thought I had done it, but it doesnt work, and Im at a loose end because I cant figure out why it isnt working. Anyway, what it is is a Mandelbrot Set that Im trying to display in …

Member Avatar for ddanbe
0
543
Member Avatar for Diamonddrake

I have been working on a custom Hue Slider, when you drag the knob the color of it changes to its hue value. (ex 0 is red). I added a little gloss to the knob, I feel its not done, I Just don't have any Ideas as to how to …

Member Avatar for Diamonddrake
1
170
Member Avatar for Diamonddrake

I am writing a custom slider control, All its functionality is accounted for but now the aesthetics (which was the reason for writing it in the first place) has become problematic. It starts with a custom class that converts true hls and rgb, thats 360 stops not 255. then I …

Member Avatar for Diamonddrake
0
183
Member Avatar for papanyquiL

Hi everyone, I'm supposed to make a form with the basic shapes (circle, ellipse, pie, arc, etc...) drawn onto a panel. For each shape one will be hollow and one will be filled ontop of eachother. I can't seem to get the positions correct. All of the images are being …

Member Avatar for papanyquiL
0
271
Member Avatar for ddanbe

Hi all, I have made (just to learn C#) a calculator program, which is working OK. I made a Round button class for it, but the edges of the buttons still look "crispy". I set [B]SmoothingMode [/B]and [B]PixelOffsetMode[/B] to [B]HighQuality[/B] but it seems to have no effect. Is this once …

Member Avatar for emarshah
0
861
Member Avatar for ddanbe

Hi all, I know how to drag and drop an image from one control to another. Code enough out there. It works fine, but I find the user interface a bit poor:'( I want my image to follow the mouse while held down. Found nothing that serves my needs on …

Member Avatar for Diamonddrake
0
738

The End.