Results for "Author: saed abumokh"
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
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
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
This code show you how to transform the picture using StretchBlt
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)
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
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.
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
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
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
This code show you how to transform the picture using StretchBlt
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)
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
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.
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