Advertisement

Results for "Author: saed abumokh"

5_2007-2008 #194525
Rotate Text Correctly

This example of code shows how to rotate the text correctly, the CreateFont function rotates the text around the text starting point, this code demonstrates rotating text around the text center point using CreateFont function and correcting the point to print the text and rotate

6_2008-2009 #217037
How do the Sine and Cosine work???

You can draw ellipses without using the sin() and cos() functions, by using these functions, you will understand how do the sine and the cosine works

6_2008-2009 #217038
A New Type Of Gradient ! (Updated)

You can after now draw your gradients easily. Select 4 Colors and draw a 4-colored gradient rectangle, you will see a new type of gradient you have never seen it before, you can use it for gradient color pallets (for example), i wrote a very little amount of code, to do this. in addition, i have wrote an extra code that i hadn't use it, you can use it in your gradphics programs, like triangular gradient, and polygonal gradient

6_2008-2009 #217039
Transform picture using StretchBlt

This code show you how to transform the picture using StretchBlt

6_2008-2009 #217040
Alpha gradient Pictures

This code draws two pictures that merged - with gradually alpha pixels (like in photoshop)this code is realy wonderful but it's not so hard although its fast, it uses AlphaBlend API function, that requires the destination hDC and source hDC and both's recangle (left,top,width,height) and the blend value(beware: the blend value is between 0 and 255, but in AlphaBlend API function multiply the blend value by 256^2 or in hex add 4 zeroez in the right side like: &H9F --> &H9F0000)

6_2008-2009 #217041
Convert Numbers v1.5(Binary, Octal, Decimal, Hex and other...) supports very long numbers

This program converts numbers in a number system to numbers in another number system like Hex to Decimal or binary to Hex etc., see the word document to know how to convert. There is a useful graphical function,this function flashes a window or an object using its back color v1.5 - over flow error has fixed, write numbers as long as you can! how it's fixed... see the word document atached with this submission

6_2008-2009 #217042
Function Drawer

Function Drawer program is for plotting graphs for math functions. you can change graph lines styles and colors, draw multiple functions... the code includes all common dialogs, each one in class that is easy to use like in .Net, class for menu style changing and menu mouse select event handler, and simple gradient class and other. Function Drawer has a good look (look the screen shot) and easy to use, some programs have a lot of buttons and text boxes and other controls in one window, which make it hard to use. For math functions, you can add constants, draw tangents treat with almost all math functions, like trigonometric functions, hyperbolic functions, logarithms, etc., You can also load and save functions to file, and print them. If you don’t know how to use it, press F1 for help.

6_2008-2009 #217043
Rotate Text Correctly

This example of code shows how to rotate the text correctly, the CreateFont function rotates the text around the text starting point, this code demonstrates rotating text around the text center point using CreateFont function and correcting the point to print the text and rotate

7_2009-2012 #239555
How do the Sine and Cosine work???

You can draw ellipses without using the sin() and cos() functions, by using these functions, you will understand how do the sine and the cosine works

7_2009-2012 #239556
A New Type Of Gradient ! (Updated)

You can after now draw your gradients easily. Select 4 Colors and draw a 4-colored gradient rectangle, you will see a new type of gradient you have never seen it before, you can use it for gradient color pallets (for example), i wrote a very little amount of code, to do this. in addition, i have wrote an extra code that i hadn't use it, you can use it in your gradphics programs, like triangular gradient, and polygonal gradient

7_2009-2012 #239557
Transform picture using StretchBlt

This code show you how to transform the picture using StretchBlt

7_2009-2012 #239558
Alpha gradient Pictures

This code draws two pictures that merged - with gradually alpha pixels (like in photoshop)this code is realy wonderful but it's not so hard although its fast, it uses AlphaBlend API function, that requires the destination hDC and source hDC and both's recangle (left,top,width,height) and the blend value(beware: the blend value is between 0 and 255, but in AlphaBlend API function multiply the blend value by 256^2 or in hex add 4 zeroez in the right side like: &H9F --> &H9F0000)

7_2009-2012 #239559
Convert Numbers v1.5(Binary, Octal, Decimal, Hex and other...) supports very long numbers

This program converts numbers in a number system to numbers in another number system like Hex to Decimal or binary to Hex etc., see the word document to know how to convert. There is a useful graphical function,this function flashes a window or an object using its back color v1.5 - over flow error has fixed, write numbers as long as you can! how it's fixed... see the word document atached with this submission

7_2009-2012 #239560
Function Drawer

Function Drawer program is for plotting graphs for math functions. you can change graph lines styles and colors, draw multiple functions... the code includes all common dialogs, each one in class that is easy to use like in .Net, class for menu style changing and menu mouse select event handler, and simple gradient class and other. Function Drawer has a good look (look the screen shot) and easy to use, some programs have a lot of buttons and text boxes and other controls in one window, which make it hard to use. For math functions, you can add constants, draw tangents treat with almost all math functions, like trigonometric functions, hyperbolic functions, logarithms, etc., You can also load and save functions to file, and print them. If you don’t know how to use it, press F1 for help.

7_2009-2012 #239561
Rotate Text Correctly

This example of code shows how to rotate the text correctly, the CreateFont function rotates the text around the text starting point, this code demonstrates rotating text around the text center point using CreateFont function and correcting the point to print the text and rotate

Languages
Top Categories
Global Discovery