Commit Graph

5 Commits

Author SHA1 Message Date
Viktor Szakats
81c9b0506c 2010-06-04 15:21 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/*
    * Deleted 'www.' from harbour-project.org website name.
      (www.harbour-project.org -> harbour-project.org)
2010-06-04 13:32:23 +00:00
Mindaugas Kavaliauskas
10ccef2ce0 2010-01-20 14:28 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
* harbour/contrib/hbcairo/pdf.c
  * harbour/contrib/hbcairo/png.c
    * updated harbour level functions to be available, but return error 
      result, if it is not supported by some version of cairo library
  * harbour/contrib/hbcairo/image.c
    * comment typo
2010-01-20 12:26:19 +00:00
Viktor Szakats
850cb7aa44 2009-12-15 18:11 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* package/winuni/RELNOTES
    ! Typo.

  * contrib/hbqt/qtgui/qtguis/Makefile
  * contrib/hbqt/qtcore/qtcores/Makefile
  * contrib/hbqt/hbqts/Makefile
  * contrib/hbqt/qtnetwork/qtnetworks/Makefile
    ! Fixed HB_QT_STATIC=yes mode.

  * contrib/hbclipsm/date.c
    ! Fixed DATEASARRAY() to return empty array instead of { NIL, NIL, NIL }
      if non-date was passed.
    % Optimized DATEASARRAY().

  * contrib/hbcairo/image.c
    ! Fixed two warnings.

  * INSTALL
    + Added CYGWIN= envvar to mingwarm example to suppress useless
      Cygwin warning.
2009-12-15 17:12:19 +00:00
Przemyslaw Czerpak
989e532c00 2009-12-04 02:49 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbcairo/util.c
  * harbour/contrib/hbcairo/image.c
  * harbour/contrib/hbcairo/context.c
    ! fixed casting for some more pedantic C++ compilers
2009-12-04 01:50:14 +00:00
Mindaugas Kavaliauskas
a486531e90 2009-11-30 21:31 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
+ harbour/contrib/hbcairo
  + harbour/contrib/hbcairo/Makefile
  + harbour/contrib/hbcairo/context.c
  + harbour/contrib/hbcairo/core.c
  + harbour/contrib/hbcairo/imgae.c
  + harbour/contrib/hbcairo/paths.c
  + harbour/contrib/hbcairo/pdf.c
  + harbour/contrib/hbcairo/png.c
  + harbour/contrib/hbcairo/text.c
  + harbour/contrib/hbcairo/hbcairo.ch
  + harbour/contrib/hbcairo/hbcairo.h
    + Added Cairo graphics library
    ; It's a 2D graphic library that makes drawing commands platform 
      independent. Supported backends are: memory image, PDF, PNG, PS, 
      Win32 DC, SVG, Quartz, Xlib, started Qt development. I.e., you 
      can forget if you are drawing on screen, printer, PDF, or image
      file from know. GTK and FireFox are only a sample of well-known 
      library/application that uses Cairo as rendering engine.
    ; Webpage: http://cairoprahics.org
    ; Binaries, development files and related packages (ex., libpng) for 
      Windows can be found at http://www.gtk.org/download-windows.html
    ; I've used multiple .c files so store Harbour level functions. 
      Functions are split into source files using help sections of
      original Cairo docs (http://cairographics.org/manual/)
    ; You'll find the full documentation on Cairo webpage. Only a few 
      functions are spesific to Harbour and could not be found in 
      original documentaion. It accesses C language structures of Cairo 
      library. These functions are:
         cairo_path_iterator_create( hPath ) --> hIterator
         cairo_path_iterator_next( hIterator ) --> nType | NIL
         cairo_path_iterator_get_points( hIterator ) --> aPoints
         cairo_path_iterator_set_points( hIterator, aPoints ) --> lOk
    ; Internal Cairo pointers/handlers are implemented using collectible 
      pointers. It is destroyed after is not visible to probram any more.
      Though original functions cairo_*_destroy() are also implemeted for 
      those, who wants to make it code clean.
    ; TOCHECK: GC pointers implementation, HB_USE_ITEM define.
    ; TODO: I've implemted not all functions of Cairo. Actually, the 
      minority, but it's enough to do some fancy things.
    ; TODO: Makefile support. I've completely failed to make a working 
      make system. I can compile library by copying Cairo *.h files into 
      source folder and making .dll import library manualy. I guess 
      Viktor can solve the issues in 3 minutes.

  + harbour/contrib/hbcairo/tests
  + harbour/contrib/hbcairo/tests/hbmk.hbm
  + harbour/contrib/hbcairo/tests/fancytxt.prg
  + harbour/contrib/hbcairo/tests/glyphdbg.prg
  + harbour/contrib/hbcairo/tests/hellow.prg
  + harbour/contrib/hbcairo/tests/table.prg
    + added a few samples to generate .pdf/.png images
    ; NOTE: one of the things that make me to spend 3 days for doing this 
      commit is never ending emails about .pdf library problems on 
      developers mailing list. I'm using Cairo for a few years, I've 
      mentioned it a few time on mailing list, but people does not look
      at it before you do not show the final result. I hope this library 
      will be helpful for many, and test code will show both basic 
      (every day required) and fancy things you can do with Cairo.
2009-11-30 19:33:57 +00:00