[Gambas-user] Image smoothing

Fabien Bodard gambas.fr at ...626...
Tue Jul 12 15:43:44 CEST 2016


Yes Paint.Antialias = False

or Draw.Antialias = False

http://gambaswiki.org/wiki/comp/gb.qt4/paint/antialias

2016-07-09 10:41 GMT+02:00 juan duque <ilustrisimo.sr.duque at ...626...>:
> Obviously my English is somewhat lacking. Apologies.
>
> I think this is not a bug but rather a design with some shortcomings.
>
> Smoothing (or interpolation) of an image is often convenient but not
> desirable in all cases.
> Attached a sample program (this would be a magnifying glass).
>
> Is there any way of disable smoothing in the image/paint/draw component?
>
> Regards
>
> [Component]
> gb.gui
>
> [System]
> Gambas=3.8.4
> OperatingSystem=Linux
> Kernel=4.6.0-1-amd64
> Architecture=x86_64
> Distribution=debian stretch/sid
> Desktop=KDE5
> Theme=Breeze
> Language=es_ES.UTF-8
> Memory=2003M
>
> [Libraries]
> Cairo=libcairo.so.2.11400.6
> DBus=libdbus-1.so.3.14.6
> GStreamer=libgstreamer-1.0.so.0.802.0
> GTK+2=libgtk-x11-2.0.so.0.2400.30
> GTK+3=libgtk-3.so.0.2000.6
> OpenGL=libGL.so.1.2.0
> Poppler=libpoppler.so.61.0.0
> QT4=libQtCore.so.4.8.7
> QT5=libQt5Core.so.5.6.1
> SDL=libSDL-1.2.so.0.11.4
>
> [Environment]
> DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-FCrJu0dWI4,guid=17adfd9a793c7c66824227df5780a4fe
> DESKTOP_SESSION=/usr/share/xsessions/plasma
> DISPLAY=:0
> GB_GUI=gb.qt5
> GS_LIB=<home>/.fonts
> GTK2_RC_FILES=/etc/gtk-2.0/gtkrc:<home>/.gtkrc-2.0:<home>/.config/gtkrc-2.0
> GTK_RC_FILES=/etc/gtk/gtkrc:<home>/.gtkrc:<home>/.config/gtkrc
> HOME=<home>
> KDE_FULL_SESSION=true
> KDE_MULTIHEAD=false
> KDE_SESSION_UID=1000
> KDE_SESSION_VERSION=5
> LANG=es_ES.UTF-8
> LANGUAGE=es
> LOGNAME=<user>
> MATHEMATICA_HOME=/media/rescue/local/Wolfram/Mathematica/9.0
> PAM_KWALLET5_LOGIN=/tmp/kwallet5_<user>.socket
> PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
> PWD=<home>
> QT_ACCESSIBILITY=1
> QT_LINUX_ACCESSIBILITY_ALWAYS_ON=1
> QT_NO_GLIB=1
> SESSION_MANAGER=local/<hostname>:@/tmp/.ICE-unix/2966,unix/<hostname>:/tmp/.ICE-unix/2966
> SHELL=/bin/bash
> SHLVL=0
> SSH_AGENT_PID=2905
> SSH_AUTH_SOCK=/tmp/ssh-h8t4f8SuNyh2/agent.2851
> TZ=:/etc/localtime
> USER=<user>
> XAUTHORITY=/tmp/xauth-1000-_0
> XCURSOR_SIZE=0
> XCURSOR_THEME=breeze_cursors
> XDG_CURRENT_DESKTOP=KDE
> XDG_DATA_DIRS=/usr/share:/usr/share:/usr/local/share
> XDG_RUNTIME_DIR=/run/user/1000
> XDG_SEAT=seat0
> XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0
> XDG_SESSION_CLASS=user
> XDG_SESSION_DESKTOP=KDE
> XDG_SESSION_ID=4
> XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session1
> XDG_SESSION_TYPE=x11
> XDG_VTNR=7
>
> ------------------------------------------------------------------------------
> Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
> Francisco, CA to explore cutting-edge tech and listen to tech luminaries
> present their vision of the future. This family event has something for
> everyone, including kids. Get more information and register today.
> http://sdm.link/attshape
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>



-- 
Fabien Bodard




More information about the User mailing list