Xcos: block visualization improvements 17/1217/4
authorClément DAVID <clement.david@scilab.org>
Thu, 1 Jul 2010 15:34:37 +0000 (17:34 +0200)
committerYann Collette <yann.collette@scilab.org>
Fri, 2 Jul 2010 12:28:05 +0000 (14:28 +0200)
commit8b347472169896ae0c013fe827cbb6b6e37c061f
treefc731d9dc314ce2807afdae682f6fe35f5be5a3f
parent575945b9e76f9a7e9d3ea570316c0ea77a9c7fd4
Xcos: block visualization improvements
Use the <svg> width and height elements to get the real block image size.
Update PROD_f and SUM_f icons and use more advanced strategy to display label.
Remove theirs block images and choose an ellipse shape for them.
Also update the CLKSOMV block which has the SUM_f.svg icon.

Change-Id: I44a4076a1967570dd90c5621893e10c10233bce6
203 files changed:
scilab/modules/graph/src/java/org/scilab/modules/graph/ScilabCanvas.java
scilab/modules/graph/src/java/org/scilab/modules/graph/utils/ScilabGraphUtils.java
scilab/modules/xcos/Makefile.am
scilab/modules/xcos/Makefile.in
scilab/modules/xcos/etc/Xcos-style.xml
scilab/modules/xcos/images/blocks/PRODUCT.svg
scilab/modules/xcos/images/blocks/PROD_f.svg [deleted file]
scilab/modules/xcos/images/blocks/SUM.svg
scilab/modules/xcos/images/blocks/SUM_f.svg [deleted file]
scilab/modules/xcos/images/palettes/ABS_VALUE.png
scilab/modules/xcos/images/palettes/AFFICH_m.png
scilab/modules/xcos/images/palettes/ANDBLK.png
scilab/modules/xcos/images/palettes/ANDLOG_f.png
scilab/modules/xcos/images/palettes/AUTOMAT.png
scilab/modules/xcos/images/palettes/BACKLASH.png
scilab/modules/xcos/images/palettes/BIGSOM_f.png
scilab/modules/xcos/images/palettes/BITCLEAR.png
scilab/modules/xcos/images/palettes/BITSET.png
scilab/modules/xcos/images/palettes/BOUNCE.png
scilab/modules/xcos/images/palettes/BOUNCEXY.png
scilab/modules/xcos/images/palettes/BPLATFORM.png
scilab/modules/xcos/images/palettes/Bache.png
scilab/modules/xcos/images/palettes/CANIMXY.png
scilab/modules/xcos/images/palettes/CANIMXY3D.png
scilab/modules/xcos/images/palettes/CBLOCK.png
scilab/modules/xcos/images/palettes/CCS.png
scilab/modules/xcos/images/palettes/CEVENTSCOPE.png
scilab/modules/xcos/images/palettes/CFSCOPE.png
scilab/modules/xcos/images/palettes/CLINDUMMY_f.png
scilab/modules/xcos/images/palettes/CLKSOMV_f.png
scilab/modules/xcos/images/palettes/CLOCK_c.png
scilab/modules/xcos/images/palettes/CLR.png
scilab/modules/xcos/images/palettes/CLSS.png
scilab/modules/xcos/images/palettes/CMAT3D.png
scilab/modules/xcos/images/palettes/CMATVIEW.png
scilab/modules/xcos/images/palettes/CMSCOPE.png
scilab/modules/xcos/images/palettes/CONSTRAINT_f.png
scilab/modules/xcos/images/palettes/CONST_m.png
scilab/modules/xcos/images/palettes/CONVERT.png
scilab/modules/xcos/images/palettes/COSBLK_f.png
scilab/modules/xcos/images/palettes/CSCOPE.png
scilab/modules/xcos/images/palettes/CSCOPXY.png
scilab/modules/xcos/images/palettes/CSCOPXY3D.png
scilab/modules/xcos/images/palettes/CUMSUM.png
scilab/modules/xcos/images/palettes/CURV_f.png
scilab/modules/xcos/images/palettes/CVS.png
scilab/modules/xcos/images/palettes/Capacitor.png
scilab/modules/xcos/images/palettes/ConstantVoltage.png
scilab/modules/xcos/images/palettes/Counter.png
scilab/modules/xcos/images/palettes/CurrentSensor.png
scilab/modules/xcos/images/palettes/DEADBAND.png
scilab/modules/xcos/images/palettes/DEBUG_SCICOS.png
scilab/modules/xcos/images/palettes/DELAYV_f.png
scilab/modules/xcos/images/palettes/DELAY_f.png
scilab/modules/xcos/images/palettes/DEMUX.png
scilab/modules/xcos/images/palettes/DERIV.png
scilab/modules/xcos/images/palettes/DFLIPFLOP.png
scilab/modules/xcos/images/palettes/DIFF_f.png
scilab/modules/xcos/images/palettes/DLATCH.png
scilab/modules/xcos/images/palettes/DLR.png
scilab/modules/xcos/images/palettes/DLRADAPT_f.png
scilab/modules/xcos/images/palettes/DLSS.png
scilab/modules/xcos/images/palettes/DOLLAR_f.png
scilab/modules/xcos/images/palettes/Diode.png
scilab/modules/xcos/images/palettes/EDGE_TRIGGER.png
scilab/modules/xcos/images/palettes/ENDBLK.png
scilab/modules/xcos/images/palettes/END_c.png
scilab/modules/xcos/images/palettes/ESELECT_f.png
scilab/modules/xcos/images/palettes/EVTDLY_c.png
scilab/modules/xcos/images/palettes/EVTGEN_f.png
scilab/modules/xcos/images/palettes/EVTVARDLY.png
scilab/modules/xcos/images/palettes/EXPBLK_m.png
scilab/modules/xcos/images/palettes/EXPRESSION.png
scilab/modules/xcos/images/palettes/EXTRACT.png
scilab/modules/xcos/images/palettes/EXTRACTBITS.png
scilab/modules/xcos/images/palettes/EXTRACTOR.png
scilab/modules/xcos/images/palettes/EXTTRI.png
scilab/modules/xcos/images/palettes/Extract_Activation.png
scilab/modules/xcos/images/palettes/FROMWSB.png
scilab/modules/xcos/images/palettes/GENERAL_f.png
scilab/modules/xcos/images/palettes/GENSIN_f.png
scilab/modules/xcos/images/palettes/GENSQR_f.png
scilab/modules/xcos/images/palettes/GotoTagVisibility.png
scilab/modules/xcos/images/palettes/Ground.png
scilab/modules/xcos/images/palettes/Gyrator.png
scilab/modules/xcos/images/palettes/HALT_f.png
scilab/modules/xcos/images/palettes/HYSTHERESIS.png
scilab/modules/xcos/images/palettes/IFTHEL_f.png
scilab/modules/xcos/images/palettes/INTEGRAL_f.png
scilab/modules/xcos/images/palettes/INTEGRAL_m.png
scilab/modules/xcos/images/palettes/INTMUL.png
scilab/modules/xcos/images/palettes/INTRP2BLK_f.png
scilab/modules/xcos/images/palettes/INTRPLBLK_f.png
scilab/modules/xcos/images/palettes/INVBLK.png
scilab/modules/xcos/images/palettes/ISELECT_m.png
scilab/modules/xcos/images/palettes/IdealTransformer.png
scilab/modules/xcos/images/palettes/Inductor.png
scilab/modules/xcos/images/palettes/JKFLIPFLOP.png
scilab/modules/xcos/images/palettes/LOGBLK_f.png
scilab/modules/xcos/images/palettes/LOGIC.png
scilab/modules/xcos/images/palettes/LOGICAL_OP.png
scilab/modules/xcos/images/palettes/LOOKUP_f.png
scilab/modules/xcos/images/palettes/MATBKSL.png
scilab/modules/xcos/images/palettes/MATCATH.png
scilab/modules/xcos/images/palettes/MATCATV.png
scilab/modules/xcos/images/palettes/MATDET.png
scilab/modules/xcos/images/palettes/MATDIAG.png
scilab/modules/xcos/images/palettes/MATDIV.png
scilab/modules/xcos/images/palettes/MATEIG.png
scilab/modules/xcos/images/palettes/MATEXPM.png
scilab/modules/xcos/images/palettes/MATINV.png
scilab/modules/xcos/images/palettes/MATLU.png
scilab/modules/xcos/images/palettes/MATMAGPHI.png
scilab/modules/xcos/images/palettes/MATMUL.png
scilab/modules/xcos/images/palettes/MATPINV.png
scilab/modules/xcos/images/palettes/MATRESH.png
scilab/modules/xcos/images/palettes/MATSING.png
scilab/modules/xcos/images/palettes/MATSUM.png
scilab/modules/xcos/images/palettes/MATTRAN.png
scilab/modules/xcos/images/palettes/MATZCONJ.png
scilab/modules/xcos/images/palettes/MATZREIM.png
scilab/modules/xcos/images/palettes/MAXMIN.png
scilab/modules/xcos/images/palettes/MAX_f.png
scilab/modules/xcos/images/palettes/MBLOCK.png
scilab/modules/xcos/images/palettes/MCLOCK_f.png
scilab/modules/xcos/images/palettes/MFCLCK_f.png
scilab/modules/xcos/images/palettes/MIN_f.png
scilab/modules/xcos/images/palettes/MUX.png
scilab/modules/xcos/images/palettes/M_SWITCH.png
scilab/modules/xcos/images/palettes/M_freq.png
scilab/modules/xcos/images/palettes/Modulo_Count.png
scilab/modules/xcos/images/palettes/NEGTOPOS_f.png
scilab/modules/xcos/images/palettes/NMOS.png
scilab/modules/xcos/images/palettes/NPN.png
scilab/modules/xcos/images/palettes/NRMSOM_f.png
scilab/modules/xcos/images/palettes/PDE.png
scilab/modules/xcos/images/palettes/PID.png
scilab/modules/xcos/images/palettes/PMOS.png
scilab/modules/xcos/images/palettes/PNP.png
scilab/modules/xcos/images/palettes/POSTONEG_f.png
scilab/modules/xcos/images/palettes/POWBLK_f.png
scilab/modules/xcos/images/palettes/PRODUCT.png
scilab/modules/xcos/images/palettes/PROD_f.png
scilab/modules/xcos/images/palettes/PerteDP.png
scilab/modules/xcos/images/palettes/PotentialSensor.png
scilab/modules/xcos/images/palettes/PuitsP.png
scilab/modules/xcos/images/palettes/QUANT_f.png
scilab/modules/xcos/images/palettes/RAMP.png
scilab/modules/xcos/images/palettes/RAND_m.png
scilab/modules/xcos/images/palettes/RATELIMITER.png
scilab/modules/xcos/images/palettes/READAU_f.png
scilab/modules/xcos/images/palettes/READC_f.png
scilab/modules/xcos/images/palettes/REGISTER.png
scilab/modules/xcos/images/palettes/RELATIONALOP.png
scilab/modules/xcos/images/palettes/RELAY_f.png
scilab/modules/xcos/images/palettes/RFILE_f.png
scilab/modules/xcos/images/palettes/RICC.png
scilab/modules/xcos/images/palettes/ROOTCOEF.png
scilab/modules/xcos/images/palettes/Resistor.png
scilab/modules/xcos/images/palettes/SAMPHOLD_m.png
scilab/modules/xcos/images/palettes/SATURATION.png
scilab/modules/xcos/images/palettes/SAWTOOTH_f.png
scilab/modules/xcos/images/palettes/SELECT_m.png
scilab/modules/xcos/images/palettes/SHIFT.png
scilab/modules/xcos/images/palettes/SIGNUM.png
scilab/modules/xcos/images/palettes/SINBLK_f.png
scilab/modules/xcos/images/palettes/SQRT.png
scilab/modules/xcos/images/palettes/SRFLIPFLOP.png
scilab/modules/xcos/images/palettes/STEP_FUNCTION.png
scilab/modules/xcos/images/palettes/SUBMAT.png
scilab/modules/xcos/images/palettes/SUMMATION.png
scilab/modules/xcos/images/palettes/SUM_f.png
scilab/modules/xcos/images/palettes/SUPER_f.png
scilab/modules/xcos/images/palettes/SWITCH2_m.png
scilab/modules/xcos/images/palettes/SWITCH_f.png
scilab/modules/xcos/images/palettes/SampleCLK.png
scilab/modules/xcos/images/palettes/Sigbuilder.png
scilab/modules/xcos/images/palettes/SourceP.png
scilab/modules/xcos/images/palettes/Switch.png
scilab/modules/xcos/images/palettes/TANBLK_f.png
scilab/modules/xcos/images/palettes/TCLSS.png
scilab/modules/xcos/images/palettes/TIME_DELAY.png
scilab/modules/xcos/images/palettes/TIME_f.png
scilab/modules/xcos/images/palettes/TKSCALE.png
scilab/modules/xcos/images/palettes/TOWS_c.png
scilab/modules/xcos/images/palettes/TRASH_f.png
scilab/modules/xcos/images/palettes/TrigFun.png
scilab/modules/xcos/images/palettes/VARIABLE_DELAY.png
scilab/modules/xcos/images/palettes/VanneReglante.png
scilab/modules/xcos/images/palettes/VariableResistor.png
scilab/modules/xcos/images/palettes/VoltageSensor.png
scilab/modules/xcos/images/palettes/WFILE_f.png
scilab/modules/xcos/images/palettes/WRITEAU_f.png
scilab/modules/xcos/images/palettes/WRITEC_f.png
scilab/modules/xcos/images/palettes/ZCROSS_f.png
scilab/modules/xcos/images/palettes/c_block.png
scilab/modules/xcos/images/palettes/fortran_block.png
scilab/modules/xcos/images/palettes/freq_div.png
scilab/modules/xcos/images/palettes/generic_block3.png
scilab/modules/xcos/images/palettes/scifunc_block_m.png
scilab/modules/xcos/src/java/org/scilab/modules/xcos/block/listener/ProdPortLabelingListener.java
scilab/modules/xcos/src/java/org/scilab/modules/xcos/block/listener/SumPortLabelingListener.java
scilab/modules/xcos/src/java/org/scilab/modules/xcos/block/positionning/RoundBlock.java