View | Details | Raw Unified | Return to bug 173693 | Differences between
and this patch

Collapse All | Expand All

(-)src/org/eclipse/draw2d/SWTGraphics.java (+49 lines)
Lines 395-400 Link Here
395
}
395
}
396
396
397
/**
397
/**
398
 * This method requires advanced graphics support. A check should be made to
399
 * ensure advanced graphics is supported in the user's environment before
400
 * calling this method. See {@link GC#getAdvanced()}.
401
 * 
398
 * @see Graphics#drawPath(Path)
402
 * @see Graphics#drawPath(Path)
399
 */
403
 */
400
public void drawPath(Path path) {
404
public void drawPath(Path path) {
Lines 520-525 Link Here
520
}
524
}
521
525
522
/**
526
/**
527
 * This method requires advanced graphics support. A check should be made to
528
 * ensure advanced graphics is supported in the user's environment before
529
 * calling this method. See {@link GC#getAdvanced()}.
530
 * 
523
 * @see Graphics#fillPath(Path)
531
 * @see Graphics#fillPath(Path)
524
 */
532
 */
525
public void fillPath(Path path) {
533
public void fillPath(Path path) {
Lines 851-856 Link Here
851
}
859
}
852
860
853
/**
861
/**
862
 * This method requires advanced graphics support. A check should be made to
863
 * ensure advanced graphics is supported in the user's environment before
864
 * calling this method. See {@link GC#getAdvanced()}.
865
 * 
854
 * @see Graphics#rotate(float)
866
 * @see Graphics#rotate(float)
855
 */
867
 */
856
public void rotate(float degrees) {
868
public void rotate(float degrees) {
Lines 873-878 Link Here
873
}
885
}
874
886
875
/**
887
/**
888
 * This method requires advanced graphics support. A check should be made to
889
 * ensure advanced graphics is supported in the user's environment before
890
 * calling this method. See {@link GC#getAdvanced()}.
891
 * 
876
 * @see org.eclipse.draw2d.Graphics#scale(float, float)
892
 * @see org.eclipse.draw2d.Graphics#scale(float, float)
877
 */
893
 */
878
public void scale(float horizontal, float vertical) {
894
public void scale(float horizontal, float vertical) {
Lines 904-909 Link Here
904
}
920
}
905
921
906
/**
922
/**
923
 * This method requires advanced graphics support. A check should be made to
924
 * ensure advanced graphics is supported in the user's environment before
925
 * calling this method. See {@link GC#getAdvanced()}.
926
 * 
907
 * @see Graphics#setAlpha(int)
927
 * @see Graphics#setAlpha(int)
908
 */
928
 */
909
public void setAlpha(int alpha) {
929
public void setAlpha(int alpha) {
Lines 913-918 Link Here
913
}
933
}
914
934
915
/**
935
/**
936
 * This method requires advanced graphics support. A check should be made to
937
 * ensure advanced graphics is supported in the user's environment before
938
 * calling this method. See {@link GC#getAdvanced()}.
939
 * 
916
 * @see Graphics#setAntialias(int)
940
 * @see Graphics#setAntialias(int)
917
 */
941
 */
918
public void setAntialias(int value) {
942
public void setAntialias(int value) {
Lines 947-952 Link Here
947
}
971
}
948
972
949
/**
973
/**
974
 * This method requires advanced graphics support. A check should be made to
975
 * ensure advanced graphics is supported in the user's environment before
976
 * calling this method. See {@link GC#getAdvanced()}.
977
 * 
950
 * @see Graphics#setClip(Path)
978
 * @see Graphics#setClip(Path)
951
 */
979
 */
952
public void setClip(Path path) {
980
public void setClip(Path path) {
Lines 1008-1013 Link Here
1008
}
1036
}
1009
1037
1010
/**
1038
/**
1039
 * This method requires advanced graphics support. A check should be made to
1040
 * ensure advanced graphics is supported in the user's environment before
1041
 * calling this method. See {@link GC#getAdvanced()}.
1042
 * 
1011
 * @see Graphics#setInterpolation(int)
1043
 * @see Graphics#setInterpolation(int)
1012
 */
1044
 */
1013
public void setInterpolation(int interpolation) {
1045
public void setInterpolation(int interpolation) {
Lines 1069-1074 Link Here
1069
}
1101
}
1070
1102
1071
/**
1103
/**
1104
 * This method requires advanced graphics support. A check should be made to
1105
 * ensure advanced graphics is supported in the user's environment before
1106
 * calling this method. See {@link GC#getAdvanced()}.
1107
 * 
1072
 * @see Graphics#setTextAntialias(int)
1108
 * @see Graphics#setTextAntialias(int)
1073
 */
1109
 */
1074
public void setTextAntialias(int value) {
1110
public void setTextAntialias(int value) {
Lines 1086-1091 Link Here
1086
}
1122
}
1087
1123
1088
/**
1124
/**
1125
 * This method requires advanced graphics support. A check should be made to
1126
 * ensure advanced graphics is supported in the user's environment before
1127
 * calling this method. See {@link GC#getAdvanced()}.
1128
 * 
1089
 * @see Graphics#shear(float, float)
1129
 * @see Graphics#shear(float, float)
1090
 */
1130
 */
1091
public void shear(float horz, float vert) {
1131
public void shear(float horz, float vert) {
Lines 1109-1114 Link Here
1109
}
1149
}
1110
1150
1111
/**
1151
/**
1152
 * This method may require advanced graphics support if using a transform,
1153
 * in this case, a check should be made to ensure advanced graphics is
1154
 * supported in the user's environment before calling this method. See
1155
 * {@link GC#getAdvanced()}.
1156
 * 
1112
 * @see Graphics#translate(int, int)
1157
 * @see Graphics#translate(int, int)
1113
 */
1158
 */
1114
public void translate(int dx, int dy) {
1159
public void translate(int dx, int dy) {
Lines 1130-1135 Link Here
1130
}
1175
}
1131
1176
1132
/**
1177
/**
1178
 * This method requires advanced graphics support. A check should be made to
1179
 * ensure advanced graphics is supported in the user's environment before
1180
 * calling this method. See {@link GC#getAdvanced()}.
1181
 * 
1133
 * @see Graphics#translate(float, float)
1182
 * @see Graphics#translate(float, float)
1134
 */
1183
 */
1135
public void translate(float dx, float dy) {
1184
public void translate(float dx, float dy) {

Return to bug 173693