Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
drawing outlined text
#4
one Wrote:jeah, im just not creative enuogh x)

but wouldnt it be better to make it like this?
Code:
Call TextOut(hDC, x - 1, y, Text, Len(Text))
    Call TextOut(hDC, x + 1, y, Text, Len(Text))
    Call TextOut(hDC, x, y - 1, Text, Len(Text))
    Call TextOut(hDC, x, y + 1, Text, Len(Text))
this works better for me Smile
there where some pixels missing with your method, and it looked horrible with some fonts.

Not method T.T
Code:
Call TextOut(HDC, X + 1, Y + 0, Text, Len(Text))
    Call TextOut(HDC, X + 0, Y + 1, Text, Len(Text))
    Call TextOut(HDC, X + 1, Y + 1, Text, Len(Text))
    Call TextOut(HDC, X - 1, Y - 0, Text, Len(Text))
    Call TextOut(HDC, X - 0, Y - 1, Text, Len(Text))
    Call TextOut(HDC, X - 1, Y - 1, Text, Len(Text))

Thats how I do it...

:: Pando
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)